TOPDIR shouldnt be used in defining FILESDIR for the -native packages since it will be rooted at the BUILDDIR
BKrev: 4069037dSWv99zzwgZZXxu6N7kv47A
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 () {
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