lkml.org 
[lkml]   [2011]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Kbuild: allow code re-use across different directories
From
On Wed, Sep 28, 2011 at 5:42 PM, Michal Marek <mmarek@suse.cz> wrote:
> On Wed, Sep 14, 2011 at 12:24:14AM -0400, Arnaud Lacombe wrote:
>> Modify Kbuild to allow direct code re-use in multiple directory
>> without having to go through a copy. Technically, Kbuild would use by
>> default the VPATH feature
>
> I now found that the patch breaks headers_install and firmware_install
> when using O=
>
d'oh, I knew I forgot something! I'll have a look later on.

Thanks,
- Arnaud

> $ mkdir build
> $ make O=build defconfig
> ...
> $ make O=build headers_install
>  CHK     include/linux/version.h
>  UPD     include/linux/version.h
>  HOSTCC  scripts/unifdef
> make[3]: *** No rule to make target `scripts/headers_install.pl', needed by `/labs/mmarek/linux-2.6/build/usr/include/asm-generic/.install'.  Stop.
> make[2]: *** [asm-generic] Error 2
> make[1]: *** [headers_install] Error 2
> make: *** [sub-make] Error 2
> $ make O=build firmware_install
>  GEN     /labs/mmarek/linux-2.6/build/Makefile
> scripts/kconfig/conf --silentoldconfig Kconfig
> make[2]: *** No rule to make target `firmware/e100/d101m_ucode.bin', needed by `/lib/firmware/e100/d101m_ucode.bin'.  Stop.
> make[1]: *** [firmware_install] Error 2
> make: *** [sub-make] Error 2
>
> Michal
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-09-29 00:23    [W:0.036 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site