firmware: Restore support for built-in firmware
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Sat, 16 Sep 2017 09:01:16 +0000 (11:01 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
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 <markus@trippelsdorf.de>
Acked-by: Greg K-H <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Makefile
drivers/base/Kconfig
firmware/.gitignore [new file with mode: 0644]
firmware/Makefile [new file with mode: 0644]