linux/firmware
Sam Ravnborg 8b249b6856 fix modules_install via NFS
Rafael reported:

I get the following error from 'make modules_install' on my test boxes:

  HOSTCC  firmware/ihex2fw
/home/rafael/src/linux-2.6/firmware/ihex2fw.c:268: fatal error: opening dependency file firmware/.ihex2fw.d: Read-only file system
compilation terminated.
make[3]: *** [firmware/ihex2fw] Error 1
make[2]: *** [_modinst_post] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

where the configuration is that the kernel is compiled on a build box
with 'make O=<destdir> -j5' and then <destdir> is mounted over NFS read-only by
each test box (full path to this directory is the same on the build box and on
the test boxes).  Then, I cd into <destdir>, run 'make modules_install' and get
the error above.

The issue turns out to be that we when we install firmware pick
up the list of firmware blobs from firmware/Makefile.
And this triggers the Makefile rules to update ihex2fw.

There were two solutions for this issue:
1) Move the list of firmware blobs to a separate file
2) Avoid ihex2fw rebuild by moving it to scripts

As I seriously beleive that the list of firmware blobs should be
done in a fundamental different way solution 2) was selected.

Reported-and-tested-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: David Woodhouse <dwmw2@infradead.org>
2009-01-07 21:44:20 +01:00
..
acenic firmware: convert acenic driver to request_firmware() 2009-01-04 16:10:02 -08:00
adaptec starfire: use request_firmware() 2009-01-04 16:12:11 -08:00
cpia2 cpia2: use request_firmware() 2008-07-14 14:43:28 -07:00
cxgb3 cxgb3: integrate FW and protocol engines in the kernel 2008-11-26 15:37:50 -08:00
dabusb dabusb: use request_firmware() 2008-07-14 14:44:21 -07:00
dsp56k make firmware/dsp56k/bootstrap.asm buildable on a56 2009-01-06 15:59:29 -08:00
edgeport edgeport-ti: use request_firmware() 2008-07-14 14:44:39 -07:00
emi26 emi26: use request_firmware() 2008-07-10 14:49:12 +01:00
emi62 emi62: use request_firmware() 2008-07-10 14:49:14 +01:00
ess firmware: convert maestro3 driver to use firmware loader exclusively 2008-07-10 14:47:46 +01:00
kaweth kaweth: use request_firmware() 2008-07-10 14:47:51 +01:00
keyspan keyspan: use request_firmware() 2008-07-10 14:48:49 +01:00
keyspan_pda keyspan_pda: use request_firmware() 2008-07-10 14:49:09 +01:00
korg firmware: convert korg1212 driver to use firmware loader exclusively 2008-07-10 14:47:44 +01:00
sb16 firmware: convert sb16_csp driver to use firmware loader exclusively 2008-07-14 14:45:46 -07:00
sun cassini: use request_firmware 2008-09-22 19:27:10 -07:00
tigon firmware: convert tg3 driver to request_firmware() 2009-01-04 16:11:25 -08:00
ttusb-budget ttusb-budget: use request_firmware() 2008-07-10 14:47:53 +01:00
vicam vicam: use request_firmware() 2008-07-14 14:44:32 -07:00
yamaha firmware: convert ymfpci driver to use firmware loader exclusively 2008-07-10 14:47:48 +01:00
.gitignore fix modules_install via NFS 2009-01-07 21:44:20 +01:00
atmsar11.HEX firmware: convert Ambassador ATM driver to request_firmware() 2008-07-10 14:49:39 +01:00
intelliport2.bin.ihex ip2: use request_firmware() 2008-07-10 14:49:41 +01:00
Makefile fix modules_install via NFS 2009-01-07 21:44:20 +01:00
ti_3410.fw.ihex ti_usb_3410_5052: use request_firmware() 2008-07-10 14:49:34 +01:00
ti_5052.fw.ihex ti_usb_3410_5052: use request_firmware() 2008-07-10 14:49:34 +01:00
tr_smctr.bin.ihex smctr: use request_firmware() 2008-07-10 14:47:50 +01:00
WHENCE starfire: use request_firmware() 2009-01-04 16:12:11 -08:00
whiteheat_loader_debug.HEX whiteheat: use request_firmware() 2008-07-10 14:49:38 +01:00
whiteheat_loader.HEX whiteheat: use request_firmware() 2008-07-10 14:49:38 +01:00
whiteheat.HEX whiteheat: use request_firmware() 2008-07-10 14:49:38 +01:00