Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 82411781F7 for ; Mon, 28 Aug 2017 20:28:28 +0000 (UTC) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2017 13:28:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,442,1498546800"; d="scan'208";a="123361379" Received: from juro-precision-t5610.jf.intel.com ([10.7.198.53]) by orsmga004.jf.intel.com with ESMTP; 28 Aug 2017 13:28:30 -0700 From: Juro Bystricky To: openembedded-core@lists.openembedded.org Date: Mon, 28 Aug 2017 13:28:19 -0700 Message-Id: <1503952106-26310-2-git-send-email-juro.bystricky@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503952106-26310-1-git-send-email-juro.bystricky@intel.com> References: <1503952106-26310-1-git-send-email-juro.bystricky@intel.com> Cc: jurobystricky@hotmail.com Subject: [PATCH 1/8] zlib_1.2.11.bb: remove build host references X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Aug 2017 20:28:28 -0000 Remove build host references from libz-ptest package. [YOCTO #11668] Signed-off-by: Juro Bystricky --- meta/recipes-core/zlib/zlib_1.2.11.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb index ba216f67..6410519 100644 --- a/meta/recipes-core/zlib/zlib_1.2.11.bb +++ b/meta/recipes-core/zlib/zlib_1.2.11.bb @@ -45,6 +45,11 @@ do_install_ptest() { install ${B}/minigzip ${D}${PTEST_PATH} install ${B}/examplesh ${D}${PTEST_PATH} install ${B}/minigzipsh ${D}${PTEST_PATH} + + # Remove buildhost references... + sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \ + -e 's|${DEBUG_PREFIX_MAP}||g' \ + ${D}${PTEST_PATH}/Makefile } # Move zlib shared libraries for target builds to $base_libdir so the library -- 2.7.4