From patchwork Tue Mar 20 00:22:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: rt-tests: fix dependency on eglibc, clean LDFLAGS passing Date: Tue, 20 Mar 2012 00:22:54 -0000 From: Denys Dmytriyenko X-Patchwork-Id: 23839 Message-Id: <1332202974-27977-1-git-send-email-denis@denix.org> To: openembedded-core@lists.openembedded.org Cc: Denys Dmytriyenko From: Denys Dmytriyenko Replace dependency on eglibc with virtual/libc Pass LDFLAGS to TARGET_CC_ARCH, instead of CFLAGS as Makefile overrides it Signed-off-by: Denys Dmytriyenko Acked-by: Darren Hart --- meta/recipes-rt/rt-tests/rt-tests_0.83.bb | 6 +++--- 1 files changed, 3 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 6425027..3755c79 100644 --- a/meta/recipes-rt/rt-tests/rt-tests_0.83.bb +++ b/meta/recipes-rt/rt-tests/rt-tests_0.83.bb @@ -1,7 +1,7 @@ DESCRIPTION = "Real-Time preemption testcases" HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest" SECTION = "tests" -DEPENDS = "linux-libc-headers eglibc" +DEPENDS = "linux-libc-headers virtual/libc" LICENSE = "GPLv2 & GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ file://src/cyclictest/cyclictest.c;beginline=7;endline=9;md5=ce162fe491d19d2ec67dff6dbc938d50 \ @@ -11,13 +11,13 @@ SRCREV = "5f1e84f8b015df3ff950056494134eca3f640d70" # git -> 0.83 needs a PE bump PE = "1" -PR = "r1" +PR = "r2" SRC_URI = "git://github.com/clrkwllms/rt-tests.git" S = "${WORKDIR}/git" -CFLAGS += "-I${S}/src/include -D_GNU_SOURCE -Wall -Wno-nonnulli ${LDFLAGS}" +TARGET_CC_ARCH += "${LDFLAGS}" # calling 'uname -m' is broken on crossbuilds EXTRA_OEMAKE = "NUMA=0"