X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e6a68af9e901df02e28f221dcf7c7d9462a9bd02..8eb85e1628864e1ab4e77207738502466cc9d5d2:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 83d0d5e6e..408842208 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -15,8 +15,13 @@ GENERIC_LINUX_CONFIG:=$(GENERIC_PLATFORM_DIR)/config-$(shell [ -f "$(GENERIC_PLA LINUX_CONFIG_DIR ?= ./config$(shell [ -d "./config-$(KERNEL_PATCHVER)" ] && printf -- "-$(KERNEL_PATCHVER)" || true ) LINUX_CONFIG ?= $(LINUX_CONFIG_DIR)/default --include $(GENERIC_LINUX_CONFIG) --include $(LINUX_CONFIG) +ifneq ($(DUMP),) + TMP_CONFIG:=$(TMP_DIR)/.kconfig-$(BOARD)-$(KERNEL) + $(TMP_CONFIG): $(GENERIC_LINUX_CONFIG) $(LINUX_CONFIG) + $(SCRIPT_DIR)/config.pl + $^ > $@ + -include $(TMP_CONFIG) + .SILENT: $(TMP_CONFIG) +endif ifneq ($(CONFIG_ATM),) FEATURES += atm