Date: Wed, 12 Mar 2003 11:29:43 +0200 From: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> To: freebsd-questions@freebsd.org Subject: Using Assembler files in a kernel module. What to write to module's Makefile? Message-ID: <20030312092943.GA197@pm514-9.comsys.ntu-kpi.kiev.ua>
next in thread | raw e-mail | index | archive | help
Hello,
If I have Assembler source files in a kernel module. Where should
I place names of Assembler source files in a port's Makefile?
If I place them to Makefile's SRCS variable, then they are compiled
with "as", but that Assembler source files "#include <machine/asmacros.h>"
and "as" can't compile such Assembler sources.
Currently I specify assembler.o in OBJS and manually write target
assembler.o, which builds assembler.o with "${CC} -x assembler-with-cpp ...".
Is there standard method for compiling Assembler source files in a
kernel module?
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030312092943.GA197>
