Skip to contentSkip to conversation

ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find -native files

PATCH New Richard Purdie 1 participant 1 message Nov 19, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find -native files

In a small number of cases we need to have ${PN} in FILESPATH rather than ${BPN}. Rather than hurt readability for all other recipes, set FILESPATH in these recipes so we can prune the default.

---

meta/recipes-core/eglibc/ldconfig-native_2.12.1.bb +2 -0
index 2a93913..63ef95b 100644
@@ -14,6 +14,8 @@ SRC_URI = "file://ldconfig-native-2.12.1.tar.bz2 \
 
 PR = "r2"
 
+FILESPATH = "${FILE_DIRNAME}/${PN}-${PV}/"
+
 inherit native
 
 S = "${WORKDIR}/${PN}-${PV}"
meta/recipes-devtools/cdrtools/cdrtools-native_2.01.bb +2 -0
index 9068771..fc47977 100644
@@ -20,6 +20,8 @@ inherit native
 
 STAGE_TEMP = "${WORKDIR}/image-temp"
 
+FILESPATH = "${FILE_DIRNAME}/cdrtools-native/"
+
 do_install() {
 	install -d ${STAGE_TEMP}
 	make install INS_BASE=${STAGE_TEMP}
meta/recipes-devtools/icecc-create-env/icecc-create-env-native_0.1.bb +2 -0
index 7db3978..b04474e 100644
@@ -11,6 +11,8 @@ PR = "r2"
 DEPENDS = ""
 INHIBIT_DEFAULT_DEPS = "1"
 
+FILESPATH = "${FILE_DIRNAME}/${PN}/"
+
 inherit native
 
 PATCHTOOL = "patch"
meta/recipes-devtools/linuxdoc-tools/linuxdoc-tools-native_0.9.66.bb +2 -0
index fafa421..5c9dd6f 100644
@@ -17,6 +17,8 @@ SRC_URI = "${DEBIAN_MIRROR}/main/l/linuxdoc-tools/linuxdoc-tools_${PV}.tar.gz \
 SRC_URI[md5sum] = "f214e79b0dd084689cd04f18722bd563"
 SRC_URI[sha256sum] = "128cabb52ef8fb2f370ee488ea92bf4d8e49859200c7c8cae807abfe860a62ec"
 
+FILESPATH = "${FILE_DIRNAME}/linuxdoc-tools-native/"
+
 inherit autotools native
 
 do_configure () {
meta/recipes-devtools/python/python-native_2.7.3.bb +2 -0
index b0b3503..162eced 100644
@@ -19,6 +19,8 @@ SRC_URI += "file://04-default-is-optimized.patch \
            "
 S = "${WORKDIR}/Python-${PV}"
 
+FILESPATH = "${FILE_DIRNAME}/python-native/:${FILE_DIRNAME}/python/"
+
 inherit native
 
 RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-core-native"