summaryrefslogtreecommitdiff
path: root/recipes/ipkg/ipkg-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/ipkg/ipkg-native.inc')
-rw-r--r--recipes/ipkg/ipkg-native.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/ipkg/ipkg-native.inc b/recipes/ipkg/ipkg-native.inc
new file mode 100644
index 0000000000..b52b7b5e20
--- /dev/null
+++ b/recipes/ipkg/ipkg-native.inc
@@ -0,0 +1,12 @@
+# NOTE: ipkg now obeys ${libdir}, so ipkg-native now installs
+# things into the wrong location inside of offline_root. Backup
+# the target libdir and use that.
+target_libdir := "${libdir}"
+
+inherit native
+
+EXTRA_OECONF += "--with-ipkgdir=${target_libdir}/ipkg"
+
+DEPENDS = "libtool-native automake-native"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ipkg-${PV}"
+PROVIDES = ""