[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: External module assembler output.
Jim Cromie <jcromie@xxxxxxxxxx> writes:
> jbi130@xxxxxxxxx wrote:
>
> >How can I invoke make to get a .s listing of a source file in my
> >external module directory?
> >
> >For example, from the kernel top level directory I can do a 'make
> >drivers/net/tun.s'. I'd like to do the same but for a file in my
> >external module directory.
> >
> >Thanks.
> >
> >
> >--
> >Kernelnewbies: Help each other learn about the Linux kernel.
> >Archive: http://mail.nl.linux.org/kernelnewbies/
> >FAQ: http://kernelnewbies.org/faq/
> >
> >
>
> man gcc | more +/'compilation proper'
> Unrecognized input files, not requiring compilation or
> assembly, are ignored.
I have specified a target manually to get this. I'm looking for an
easier way, so the same compile options get set when I compile the
module.. So I don't have to specify all the includes and flags that
I get by setting KBUILD_VERBOSE=1.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/