diff options
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | kernel/Makefile | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -224,6 +224,7 @@ ifeq ($(ARCH),m68knommu) | |||
224 | endif | 224 | endif |
225 | 225 | ||
226 | KCONFIG_CONFIG ?= .config | 226 | KCONFIG_CONFIG ?= .config |
227 | export KCONFIG_CONFIG | ||
227 | 228 | ||
228 | # SHELL used by kbuild | 229 | # SHELL used by kbuild |
229 | CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ | 230 | CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ |
diff --git a/kernel/Makefile b/kernel/Makefile index 0b5ff083fa22..33e0a39cf359 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -121,7 +121,7 @@ $(obj)/configs.o: $(obj)/config_data.h | |||
121 | # config_data.h contains the same information as ikconfig.h but gzipped. | 121 | # config_data.h contains the same information as ikconfig.h but gzipped. |
122 | # Info from config_data can be extracted from /proc/config* | 122 | # Info from config_data can be extracted from /proc/config* |
123 | targets += config_data.gz | 123 | targets += config_data.gz |
124 | $(obj)/config_data.gz: .config FORCE | 124 | $(obj)/config_data.gz: $(KCONFIG_CONFIG) FORCE |
125 | $(call if_changed,gzip) | 125 | $(call if_changed,gzip) |
126 | 126 | ||
127 | quiet_cmd_ikconfiggz = IKCFG $@ | 127 | quiet_cmd_ikconfiggz = IKCFG $@ |