diff options
author | Denys Dmytriyenko <denys@ti.com> | 2012-03-21 22:46:05 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-22 16:42:15 +0000 |
commit | fb89e4585644db0958a633a637fc70f0459af26a (patch) | |
tree | e0962a822c6877507cb8ee08d15c4fe856e9b77e /meta/recipes-rt/rt-tests/rt-tests_0.83.bb | |
parent | 053f1a0200047949765f34a6c99940adbe8f2c9f (diff) | |
download | openembedded-core-contrib-fb89e4585644db0958a633a637fc70f0459af26a.tar.gz |
rt-tests: add patch to support passing CFLAGS/LDFLAGS
Enable passing OE and Distro-specific CFLAGS/LDFLAGS to the Makefile.
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-rt/rt-tests/rt-tests_0.83.bb')
-rw-r--r-- | meta/recipes-rt/rt-tests/rt-tests_0.83.bb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb index 1a91e867eb..6c4931e0a9 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb @@ -11,13 +11,15 @@ SRCREV = "5f1e84f8b015df3ff950056494134eca3f640d70" # git -> 0.83 needs a PE bump PE = "1" -PR = "r1" +PR = "r2" -SRC_URI = "git://github.com/clrkwllms/rt-tests.git" +SRC_URI = "git://github.com/clrkwllms/rt-tests.git \ + file://makefile-support-user-cflags-ldflags.patch" S = "${WORKDIR}/git" -CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli ${LDFLAGS}" +# need to append rt-tests' default CFLAGS to ours +CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli" # calling 'uname -m' is broken on crossbuilds EXTRA_OEMAKE = "NUMA=0" |