PRSDK-2098: Fix omapl13x example compilation
authorJustin Sobota <jsobota@ti.com>
Wed, 15 Mar 2017 19:01:08 +0000 (15:01 -0400)
committerJustin Sobota <jsobota@ti.com>
Wed, 15 Mar 2017 19:01:08 +0000 (15:01 -0400)
Signed-off-by: Justin Sobota <jsobota@ti.com>
makerules/platform.mk
makerules/rules_arm9.mk

index 705cbb0ee883173454588ec6dff1ddf318bd4820..247d99f7f7425ac2f8084fb9a9befab345560881 100755 (executable)
@@ -189,6 +189,12 @@ ifeq ($(PLATFORM),omapl138-evm)
  PLATFORM_XDC = "ti.platforms.evmOMAPL138"
 endif
 
+# omapl137 (Freon) EVM
+ifeq ($(PLATFORM),omapl137-evm)
+ SOC = omapl137
+ PLATFORM_XDC = "ti.platforms.evmOMAPL137"
+endif
+
 # c6748 (Freon) EVM
 ifeq ($(PLATFORM),c6748-evm)
  SOC = omapl138
index 48404f9baa9065095167ee9805f3e1fb133d5b63..c09a438a8085d27615031807f3878ba88875b118 100755 (executable)
@@ -168,7 +168,7 @@ $(BINDIR)/$(APP_NAME)_$(CORE)_$(PROFILE_$(CORE)).$(EXEEXT) : $(OBJ_PATHS) $(LIB_
 \r
 # XDC specific - assemble XDC-Configuro command\r
 CONFIGURO_CMD = $(xdc_PATH)/xs xdc.tools.configuro --generationOnly -o $(CONFIGURO_DIR) -t $(TARGET_XDC) -p $(PLATFORM_XDC) \\r
-               -r whole_program -c $(CODEGEN_PATH_ARM9) -b $(CONFIG_BLD_XDC_$(ISA)) $(XDC_CFG_FILE_NAME)\r
+               -r $(PROFILE_$(CORE)) -c $(CODEGEN_PATH_ARM9) -b $(CONFIG_BLD_XDC_$(ISA)) $(XDC_CFG_FILE_NAME)\r
 _XDC_GREP_STRING = \"$(XDC_GREP_STRING)\"\r
 EGREP_CMD = $(EGREP) -ivw $(XDC_GREP_STRING) $(XDCLNKCMD_FILE)\r
 \r