diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-04 13:41:31 +0300 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2015-03-20 00:16:51 +0300 |
commit | 84f887bfb930e7fbc01c060edd68c7cc6e2b824b (patch) | |
tree | 4eee03c4146aa2174e4b90b4098c0875ecb08f26 /tools/testing/selftests/kcmp | |
parent | 6faeeea44b84ce24fc6c1f1beb07ee5de9885dc8 (diff) | |
download | linux-84f887bfb930e7fbc01c060edd68c7cc6e2b824b.tar.xz |
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/kcmp')
-rw-r--r-- | tools/testing/selftests/kcmp/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/kcmp/Makefile b/tools/testing/selftests/kcmp/Makefile index 0eecd183058c..2ae7450a9a89 100644 --- a/tools/testing/selftests/kcmp/Makefile +++ b/tools/testing/selftests/kcmp/Makefile @@ -1,4 +1,3 @@ -CC := $(CROSS_COMPILE)$(CC) CFLAGS += -I../../../../usr/include/ all: kcmp_test |