* Fixing genext2fs-native and pkgconfig-native
authorGreg Gilbert <greg@treke.net>
Tue, 30 Mar 2004 05:19:57 +0000 (05:19 +0000)
committerGreg Gilbert <greg@treke.net>
Tue, 30 Mar 2004 05:19:57 +0000 (05:19 +0000)
TOPDIR shouldnt be used in defining FILESDIR for the -native packages since it will be rooted at the BUILDDIR

BKrev: 4069037dSWv99zzwgZZXxu6N7kv47A

genext2fs/genext2fs-native_1.3.oe
pkgconfig/pkgconfig-native_0.15.0.oe

index 5d4d0dd..9d91a69 100644 (file)
@@ -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 () {
index 620ed9e..46bc1a2 100644 (file)
@@ -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