Commit 0b79c100 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Linus Torvalds

[PATCH] wanxl firware build fix

allmodconfig and allyesconfig are currently failing because they select
wanxl firmware rebuild, and that requires an m68k assembler toolchain.

Add a new generic option to the "Generic Driver Options" menu.  The option
is defaul equals y and prevents us from building firmware unless really
needed.

Firmware is usually provided in separate filer '_shipped', and there is no
need to rebuild them unless strictly required.  First user is WanXL - which
otherwise required a m68k tool-set to compile.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 914d1749
menu "Generic Driver Options" menu "Generic Driver Options"
config PREVENT_FIRMWARE_BUILD
bool "Prevent firmware from being built"
default y
help
Say yes to avoid building firmware. Firmware is usually shipped
with the driver, and only when updating the firware a rebuild
should be made.
If unsure say Y here.
config FW_LOADER config FW_LOADER
tristate "Hotplug firmware loading support" tristate "Hotplug firmware loading support"
depends on HOTPLUG depends on HOTPLUG
......
...@@ -248,7 +248,7 @@ config WANXL ...@@ -248,7 +248,7 @@ config WANXL
config WANXL_BUILD_FIRMWARE config WANXL_BUILD_FIRMWARE
bool "rebuild wanXL firmware" bool "rebuild wanXL firmware"
depends on WANXL depends on WANXL && !PREVENT_FIRMWARE_BUILD
help help
Allows you to rebuild firmware run by the QUICC processor. Allows you to rebuild firmware run by the QUICC processor.
It requires as68k, ld68k and hexdump programs. It requires as68k, ld68k and hexdump programs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment