[U-Boot-Users] build breakage for make -jN

Kumar Gala galak at kernel.crashing.org
Mon Jan 14 05:42:56 CET 2008


On Jan 13, 2008, at 2:05 PM, Wolfgang Denk wrote:

> In message <20080113194740.C2191247C1 at gemini.denx.de> you wrote:
>> In message <8C3593F2-B970-42FA-A92B- 
>> FC9714B8A338 at kernel.crashing.org> you wrote:
>>> It looks like the following commit has broken the build a bit:
>>>
>>> ae6d1056d2c2e4d1266413c0ae8a6d5529ecde4b -     Fix Makefile
>>> dependencies issues; allow silent build
>>>
>>> make distclean ; make MPC8544DS_config ; make -j4
>>>
>>> I get:
>>>
>>> board/freescale/mpc8544ds/libmpc8544ds.a(mpc8544ds.o): In function
>>> `ft_board_setup':
>>> /local/home/galak/git/master/u-boot/board/freescale/mpc8544ds/
>>> mpc8544ds.c:514: undefined reference to `ft_cpu_setup'
>>> /local/home/galak/git/master/u-boot/board/freescale/mpc8544ds/
>>> mpc8544ds.c:516: undefined reference to `fdt_path_offset'
>> ...
>>
>> Argh... You are right.
>>
>> Hm... for some reason libfdt/fdt_ro.o does not get built...
>
> Actually  NONE  of  the  files  in  libfdt/  get  compiled,   because
> CONFIG_OF_LIBFDT is not set (yet) when this gets built. Ummm, right -
> there  are  no  dependencies  on  building  the OBJS, SUBDIRS or LIBS
> targets... Seems this is an old bug, that shows up only now... This
> patch seems to fix it - please confirm:

The patch fixes building on my box.

- k




More information about the U-Boot mailing list