summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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