Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os 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>

authored by

Tyler Baker and committed by
Shuah Khan
5de83049 ab923bb9

+1 -5
+1 -5
tools/testing/selftests/ipc/Makefile
··· 12 12 CFLAGS += -I../../../../usr/include/ 13 13 14 14 all: 15 - ifeq ($(ARCH),x86) 16 - gcc $(CFLAGS) msgque.c -o msgque_test 17 - else 18 - echo "Not an x86 target, can't build msgque selftest" 19 - endif 15 + $(CC) $(CFLAGS) msgque.c -o msgque_test 20 16 21 17 TEST_PROGS := msgque_test 22 18