updated the component .mk files for nimu and usb driver to generate app images
authorPotluri Krishna <x1082264@ti.com>
Thu, 14 Oct 2021 15:32:14 +0000 (21:02 +0530)
committerPotluri Krishna <x1082264@ti.com>
Thu, 14 Oct 2021 15:32:14 +0000 (21:02 +0530)
packages/ti/drv/usb/usb_component.mk
packages/ti/transport/ndk/nimu/nimu_component.mk

index f4a31e91ea186884aa4867ca7115f5b950a0c5d2..dad1ba18cb6d20bc03ba7983ef0c8b2f865f7636 100755 (executable)
@@ -239,6 +239,7 @@ USB_HostMsc_TestApp_$(1)_PKG_LIST = USB_HostMsc_TestApp_$(1)
 USB_HostMsc_TestApp_$(1)_INCLUDE = $(USB_HostMsc_TestApp_$(1)_PATH)
 export USB_HostMsc_TestApp_$(1)_BOARDLIST = $(filter $(DEFAULT_BOARDLIST_$(1)), $(drvusb_BOARDLIST))
 export USB_HostMsc_TestApp_$(1)_$(SOC)_CORELIST = $(filter $(DEFAULT_$(SOC)_CORELIST_$(1)), $(drvusb_$(SOC)_CORELIST))
+export USB_HostMsc_TestApp_$(1)_SBL_APPIMAGEGEN = yes
 ifneq ($(1),$(filter $(1), safertos))
 usb_EXAMPLE_LIST += USB_HostMsc_TestApp_$(1)
 else
@@ -267,6 +268,7 @@ USB_DevMsc_TestApp_$(1)_PKG_LIST = USB_DevMsc_TestApp_$(1)
 USB_DevMsc_TestApp_$(1)_INCLUDE = $(USB_DevMsc_TestApp_$(1)_PATH)
 export USB_DevMsc_TestApp_$(1)_BOARDLIST = $(filter $(DEFAULT_BOARDLIST_$(1)), $(drvusb_BOARDLIST))
 export USB_DevMsc_TestApp_$(1)_$(SOC)_CORELIST = $(filter $(DEFAULT_$(SOC)_CORELIST_$(1)), $(drvusb_$(SOC)_CORELIST))
+export USB_DevMsc_TestApp_$(1)_SBL_APPIMAGEGEN = yes
 ifneq ($(1),$(filter $(1), safertos))
 usb_EXAMPLE_LIST += USB_DevMsc_TestApp_$(1)
 else
@@ -295,6 +297,7 @@ USB_DevBulk_TestApp_$(1)_PKG_LIST = USB_DevBulk_TestApp_$(1)
 USB_DevBulk_TestApp_$(1)_INCLUDE = $(USB_DevBulk_TestApp_$(1)_PATH)
 export USB_DevBulk_TestApp_$(1)_BOARDLIST = $(filter $(DEFAULT_BOARDLIST_$(1)), $(drvusb_BOARDLIST))
 export USB_DevBulk_TestApp_$(1)_$(SOC)_CORELIST = $(filter $(DEFAULT_$(SOC)_CORELIST_$(1)), $(drvusb_$(SOC)_CORELIST))
+export USB_DevBulk_TestApp_$(1)_SBL_APPIMAGEGEN = yes
 ifneq ($(1),$(filter $(1), safertos))
 usb_EXAMPLE_LIST += USB_DevBulk_TestApp_$(1)
 else
@@ -322,6 +325,7 @@ USB_Baremetal_HostMsc_TestApp_PKG_LIST = USB_Baremetal_HostMsc_TestApp
 USB_Baremetal_HostMsc_TestApp_INCLUDE = $(USB_Baremetal_HostMsc_TestApp_PATH)
 USB_Baremetal_HostMsc_TestApp_BOARDLIST = $(drvusb_BOARDLIST)
 USB_Baremetal_HostMsc_TestApp_$(SOC)_CORELIST = $(drvusb_$(SOC)_CORELIST)
+USB_Baremetal_HostMsc_TestApp_SBL_APPIMAGEGEN = yes
 
 export USB_Baremetal_HostMsc_TestApp_COMP_LIST
 export USB_Baremetal_HostMsc_TestApp_RELPATH
@@ -334,6 +338,7 @@ export USB_Baremetal_HostMsc_TestApp_INCLUDE
 export USB_Baremetal_HostMsc_TestApp_BOARDLIST
 export USB_Baremetal_HostMsc_TestApp_$(SOC)_CORELIST
 export USB_Baremetal_HostMsc_TestApp_MAKEFILE
+export USB_Baremetal_HostMsc_TestApp_SBL_APPIMAGEGEN
 
 # Bare metal USB dev MSC example
 USB_Baremetal_DevMsc_TestApp_COMP_LIST = USB_Baremetal_DevMsc_TestApp
@@ -347,6 +352,7 @@ USB_Baremetal_DevMsc_TestApp_PKG_LIST = USB_Baremetal_DevMsc_TestApp
 USB_Baremetal_DevMsc_TestApp_INCLUDE = $(USB_Baremetal_DevMsc_TestApp_PATH)
 USB_Baremetal_DevMsc_TestApp_BOARDLIST = $(drvusb_BOARDLIST)
 USB_Baremetal_DevMsc_TestApp_$(SOC)_CORELIST = $(drvusb_$(SOC)_CORELIST)
