Browse Source

selftest/ipc: enable cross compilation

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>
Tyler Baker 10 years ago
parent
commit
5de8304904
1 changed files with 1 additions and 5 deletions
  1. 1 5
      tools/testing/selftests/ipc/Makefile

+ 1 - 5
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