[Bugme-new] [Bug 16533] New: Kernel compiling fails with make-3.82 if I use an object dir and compile firmware into the kernel

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat Aug 7 02:54:37 PDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=16533

           Summary: Kernel compiling fails with make-3.82 if I use an
                    object dir and compile firmware into the kernel
           Product: Other
           Version: 2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Other
        AssignedTo: other_other at kernel-bugs.osdl.org
        ReportedBy: b3nton at gmail.com
        Regression: No


Created an attachment (id=27370)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27370)
kernel config which shows the problem

I recently upgraded to make-3.82. It seems to have broken kernel compiling. If
I enable CONFIG_FIRMWARE_IN_KERNEL=y and compile in an object directory like
this:make-3.81 O=/tmp/linux-build-dir
then the build fails like this:

  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
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:~$ 


If I build in the kernel source with a straightforward make then the build
succeeds. If I use an object dir but disable CONFIG_FIRMWARE_IN_KERNEL then the
build succeeds. If I use make-3.81 then the build succeeds.

The combination of three things makes the build fail:
1 using an object dir
2 CONFIG_FIRMWARE_IN_KERNEL=y
3 make-3.82

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list