+USB_Baremetal_DevMsc_TestApp_SBL_APPIMAGEGEN = yes
 
 export USB_Baremetal_DevMsc_TestApp_COMP_LIST
 export USB_Baremetal_DevMsc_TestApp_RELPATH
@@ -358,7 +364,7 @@ export USB_Baremetal_DevMsc_TestApp_PKG_LIST
 export USB_Baremetal_DevMsc_TestApp_INCLUDE
 export USB_Baremetal_DevMsc_TestApp_BOARDLIST
 export USB_Baremetal_DevMsc_TestApp_$(SOC)_CORELIST
-
+export USB_Baremetal_DevMsc_TestApp_SBL_APPIMAGEGEN
 
 
 # USB3.0 USB host project - RTOS
@@ -377,6 +383,7 @@ USB_HostMsc_usb30_TestApp_$(1)_PKG_LIST = USB_HostMsc_usb30_TestApp_$(1)
 USB_HostMsc_usb30_TestApp_$(1)_INCLUDE = $(USB_HostMsc_usb30_TestApp_$(1)_PATH)
 export USB_HostMsc_usb30_TestApp_$(1)_BOARDLIST = $(filter $(DEFAULT_BOARDLIST_$(1)), am65xx_evm)
 export USB_HostMsc_usb30_TestApp_$(1)_$(SOC)_CORELIST = $(filter $(DEFAULT_$(SOC)_CORELIST_$(1)), $(drvusb_$(SOC)_CORELIST))
+export USB_HostMsc_usb30_TestApp_$(1)_SBL_APPIMAGEGEN = yes
 ifneq ($(1),$(filter $(1), safertos))
 usb_EXAMPLE_LIST += USB_HostMsc_usb30_TestApp_$(1)
 else
@@ -406,6 +413,7 @@ USB_Baremetal_HostMsc_usb30_TestApp_PKG_LIST = USB_Baremetal_HostMsc_usb30_TestA
 USB_Baremetal_HostMsc_usb30_TestApp_INCLUDE = $(USB_Baremetal_HostMsc_usb30_TestApp_PATH)
 USB_Baremetal_HostMsc_usb30_TestApp_BOARDLIST = am65xx_evm
 USB_Baremetal_HostMsc_usb30_TestApp_$(SOC)_CORELIST = $(drvusb_$(SOC)_CORELIST)
+USB_Baremetal_HostMsc_usb30_TestApp_SBL_APPIMAGEGEN = yes
 
 export USB_Baremetal_HostMsc_usb30_TestApp_COMP_LIST
 export USB_Baremetal_HostMsc_usb30_TestApp_RELPATH
@@ -418,7 +426,7 @@ export USB_Baremetal_HostMsc_usb30_TestApp_INCLUDE
 export USB_Baremetal_HostMsc_usb30_TestApp_BOARDLIST
 export USB_Baremetal_HostMsc_usb30_TestApp_$(SOC)_CORELIST
 export USB_Baremetal_HostMsc_usb30_TestApp_MAKEFILE
-
+export USB_Baremetal_HostMsc_usb30_TestApp_SBL_APPIMAGEGEN
 
 drvusb_EXAMPLE_LIST = $(usb_EXAMPLE_LIST)
 
index e494c02f4e8fdfd2f1a5e7cb9ac435005752a06d..bf0931ef20b64afe90b65ea15a8f5f05355ab2b7 100644 (file)
@@ -95,7 +95,7 @@ drvnimu_j721e_CORELIST = mcu1_0 mpu1_0
 # List of components included under uart lib
 # The components included here are built and will be part of nimu lib
 ############################
-nimu_LIB_LIST = nimu nimu_icssg  
+nimu_LIB_LIST = nimu nimu_profile nimu_icssg nimu_icssg_profile  
 drvnimu_LIB_LIST = $(nimu_LIB_LIST)
 
 #
@@ -121,6 +121,8 @@ export nimu_COMP_LIST
 export nimu_BOARD_DEPENDENCY
 export nimu_CORE_DEPENDENCY
 export nimu_SOC_DEPENDENCY
+nimu_PKG_LIST = nimu
+export nimu_PKG_LIST
 nimu_INCLUDE = $(nimu_PATH)
 nimu_SOCLIST = $(drvnimu_SOCLIST)
 export nimu_SOCLIST
@@ -177,6 +179,8 @@ export nimu_icssg_COMP_LIST
 export nimu_icssg_BOARD_DEPENDENCY
 export nimu_icssg_CORE_DEPENDENCY
 export nimu_icssg_SOC_DEPENDENCY
+nimu_icssg_PKG_LIST = nimu_icssg
+export nimu_icssg_PKG_LIST
 nimu_icssg_INCLUDE = $(nimu_PATH)
 nimu_icssg_SOCLIST = am65xx
 export nimu_icssg_SOCLIST
