Commit 5de83049 authored by Tyler Baker's avatar Tyler Baker Committed by Shuah Khan

selftest/ipc: enable cross compilation

Use the CC variable instead of hard coding gcc.
Signed-off-by: default avatarTyler Baker <tyler.baker@linaro.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent ab923bb9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment