Skip to contentSkip to conversation

make-3.82 and built in firmware

DISCUSSION Andrew Benton 2 participants 3 messages Aug 6, 2010 Kbuild

lore
Share & tools
lore
#0 lore raw

Hello World
I recently upgraded to the latest version of make, 3.82. One of the problems I've had with it is that I can no longer recompile my kernel with built in firmware enabled. If I have CONFIG_FIRMWARE_IN_KERNEL=y
then the build fails like so:

  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o

make[2]: *** No rule to make target /tmp/linux-build-dir/firmware/radeon/', needed by firmware/radeon/R100_cp.bin.gen.S'. Stop. make[1]: *** [firmware] Error 2
make: *** [sub-make] Error 2
andy:~/save/src/linux-2.6$

Please CC, I'm not subscribed

Many thanks,

Andy

#1 lore raw
Quoted 7 lines · Andrew Benton

Hello World
I recently upgraded to the latest version of make, 3.82. One of the problems I've had with it is that I can no longer recompile my kernel with built in firmware enabled. If I have CONFIG_FIRMWARE_IN_KERNEL=y
then the build fails like so:

Quoted 7 lines
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o

make[2]: *** No rule to make target /tmp/linux-build-dir/firmware/radeon/', needed by firmware/radeon/R100_cp.bin.gen.S'. Stop. make[1]: *** [firmware] Error 2
make: *** [sub-make] Error 2
andy:~/save/src/linux-2.6$

Thanks for the report.
I saw a similar report whare make 3.82 was accused - maybe this was also from you.

Can you positively confirm that this is a make 3.82 issue - or do you just expect so?

To narrow down this a bit further can I ask you to send the output of "make -j1 V=1" - especially the lines before you see the bug.

[-j1 is to force you to avoid parallel makes
as this may clutter up the output]

Please also post a copy of your configuration as this allows us to better reproduce what you see.

Quoted 1 line

Please CC, I'm not subscribed

No problem - we always do so at lkml.

Sam

#2 lore raw
Quoted 5 lines · Sam Ravnborg

Thanks for the report.
I saw a similar report whare make 3.82 was accused - maybe this was also from you.

Can you positively confirm that this is a make 3.82 issue - or do you just expect so?

I'm certain that it relates to make-3.82. I've installed make-3.81 just so I can recompile my kernel. If I use:
make-3.81 O=/tmp/linux-build-dir -j4
then the build succeeds.

Quoted 3 lines

To narrow down this a bit further can I ask you to send the output of "make -j1 V=1" - especially the lines before you see the bug.

make -j1 V=1 O=/tmp/linux-build-dir

... snip ...

  LD      sound/usb/caiaq/built-in.o
  LD      sound/usb/misc/built-in.o
  LD      sound/usb/usx2y/built-in.o
  LD      sound/usb/built-in.o
  CC      sound/last.o
  LD      sound/built-in.o
  MK_FW   firmware/rt2561s.bin.gen.S
  AS      firmware/rt2561s.bin.gen.o

make[2]: *** No rule to make target /tmp/linux-build-dir/firmware/radeon/', needed by firmware/radeon/R700_rlc.bin.gen.S'. Stop. make[1]: *** [firmware] Error 2
make: *** [sub-make] Error 2
andy:~$

Quoted 3 lines

Please also post a copy of your configuration as this allows us to better reproduce what you see.

I've attached /proc/config.gz

Andy