|
|
Subscribe / Log in / New account

Driver porting: compiling external modules

Driver porting: compiling external modules

Posted Mar 9, 2004 18:04 UTC (Tue) by liangjz (guest, #20079)
Parent article: Driver porting: compiling external modules

I'm trying to port a 2.4 driver to 2.6 and am having trouble getting the makefile to call nasm.

In the 2.4 driver, I simply had a build rule that said

assembly_stuff.o: assembly_stuff.asm
nasm $(NASM_FLAGS) assembly_stuff.asm


I tried doing the same thing with the 2.6 driver and added

my_driver-objs := assembly_stuff.o

The problem is that the makefile insists that it needs a assembly_stuff.s, presumably to send through GAS.

How can I get around this?


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds