selftest/ipc: enable cross compilation
authorTyler Baker <tyler.baker@linaro.org>
Wed, 1 Apr 2015 23:20:19 +0000 (16:20 -0700)
committerShuah 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

index 3b6013d..25d2e70 100644 (file)
@@ -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