From 52765116ccd66f63d132dc8fa50d367bd0f3cb0f Mon Sep 17 00:00:00 2001 From: Keun young Park Date: Wed, 1 Aug 2012 14:14:34 -0700 Subject: choose generic one if there is no board specific configuration - fix PDK mini builds Change-Id: Ic5cd4975210f70d028938b1f306ea38de27191a4 --- include/buildcfg.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/buildcfg.mk b/include/buildcfg.mk index 1623c95..7d1562e 100644 --- a/include/buildcfg.mk +++ b/include/buildcfg.mk @@ -1,6 +1,10 @@ intermediates := $(local-intermediates-dir) SRC := $(call my-dir)/$(addprefix bdroid_, $(addsuffix .txt,$(basename $(TARGET_DEVICE)))) +ifeq (,$(wildcard $(SRC))) +# configuration file does not exist. Use default one +SRC := $(call my-dir)/bdroid_generic.txt +endif GEN := $(intermediates)/buildcfg.h TOOL := $(call my-dir)/../tools/gen-buildcfg.sh -- cgit v1.1