summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-01-20 14:11:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-24 11:23:56 +0000
commit01bc511d772a47e34b2071393651a915c8ddb1b0 (patch)
tree20546d4f10c6e2a11914ef1e179c5eec946009f7
parentda70cc9f33845d62943afc78168e56931d0a9b15 (diff)
downloadopenembedded-core-01bc511d772a47e34b2071393651a915c8ddb1b0.tar.gz
openembedded-core-01bc511d772a47e34b2071393651a915c8ddb1b0.tar.bz2
openembedded-core-01bc511d772a47e34b2071393651a915c8ddb1b0.zip
opkg: refactor packages for staticdev
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-devtools/opkg/opkg.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index b03eaf7643..a67066fe6e 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -11,7 +11,7 @@ DEPENDS_virtclass-native = "curl-native"
DEPENDS_virtclass-nativesdk = "curl-nativesdk"
PE = "1"
-PR_INC = "r6"
+INC_PR = "r7"
FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
@@ -41,10 +41,11 @@ RDEPENDS_${PN}_virtclass-nativesdk = ""
PACKAGE_ARCH_update-alternatives-cworth = "all"
RREPLACES_${PN} = "opkg-nogpg"
-PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
+PACKAGES =+ "libopkg${PKGSUFFIX}-dev libopkg${PKGSUFFIX}-staticdev libopkg${PKGSUFFIX} update-alternatives-cworth${PKGSUFFIX}"
FILES_update-alternatives-cworth${PKGSUFFIX} = "${bindir}/update-alternatives"
-FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.a ${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg${PKGSUFFIX}-dev = "${libdir}/*.la ${libdir}/*.so"
+FILES_libopkg${PKGSUFFIX}-staticdev = "${libdir}/*.a"
FILES_libopkg${PKGSUFFIX} = "${libdir}/*.so.* ${localstatedir}/lib/opkg/"
# We need to create the lock directory