summaryrefslogtreecommitdiff
path: root/ota-test/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-06-05 10:10:34 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2018-06-05 10:10:34 +0200
commitbeca53b79fd595da46da779a20464c333d63e3a0 (patch)
tree5ca2567d571711773f2036221259eff30db85e3e /ota-test/Makefile
parentfadeb06d74c3d739dc1202031e1eea1374e8917e (diff)
downloadmodern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.tar.gz
modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.tar.bz2
modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.tar.xz
modern-esp-sandbox-beca53b79fd595da46da779a20464c333d63e3a0.zip
wip
Diffstat (limited to 'ota-test/Makefile')
-rw-r--r--ota-test/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/ota-test/Makefile b/ota-test/Makefile
index 19bd536..489289e 100644
--- a/ota-test/Makefile
+++ b/ota-test/Makefile
@@ -7,4 +7,14 @@ PROJECT_NAME := ota_test
IDF_PATH=../thirdparty/ESP8266_RTOS_SDK
+ifeq ($(APP),2)
+SDKCONFIG1 = $(PWD)/sdkconfig
+SDKCONFIG2 = $(BUILD_DIR_BASE)/sdkconfig-app2
+SDKCONFIG = $(SDKCONFIG2)
+endif
+
include $(IDF_PATH)/make/project.mk
+
+$(SDKCONFIG2): $(SDKCONFIG1) sdkconfig2
+ echo "Generating sdkconfig for app 2"
+ cat $(SDKCONFIG1) sdkconfig2 > $@