generic-poky/meta/lib/oeqa/runtime/files/testsdkmakefile
Richard Purdie 3af9f06f1b oeqa/sdk/gcc: Fix makefile test
The makefile test was hardcoding a test for gcc. In the SDK context, we
need to use $(CC) to use the cross compiler.

(From OE-Core rev: d28ddc23bbf232901ae07f7a01f821ecc4b79e32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-28 12:00:31 +01:00

6 lines
72 B
Text

test: test.o
$(CC) -o test test.o -lm
test.o: test.c
$(CC) -c test.c