mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
emit proper error messages if important kernel config files are missing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15352 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
b3938f1ae2
commit
e5c7dd93ee
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user