diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-04-23 14:55:02 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-04-23 14:55:02 +0000 |
commit | 9ecec14ce0e40ef50e83dc48a44a3fd9e6fe9049 (patch) | |
tree | c2b8098f2fa845372a44d233e18179eb498b889c /include | |
parent | a0c097720d195f4fbb05721d26697114a3982fc4 (diff) | |
download | upstream-9ecec14ce0e40ef50e83dc48a44a3fd9e6fe9049.tar.gz upstream-9ecec14ce0e40ef50e83dc48a44a3fd9e6fe9049.tar.bz2 upstream-9ecec14ce0e40ef50e83dc48a44a3fd9e6fe9049.zip |
emit proper error messages if important kernel config files are missing
SVN-Revision: 15352
Diffstat (limited to 'include')
-rw-r--r-- | include/target.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk index 5484592def..a554386cd8 100644 --- a/include/target.mk +++ b/include/target.mk @@ -119,7 +119,13 @@ LINUX_SUBCONFIG?=$(firstword $(wildcard $(PLATFORM_SUBDIR)/config-$(KERNEL_PATCH ifeq ($(LINUX_CONFIG),$(LINUX_SUBCONFIG)) LINUX_SUBCONFIG:= endif -LINUX_CONFCMD=$(if $(LINUX_CONFIG),$(SCRIPT_DIR)/kconfig.pl + $(GENERIC_LINUX_CONFIG) $(if $(LINUX_SUBCONFIG),+ $(LINUX_CONFIG) $(LINUX_SUBCONFIG),$(LINUX_CONFIG)),true) +LINUX_CONFCMD=$(if $(LINUX_CONFIG), \ + $(if $(GENERIC_LINUX_CONFIG),,$(error The generic kernel config for your kernel version is mising)) \ + $(if $(LINUX_CONFIG),,$(error The target kernel config for your kernel version is mising)) \ + $(SCRIPT_DIR)/kconfig.pl \ + + $(GENERIC_LINUX_CONFIG) \ + $(if $(LINUX_SUBCONFIG),+ $(LINUX_CONFIG) $(LINUX_SUBCONFIG),$(LINUX_CONFIG)), \ + true) ifeq ($(DUMP),1) BuildTarget=$(BuildTargets/DumpCurrent) |