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>
6 lines
72 B
Text
6 lines
72 B
Text
test: test.o
|
|
$(CC) -o test test.o -lm
|
|
test.o: test.c
|
|
$(CC) -c test.c
|
|
|