PDK-6273: Host emulation (GCC) library in PDK release package
authorSivaraj R <sivaraj@ti.com>
Wed, 13 May 2020 08:20:33 +0000 (13:50 +0530)
committerSivaraj R <sivaraj@ti.com>
Wed, 13 May 2020 08:24:11 +0000 (13:54 +0530)
- Enable only the libraries that are needed for HOSTEMU

Signed-off-by: Sivaraj R <sivaraj@ti.com>
packages/ti/drv/ipc/ipc_component.mk
packages/ti/osal/osal_component.mk

index b1ea74fe72792d0b30bef0261ad8c0535a30362f..67808ec4ed996a9ccc6511402a21a9421e984f5d 100644 (file)
@@ -45,7 +45,7 @@ drvipc_SOCLIST         = am65xx j721e j7200
 drvipc_BOARDLIST       = am65xx_evm am65xx_idk j721e_sim j721e_qt j721e_evm j7200_evm
 drvipc_am65xx_CORELIST = mpu1_0 mcu1_0 mcu1_1
 drvipc_am65xx_LASTCORE := $(word $(words $(drvipc_am65xx_CORELIST)), $(drvipc_am65xx_CORELIST))
-drvipc_j721e_CORELIST  = mpu1_0 mcu1_0 mcu2_0 mcu3_0 mcu1_1 mcu2_1 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1 c7x-hostemu
+drvipc_j721e_CORELIST  = mpu1_0 mcu1_0 mcu2_0 mcu3_0 mcu1_1 mcu2_1 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1
 drvipc_j721e_APPCORELIST = mpu1_0 mcu1_0 mcu2_0 mcu3_0 mcu1_1 mcu2_1 mcu3_1 c66xdsp_1 c66xdsp_2 c7x_1
 drvipc_j721e_LASTCORE := $(word $(words $(drvipc_j721e_APPCORELIST)), $(drvipc_j721e_APPCORELIST))
 drvipc_j7200_CORELIST  = mpu1_0 mcu1_0 mcu2_0 mcu1_1 mcu2_1
index d844539da5480edb8f8d00ab8bfd6235547a5fe8..1ac2f4a037c47745f838aaea53faa073eb2d503a 100644 (file)
@@ -90,7 +90,7 @@ libosal_c6657_CORELIST  = c66x
 libosal_am437x_CORELIST = a9host
 libosal_am335x_CORELIST = a8host
 libosal_am65xx_CORELIST = $(DEFAULT_am65xx_CORELIST)
-libosal_j721e_CORELIST = $(DEFAULT_j721e_CORELIST) c7x-hostemu
+libosal_j721e_CORELIST = $(DEFAULT_j721e_CORELIST)
 libosal_j7200_CORELIST = $(DEFAULT_j7200_CORELIST)
 libosal_am64x_CORELIST = $(DEFAULT_am64x_CORELIST)
 libosal_tpr12_CORELIST = $(DEFAULT_tpr12_CORELIST)
@@ -143,6 +143,9 @@ osal_nonos_INCLUDE = $(osal_nonos_PATH)
 osal_nonos_SOCLIST = $(libosal_SOCLIST)
 export osal_nonos_SOCLIST
 osal_nonos_$(SOC)_CORELIST = $(libosal_$(SOC)_CORELIST)
+ifeq ($(SOC),$(filter $(SOC), j721e))
+osal_nonos_$(SOC)_CORELIST += c7x-hostemu
+endif
 export osal_nonos_$(SOC)_CORELIST
 
 # OSAL NONOS LIB DEVICE INDEPENDENT