1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# am33x-cm3 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun# This should correpsond to v05.00.00.02 8*4882a593SmuzhiyunAM33X_CM3_VERSION = 11107db2f1e9e58ee75d4fe9cc38423c9a6e4365 9*4882a593SmuzhiyunAM33X_CM3_SITE = http://arago-project.org/git/projects/am33x-cm3.git 10*4882a593SmuzhiyunAM33X_CM3_SITE_METHOD = git 11*4882a593SmuzhiyunAM33X_CM3_LICENSE = TI Publicly Available Software License 12*4882a593SmuzhiyunAM33X_CM3_LICENSE_FILES = License.txt 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun# The build command below will use the standard cross-compiler (normally 15*4882a593Smuzhiyun# build for Cortex-A8, to build the FW for the Cortex-M3. 16*4882a593Smuzhiyundefine AM33X_CM3_BUILD_CMDS 17*4882a593Smuzhiyun $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) all 18*4882a593Smuzhiyunendef 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun# Not all of the firmware files are used 21*4882a593Smuzhiyundefine AM33X_CM3_INSTALL_TARGET_CMDS 22*4882a593Smuzhiyun $(INSTALL) -m 0644 -D $(@D)/bin/am335x-pm-firmware.bin \ 23*4882a593Smuzhiyun $(TARGET_DIR)/lib/firmware/am335x-pm-firmware.bin 24*4882a593Smuzhiyunendef 25*4882a593Smuzhiyun 26*4882a593Smuzhiyundefine AM33X_CM3_INSTALL_INIT_SYSV 27*4882a593Smuzhiyun $(INSTALL) -m 0755 -D package/am33x-cm3/S93-am335x-pm-firmware-load \ 28*4882a593Smuzhiyun $(TARGET_DIR)/etc/init.d/S93-am335x-pm-firmware-load 29*4882a593Smuzhiyunendef 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun$(eval $(generic-package)) 32