forked from Minki/linux
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>
This commit is contained in:
parent
ab923bb9e2
commit
5de8304904
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user