aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJason Simmons <jsimmons@google.com>2012-09-12 14:29:54 -0700
committerZiyann <jaraidaniel@gmail.com>2014-10-01 12:59:07 +0200
commita07d9110a1eed80f15e54bc3e2825efc3939ab39 (patch)
tree42037e3af191bcadaa5e99553b60d63306806cc2 /security
parent408c8b1fcc8076b28990fe9e86753c61e218b201 (diff)
downloadkernel_samsung_tuna-a07d9110a1eed80f15e54bc3e2825efc3939ab39.zip
kernel_samsung_tuna-a07d9110a1eed80f15e54bc3e2825efc3939ab39.tar.gz
kernel_samsung_tuna-a07d9110a1eed80f15e54bc3e2825efc3939ab39.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')
-rwxr-xr-xsecurity/smc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/smc/Makefile b/security/smc/Makefile
index de045b6..05f767a 100755
--- 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