BugID:18999438:developerkit board add the diff ota for linkkitapp and otaapp
@@ -133,6 +133,14 @@ else
#if AOS_DEVELOPERKIT_ENABLE_OTA := 0, it will disable OTA function
#AOS_DEVELOPERKIT_ENABLE_OTA :=1
+ifneq ($(otaapp_SUMMARY),)
+AOS_DEVELOPERKIT_ENABLE_OTA := 1
+endif
+
+ifneq ($(linkkitapp_SUMMARY),)
+AOS_DEVELOPERKIT_ENABLE_OTA := 1
+endif
+
ifeq ($(AOS_DEVELOPERKIT_ENABLE_OTA),1)
GLOBAL_LDFLAGS += -T board/developerkit/STM32L496VGTx_FLASH_OTA.ld
GLOBAL_DEFINES += VECT_TAB_OFFSET=0x9000
