projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab923bb
)
selftest/ipc: enable cross compilation
author
Tyler Baker
<tyler.baker@linaro.org>
Wed, 1 Apr 2015 23:20:19 +0000
(16:20 -0700)
committer
Shuah Khan
<shuahkh@osg.samsung.com>
Thu, 2 Apr 2015 18:41:52 +0000
(12:41 -0600)
Use the CC variable instead of hard coding gcc.
Signed-off-by: Tyler Baker <tyler.baker@linaro.org>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/ipc/Makefile
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/ipc/Makefile
b/tools/testing/selftests/ipc/Makefile
index
3b6013d
..
25d2e70
100644
(file)
--- a/
tools/testing/selftests/ipc/Makefile
+++ b/
tools/testing/selftests/ipc/Makefile
@@
-12,11
+12,7
@@
endif
CFLAGS += -I../../../../usr/include/
all:
-ifeq ($(ARCH),x86)
- gcc $(CFLAGS) msgque.c -o msgque_test
-else
- echo "Not an x86 target, can't build msgque selftest"
-endif
+ $(CC) $(CFLAGS) msgque.c -o msgque_test
TEST_PROGS := msgque_test