diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2015-03-04 05:41:31 -0500 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2015-03-19 17:16:51 -0400 |
commit | 84f887bfb930e7fbc01c060edd68c7cc6e2b824b (patch) | |
tree | 4eee03c4146aa2174e4b90b4098c0875ecb08f26 /tools/testing/selftests/vm/Makefile | |
parent | 6faeeea44b84ce24fc6c1f1beb07ee5de9885dc8 (diff) |
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/vm/Makefile')
-rw-r--r-- | tools/testing/selftests/vm/Makefile | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile index 1a49761df6ed..a5ce9534eb15 100644 --- a/tools/testing/selftests/vm/Makefile +++ b/tools/testing/selftests/vm/Makefile | |||
@@ -1,6 +1,5 @@ | |||
1 | # Makefile for vm selftests | 1 | # Makefile for vm selftests |
2 | 2 | ||
3 | CC = $(CROSS_COMPILE)gcc | ||
4 | CFLAGS = -Wall | 3 | CFLAGS = -Wall |
5 | BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest | 4 | BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest |
6 | BINARIES += transhuge-stress | 5 | BINARIES += transhuge-stress |