summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/exec
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2015-03-04 11:41:31 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2015-03-19 22:16:51 +0100
commit84f887bfb930e7fbc01c060edd68c7cc6e2b824b (patch)
tree4eee03c4146aa2174e4b90b4098c0875ecb08f26 /tools/testing/selftests/exec
parentselftests: Add install support for the powerpc tests (diff)
downloadlinux-84f887bfb930e7fbc01c060edd68c7cc6e2b824b.tar.xz
linux-84f887bfb930e7fbc01c060edd68c7cc6e2b824b.zip
selftests: Set CC using CROSS_COMPILE once in lib.mk
This avoids repeating the logic in every Makefile. We mimic the top-level Makefile and use $(CROSS_COMPILE)gcc. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/exec')
-rw-r--r--tools/testing/selftests/exec/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/exec/Makefile b/tools/testing/selftests/exec/Makefile
index 886cabe307b1..4edb7d0da29b 100644
--- a/tools/testing/selftests/exec/Makefile
+++ b/tools/testing/selftests/exec/Makefile
@@ -1,4 +1,3 @@
-CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall
BINARIES = execveat
DEPS = execveat.symlink execveat.denatured script subdir