summaryrefslogtreecommitdiff
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-27 11:07:38 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-28 11:58:34 +0100
commitd28ddc23bbf232901ae07f7a01f821ecc4b79e32 (patch)
tree353cce08f04a922fb52d169d68859ea994d85f0c /meta/lib/oeqa/runtime
parent4e89fe719b3e237d84b7ceba2a8c83a768baa714 (diff)
downloadopenembedded-core-d28ddc23bbf232901ae07f7a01f821ecc4b79e32.tar.gz
openembedded-core-d28ddc23bbf232901ae07f7a01f821ecc4b79e32.tar.bz2
openembedded-core-d28ddc23bbf232901ae07f7a01f821ecc4b79e32.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/runtime')
-rw-r--r--meta/lib/oeqa/runtime/files/testsdkmakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/lib/oeqa/runtime/files/testsdkmakefile b/meta/lib/oeqa/runtime/files/testsdkmakefile
new file mode 100644
index 0000000000..fb05f822f3
--- /dev/null
+++ b/meta/lib/oeqa/runtime/files/testsdkmakefile
@@ -0,0 +1,5 @@
+test: test.o
+ $(CC) -o test test.o -lm
+test.o: test.c
+ $(CC) -c test.c
+