diff options
Diffstat (limited to 'firmware/Makefile')
-rw-r--r-- | firmware/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index e69461f9362b..cc25f5600d5d 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -9,6 +9,11 @@ fwabs := $(addprefix $(srctree)/,$(filter-out /%,$(fwdir)))$(filter /%,$(fwdir)) | |||
9 | 9 | ||
10 | fw-external-y := $(subst ",,$(CONFIG_EXTRA_FIRMWARE)) | 10 | fw-external-y := $(subst ",,$(CONFIG_EXTRA_FIRMWARE)) |
11 | 11 | ||
12 | # If CONFIG_FIRMWARE_IN_KERNEL is not set, then don't include any firmware | ||
13 | ifneq ($(CONFIG_FIRMWARE_IN_KERNEL),y) | ||
14 | fw-shipped-y := | ||
15 | endif | ||
16 | |||
12 | firmware-y := $(fw-external-y) $(fw-shipped-y) | 17 | firmware-y := $(fw-external-y) $(fw-shipped-y) |
13 | firmware-dirs := $(sort $(patsubst %,$(objtree)/$(obj)/%/,$(dir $(firmware-y) $(fw-shipped-)))) | 18 | firmware-dirs := $(sort $(patsubst %,$(objtree)/$(obj)/%/,$(dir $(firmware-y) $(fw-shipped-)))) |
14 | 19 | ||