From beca53b79fd595da46da779a20464c333d63e3a0 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 5 Jun 2018 10:10:34 +0200 Subject: wip --- ota-test/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ota-test/Makefile') 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 > $@ -- cgit v1.2.3