From e7147de9f28925b1bb5df39d9c0848dd7957328c Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Tue, 4 Aug 2015 10:33:11 +0800 Subject: bjam-native: build and install bjam.debug bjam is stripped by default, this causes QA warning while stripping it from do_populate_sysroot(): WARNING: File '.../tmp/sysroots/x86_64-linux/usr/bin/bjam' \ from bjam-native was already stripped, \ this will prevent future debugging! The JAM scripts allow to build unstripped version with '--debug'. Just build and install the bjam.debug to stop bjam from being stripped in compile step. Signed-off-by: Wenzong Fan Signed-off-by: Ross Burton --- meta/recipes-support/boost/bjam-native_1.58.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-support/boost/bjam-native_1.58.0.bb') diff --git a/meta/recipes-support/boost/bjam-native_1.58.0.bb b/meta/recipes-support/boost/bjam-native_1.58.0.bb index d85d1a96cb..32646d707b 100644 --- a/meta/recipes-support/boost/bjam-native_1.58.0.bb +++ b/meta/recipes-support/boost/bjam-native_1.58.0.bb @@ -5,11 +5,14 @@ SECTION = "devel" inherit native +SRC_URI += "file://bjam-native-build-bjam.debug.patch" + do_compile() { ./bootstrap.sh --with-toolset=gcc } do_install() { install -d ${D}${bindir}/ - install -c -m 755 bjam ${D}${bindir}/ + # install unstripped version for bjam + install -c -m 755 bjam.debug ${D}${bindir}/bjam } -- cgit 1.2.3-korg