summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Gilbert <greg@treke.net>2004-03-30 05:19:57 +0000
committerGreg Gilbert <greg@treke.net>2004-03-30 05:19:57 +0000
commit3ea92ccb1cea24ea189b12b29aef599ee7658b2c (patch)
tree5b3c9eb30235daf0edd0df766fbb2f8af8d30e58
parent3339c8dcff4dadfc1da443b4c1c8962c66cec759 (diff)
* Fixing genext2fs-native and pkgconfig-native
TOPDIR shouldnt be used in defining FILESDIR for the -native packages since it will be rooted at the BUILDDIR BKrev: 4069037dSWv99zzwgZZXxu6N7kv47A
-rw-r--r--genext2fs/genext2fs-native_1.3.oe2
-rw-r--r--pkgconfig/pkgconfig-native_0.15.0.oe5
2 files changed, 4 insertions, 3 deletions
diff --git a/genext2fs/genext2fs-native_1.3.oe b/genext2fs/genext2fs-native_1.3.oe
index 5d4d0dde43..9d91a696d6 100644
--- a/genext2fs/genext2fs-native_1.3.oe
+++ b/genext2fs/genext2fs-native_1.3.oe
@@ -1,6 +1,6 @@
include genext2fs_${PV}.oe
inherit native
-FILESDIR = "${TOPDIR}/genext2fs/genext2fs-${PV}"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/genext2fs-${PV}"
DEPENDS = ""
do_stage () {
diff --git a/pkgconfig/pkgconfig-native_0.15.0.oe b/pkgconfig/pkgconfig-native_0.15.0.oe
index 620ed9e650..46bc1a2bb3 100644
--- a/pkgconfig/pkgconfig-native_0.15.0.oe
+++ b/pkgconfig/pkgconfig-native_0.15.0.oe
@@ -1,5 +1,6 @@
include pkgconfig_${PV}.oe
-inherit native
-FILESDIR = "${TOPDIR}/pkgconfig/pkgconfig-${PV}"
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/pkgconfig-${PV}"
+
S = "${WORKDIR}/pkgconfig-${PV}"
DEPENDS = "patcher-native"
+inherit native