Changeset 15352


Ignore:
Timestamp:
2009-04-23T16:55:02+02:00 (9 years ago)
Author:
nbd
Message:

emit proper error messages if important kernel config files are missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r15249 r15352  
    120120  LINUX_SUBCONFIG:= 
    121121endif 
    122 LINUX_CONFCMD=$(if $(LINUX_CONFIG),$(SCRIPT_DIR)/kconfig.pl + $(GENERIC_LINUX_CONFIG) $(if $(LINUX_SUBCONFIG),+ $(LINUX_CONFIG) $(LINUX_SUBCONFIG),$(LINUX_CONFIG)),true) 
     122LINUX_CONFCMD=$(if $(LINUX_CONFIG), \ 
     123        $(if $(GENERIC_LINUX_CONFIG),,$(error The generic kernel config for your kernel version is mising)) \ 
     124        $(if $(LINUX_CONFIG),,$(error The target kernel config for your kernel version is mising)) \ 
     125        $(SCRIPT_DIR)/kconfig.pl \ 
     126                + $(GENERIC_LINUX_CONFIG) \ 
     127                $(if $(LINUX_SUBCONFIG),+ $(LINUX_CONFIG) $(LINUX_SUBCONFIG),$(LINUX_CONFIG)), \ 
     128        true) 
    123129 
    124130ifeq ($(DUMP),1) 
Note: See TracChangeset for help on using the changeset viewer.