[kbuild-devel] linux includes in USER command

2002-04-10 Thread Thomas Duffy
I have a meta-compiler I build w/ the kernel using a HOSTCC. This meta-compiler parses template files and outputs c code -- this process needs to be called from a user_command block in several directories in the kernel. I need to pass in a -Ilinux_dir to the meta-compiler where linux_dir is the

Re: [kbuild-devel] linux includes in USER command

2002-04-10 Thread Thomas Duffy
On Wed, 2002-04-10 at 18:05, Keith Owens wrote: $(src_includelist /include). Note the leading '/' which will automatically expand into -I($KBUILD_SRCTREE_nnn)/include for all values of nnn. Ahhh. That's the trick. Thanks so much. Now, it is much cleaner :) -tduffy

Re: [kbuild-devel] linux includes in USER command

2002-04-10 Thread Keith Owens
On 10 Apr 2002 17:21:44 -0700, Thomas Duffy [EMAIL PROTECTED] wrote: I have a meta-compiler I build w/ the kernel using a HOSTCC. This meta-compiler parses template files and outputs c code -- this process needs to be called from a user_command block in several directories in the kernel. I