commit | ca7aa84dd5ea954462944056701bff4b4f8e3ffd | [log] [tgz] |
---|---|---|
author | baoguo.chen <baoguo.chen@amlogic.com> | Mon Dec 17 19:29:29 2018 +0800 |
committer | baoguo.chen <baoguo.chen@amlogic.com> | Mon Dec 17 19:40:32 2018 +0800 |
tree | 1e68828033cc933e3a16afbbbecb10c6017f2d55 | |
parent | 62ae220a3834ae0f4b92ffb4be57520285fe46f3 [diff] |
secfirmload: add softfloat binary [1/1] PD#OTT-305 Problem: need softfloat secfirmload. Solution: 1.add softfloat secfirmload binary. 2.change dir struct to support hard and soft compilation. commit e9cff2b6212aad1ae251a9afe1012ab66a6c3465 Verify: P215 + Linux trunk P215 + 668 SDK version Change-Id: Id2701744a96f4ecb512275ca0dc8c54f0dc133c4 Signed-off-by: baoguo.chen <baoguo.chen@amlogic.com>
diff --git a/secfirmload/secfirmload.mk b/secfirmload/secfirmload.mk index 121426f..9bd444b 100644 --- a/secfirmload/secfirmload.mk +++ b/secfirmload/secfirmload.mk
@@ -9,16 +9,16 @@ SECFIRMLOAD_SITE_METHOD = local define SECFIRMLOAD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/$(BR2_ARCH)/tee_preload_fw $(TARGET_DIR)/usr/bin/ - $(INSTALL) -D -m 644 $(@D)/$(BR2_ARCH)/tee_preload_fw.so $(TARGET_DIR)/usr/lib/ - $(INSTALL) -D -m 644 $(@D)/$(BR2_ARCH)/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta $(TARGET_DIR)/lib/teetz/ + $(INSTALL) -D -m 755 $(@D)/$(BR2_ARCH).$(CC_TARGET_ABI_).$(CC_TARGET_FLOAT_ABI_)/tee_preload_fw $(TARGET_DIR)/usr/bin/ + $(INSTALL) -D -m 644 $(@D)/$(BR2_ARCH).$(CC_TARGET_ABI_).$(CC_TARGET_FLOAT_ABI_)/tee_preload_fw.so $(TARGET_DIR)/usr/lib/ + $(INSTALL) -D -m 644 $(@D)/noarch/ta/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta $(TARGET_DIR)/lib/teetz/ $(SECVIDEO_PREBUILT_INSTALL_INIT_SYSV) endef ifeq ($(BR2_PACKAGE_LAUNCHER_USE_SECFIRMLOAD), y) define SECVIDEO_PREBUILT_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 $(@D)/S60secload $(TARGET_DIR)/etc/init.d/ + $(INSTALL) -D -m 755 $(@D)/noarch/etc/S60secload $(TARGET_DIR)/etc/init.d/ endef endif
diff --git a/secfirmload/secloadbin/aarch64/tee_preload_fw b/secfirmload/secloadbin/aarch64.lp64./tee_preload_fw similarity index 100% rename from secfirmload/secloadbin/aarch64/tee_preload_fw rename to secfirmload/secloadbin/aarch64.lp64./tee_preload_fw Binary files differ
diff --git a/secfirmload/secloadbin/aarch64/tee_preload_fw.so b/secfirmload/secloadbin/aarch64.lp64./tee_preload_fw.so similarity index 100% rename from secfirmload/secloadbin/aarch64/tee_preload_fw.so rename to secfirmload/secloadbin/aarch64.lp64./tee_preload_fw.so Binary files differ
diff --git a/secfirmload/secloadbin/arm/tee_preload_fw b/secfirmload/secloadbin/arm.aapcs-linux.hard/tee_preload_fw similarity index 100% rename from secfirmload/secloadbin/arm/tee_preload_fw rename to secfirmload/secloadbin/arm.aapcs-linux.hard/tee_preload_fw Binary files differ
diff --git a/secfirmload/secloadbin/arm/tee_preload_fw.so b/secfirmload/secloadbin/arm.aapcs-linux.hard/tee_preload_fw.so similarity index 100% rename from secfirmload/secloadbin/arm/tee_preload_fw.so rename to secfirmload/secloadbin/arm.aapcs-linux.hard/tee_preload_fw.so Binary files differ
diff --git a/secfirmload/secloadbin/arm.aapcs-linux.softfp/tee_preload_fw b/secfirmload/secloadbin/arm.aapcs-linux.softfp/tee_preload_fw new file mode 100755 index 0000000..3c0fefc --- /dev/null +++ b/secfirmload/secloadbin/arm.aapcs-linux.softfp/tee_preload_fw Binary files differ
diff --git a/secfirmload/secloadbin/arm.aapcs-linux.softfp/tee_preload_fw.so b/secfirmload/secloadbin/arm.aapcs-linux.softfp/tee_preload_fw.so new file mode 100644 index 0000000..aa48af5 --- /dev/null +++ b/secfirmload/secloadbin/arm.aapcs-linux.softfp/tee_preload_fw.so Binary files differ
diff --git a/secfirmload/secloadbin/arm/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta b/secfirmload/secloadbin/arm/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta deleted file mode 100644 index 4bb5f50..0000000 --- a/secfirmload/secloadbin/arm/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta +++ /dev/null Binary files differ
diff --git a/secfirmload/secloadbin/S60secload b/secfirmload/secloadbin/noarch/etc/S60secload similarity index 100% rename from secfirmload/secloadbin/S60secload rename to secfirmload/secloadbin/noarch/etc/S60secload
diff --git a/secfirmload/secloadbin/aarch64/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta b/secfirmload/secloadbin/noarch/ta/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta similarity index 100% rename from secfirmload/secloadbin/aarch64/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta rename to secfirmload/secloadbin/noarch/ta/526fc4fc-7ee6-4a12-96e3-83da9565bce8.ta Binary files differ