firmware: Restore support for built-in firmware
authorMarkus Trippelsdorf <[email protected]>
Sat, 16 Sep 2017 09:01:16 +0000 (11:01 +0200)
committerLinus Torvalds <[email protected]>
Sat, 16 Sep 2017 17:58:48 +0000 (10:58 -0700)
commitdf85b2d767aad90fd2746f993fcd66dd322768f8
treec2a2ab7761d941750255218b0a08cbbec10f95ad
parent7318413077a5141a50a753b1fab687b7907eef16
firmware: Restore support for built-in firmware

Commit 5620a0d1aac ("firmware: delete in-kernel firmware") removed the
entire firmware directory.  Unfortunately it thereby also removed the
support for built-in firmware.

This restores the ability to build firmware directly into the kernel by
pruning the original Makefile to the necessary minimum.  The default for
EXTRA_FIRMWARE_DIR is now the standard directory /lib/firmware/.

Fixes: 5620a0d1aac ("firmware: delete in-kernel firmware")
Signed-off-by: Markus Trippelsdorf <[email protected]>
Acked-by: Greg K-H <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Makefile
drivers/base/Kconfig
firmware/.gitignore [new file with mode: 0644]
firmware/Makefile [new file with mode: 0644]