[Cbe-oss-dev] [PATCH 1/2]MARS: fix makefile kernel lib build order

Yuji Mano yuji.mano at am.sony.com
Thu Sep 11 04:08:03 EST 2008


Geert Uytterhoeven wrote:
> On Tue, 9 Sep 2008, Yuji Mano wrote:
>> This fixes a bug in the Makefile that would build the kernel before the lib
>> which the kernel is dependent on.
>> 
>> This also makes sure the kernel links the lib in the build source and not just
>> any libmars.a it finds in the library search path.
>> 
>> Signed-off-by: Yuji Mano <yuji.mano at am.sony.com>
>> 
>> ---
>>  src/mpu/Makefile.am        |    2 +-
>>  src/mpu/kernel/Makefile.am |    3 +--
>>  2 files changed, 2 insertions(+), 3 deletions(-)
>> 
>> --- a/src/mpu/Makefile.am
>> +++ b/src/mpu/Makefile.am
>> @@ -36,7 +36,7 @@
>>  #  LIBRARY OR THE USE OR OTHER DEALINGS IN THE LIBRARY.
>>  #
>>  
>> -SUBDIRS = kernel lib
>> +SUBDIRS = lib kernel
> 
> Does this work with `make -j'? Probably you need an explicit dependency on
> `lib' for `kernel'.

I tried building with 'make -j' and it seems to build ok.

Regards,
Yuji




More information about the cbe-oss-dev mailing list