diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/buildcfg.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 |