@@ -214,7 +218,7 @@ nimu_icssg_profile_$(SOC)_CORELIST = $(drvnimu_$(SOC)_CORELIST)
 export nimu_icssg_profile_$(SOC)_CORELIST
 
 # NIMU examples
-nimu_EXAMPLE_LIST = 
+nimu_EXAMPLE_LIST = NIMU_Cpsw_ExampleApp NIMU_Cpsw_SMP_ExampleApp NIMU_FtpCpsw_ExampleApp NIMU_Icssg_ExampleApp NIMU_FtpIcssg_ExampleApp
 drvnimu_EXAMPLE_LIST = $(nimu_EXAMPLE_LIST)
 
 NIMU_Cpsw_ExampleApp_COMP_LIST = NIMU_Cpsw_ExampleApp
@@ -223,6 +227,8 @@ NIMU_Cpsw_ExampleApp_PATH = $(PDK_NIMU_COMP_PATH)/example
 NIMU_Cpsw_ExampleApp_BOARD_DEPENDENCY = yes
 NIMU_Cpsw_ExampleApp_CORE_DEPENDENCY = no
 NIMU_Cpsw_ExampleApp_XDC_CONFIGURO = yes
+NIMU_Cpsw_ExampleApp_SBL_APPIMAGEGEN = yes
+export NIMU_Cpsw_ExampleApp_SBL_APPIMAGEGEN
 export NIMU_Cpsw_ExampleApp_COMP_LIST
 export NIMU_Cpsw_ExampleApp_BOARD_DEPENDENCY
 export NIMU_Cpsw_ExampleApp_CORE_DEPENDENCY
@@ -241,6 +247,8 @@ NIMU_Cpsw_SMP_ExampleApp_PATH = $(PDK_NIMU_COMP_PATH)/example
 NIMU_Cpsw_SMP_ExampleApp_BOARD_DEPENDENCY = yes
 NIMU_Cpsw_SMP_ExampleApp_CORE_DEPENDENCY = no
 NIMU_Cpsw_SMP_ExampleApp_XDC_CONFIGURO = yes
+NIMU_Cpsw_SMP_ExampleApp_SBL_APPIMAGEGEN = yes
+export NIMU_Cpsw_SMP_ExampleApp_SBL_APPIMAGEGEN
 export NIMU_Cpsw_SMP_ExampleApp_COMP_LIST
 export NIMU_Cpsw_SMP_ExampleApp_BOARD_DEPENDENCY
 export NIMU_Cpsw_SMP_ExampleApp_CORE_DEPENDENCY
@@ -260,6 +268,8 @@ NIMU_FtpCpsw_ExampleApp_BOARD_DEPENDENCY = yes
 NIMU_FtpCpsw_ExampleApp_CORE_DEPENDENCY = no
 NIMU_FtpCpsw_ExampleApp_XDC_CONFIGURO = yes
 NIMU_FtpCpsw_ExampleApp_MAKEFILE = -f $(SOC)/cpsw/makefile  XDC_DISABLE_THUMB_MODE=yes
+NIMU_FtpCpsw_ExampleApp_SBL_APPIMAGEGEN = yes
+export NIMU_FtpCpsw_ExampleApp_SBL_APPIMAGEGEN
 export NIMU_FtpCpsw_ExampleApp_COMP_LIST
 export NIMU_FtpCpsw_ExampleApp_BOARD_DEPENDENCY
 export NIMU_FtpCpsw_ExampleApp_CORE_DEPENDENCY
@@ -277,6 +287,8 @@ NIMU_Icssg_ExampleApp_PATH = $(PDK_NIMU_COMP_PATH)/example
 NIMU_Icssg_ExampleApp_BOARD_DEPENDENCY = yes
 NIMU_Icssg_ExampleApp_CORE_DEPENDENCY = no
 NIMU_Icssg_ExampleApp_XDC_CONFIGURO = yes
+NIMU_Icssg_ExampleApp_SBL_APPIMAGEGEN = yes
+export NIMU_Icssg_ExampleApp_SBL_APPIMAGEGEN
 export NIMU_Icssg_ExampleApp_COMP_LIST
 export NIMU_Icssg_ExampleApp_BOARD_DEPENDENCY
 export NIMU_Icssg_ExampleApp_CORE_DEPENDENCY
@@ -296,6 +308,8 @@ NIMU_FtpIcssg_ExampleApp_BOARD_DEPENDENCY = yes
 NIMU_FtpIcssg_ExampleApp_CORE_DEPENDENCY = no
 NIMU_FtpIcssg_ExampleApp_XDC_CONFIGURO = yes
 NIMU_FtpIcssg_ExampleApp_MAKEFILE = -f $(SOC)/icssg/makefile XDC_DISABLE_THUMB_MODE=yes
+NIMU_FtpIcssg_ExampleApp_SBL_APPIMAGEGEN = yes
+export NIMU_FtpIcssg_ExampleApp_SBL_APPIMAGEGEN
 export NIMU_FtpIcssg_ExampleApp_COMP_LIST
 export NIMU_FtpIcssg_ExampleApp_BOARD_DEPENDENCY
 export NIMU_FtpIcssg_ExampleApp_CORE_DEPENDENCY