build
Revision | 9dd53564447e9879cd86a172a1643c629db3ac3d (tree) |
---|---|
Time | 2015-05-07 10:40:24 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
kernel.mk: make the dir before creating the .config
@@ -39,7 +39,7 @@ FIRMWARE_ENABLED := $(shell grep ^CONFIG_FIRMWARE_IN_KERNEL=y $(KERNEL_CONFIG_FI | ||
39 | 39 | KERNEL_DOTCONFIG_FILE := $(KBUILD_OUTPUT)/.config |
40 | 40 | KERNEL_ARCH_CHANGED := $(if $(filter 0,$(shell grep -s ^$(if $(filter x86,$(TARGET_KERNEL_ARCH)),\#.)CONFIG_64BIT $(KERNEL_DOTCONFIG_FILE) | wc -l)),FORCE) |
41 | 41 | $(KERNEL_DOTCONFIG_FILE): $(KERNEL_CONFIG_FILE) $(wildcard $(TARGET_KERNEL_DIFFCONFIG)) $(KERNEL_ARCH_CHANGED) |
42 | - $(hide) cat $(wildcard $^) > $@ | |
42 | + $(hide) mkdir -p $(@D) && cat $(wildcard $^) > $@ | |
43 | 43 | $(mk_kernel) oldnoconfig |
44 | 44 | |
45 | 45 | # bison is needed to build kernel and external modules from source |