lkml.org 
[lkml]   [2011]   [Sep]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Kbuild: allow code re-use across different directories
On Thu, 8 Sep 2011, Arnaud Lacombe wrote:

> you missed:
>
> # Make sure files are removed during clean
> -extra-y += piggy.gzip piggy.lzo piggy.lzma lib1funcs.S
> +extra-y += piggy.gzip piggy.lzo piggy.lzma
>
> This confused make.

Well... that was suttle.

So yes, your patch may certainly be useful to a couple cases, and it
works fine for this lib1func.S.

It doesn't help me much in the following situation though. What I
actually want to achieve is to compile arch/arm/boot/compressed/fdt_rw.o
from scripts/dtc/libfdt/fdt_rw.c, however I want it to include my local
version of libfdt_env.h rather than scripts/dtc/libfdt/libfdt_env.h. I
still haven't found a way to convince gcc to do that.


Nicolas


\
 
 \ /
  Last update: 2011-09-09 01:37    [W:0.073 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site