aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJason Simmons <jsimmons@google.com>2012-09-12 14:29:54 -0700
committerGerrit Code Review <gerrit2@git.omapzoom.org>2012-10-12 10:30:33 -0500
commit5155c0aed3508aa5ceeebb7b5edbb71b5a3bda43 (patch)
treef7f295f5196f11888474f1548b0965cfa3fb7d50 /security
parentef756dfbb89b6684604b3633cfde9d38e171e530 (diff)
downloadkernel_samsung_espresso10-5155c0aed3508aa5ceeebb7b5edbb71b5a3bda43.zip
kernel_samsung_espresso10-5155c0aed3508aa5ceeebb7b5edbb71b5a3bda43.tar.gz
kernel_samsung_espresso10-5155c0aed3508aa5ceeebb7b5edbb71b5a3bda43.tar.bz2
Enable the ARM security extension when compiling some files
Change-Id: I5704b5b0edc55b66d4917352198d921f246ad404 Signed-off-by: Jason Simmons <jsimmons@google.com> Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Diffstat (limited to 'security')
-rw-r--r--security/smc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/smc/Makefile b/security/smc/Makefile
index fbea833..6b5fefd 100644
--- a/security/smc/Makefile
+++ b/security/smc/Makefile
@@ -49,6 +49,9 @@ tf_driver-objs += tf_self_test_device.o
tf_driver-objs += tf_self_test_post.o
endif
+plus_sec := $(call as-instr,.arch_extension sec,+sec)
+AFLAGS_bridge_pub2sec.o :=-Wa,-march=armv7-a$(plus_sec)
+
obj-$(CONFIG_SECURITY_MIDDLEWARE_COMPONENT) += tf_driver.o
obj-$(CONFIG_SECURITY_MIDDLEWARE_COMPONENT) += rproc_drm.o