diff options
Diffstat (limited to 'meta/recipes-devtools/opkg/opkg.inc')
| -rw-r--r-- | meta/recipes-devtools/opkg/opkg.inc | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc index 47458ff350..8d48006d64 100644 --- a/meta/recipes-devtools/opkg/opkg.inc +++ b/meta/recipes-devtools/opkg/opkg.inc | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
| 9 | file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba" | 9 | file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba" |
| 10 | 10 | ||
| 11 | PE = "1" | 11 | PE = "1" |
| 12 | INC_PR = "r12" | 12 | INC_PR = "r13" |
| 13 | 13 | ||
| 14 | # Werror gives all kinds bounds issuses with gcc 4.3.3 | 14 | # Werror gives all kinds bounds issuses with gcc 4.3.3 |
| 15 | do_configure_prepend() { | 15 | do_configure_prepend() { |
| @@ -17,16 +17,19 @@ do_configure_prepend() { | |||
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | inherit autotools pkgconfig | 19 | inherit autotools pkgconfig |
| 20 | EXTRA_OECONF += " --disable-gpg \ | ||
| 21 | --disable-openssl \ | ||
| 22 | --disable-ssl-curl \ | ||
| 23 | --disable-curl \ | ||
| 24 | --disable-sha256" | ||
| 25 | 20 | ||
| 26 | target_localstatedir := "${localstatedir}" | 21 | target_localstatedir := "${localstatedir}" |
| 27 | EXTRA_OECONF += "--with-opkglibdir=${localstatedir}/lib" | 22 | OPKGLIBDIR = "${target_localstatedir}/lib" |
| 28 | EXTRA_OECONF_class-native = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl" | 23 | |
| 29 | EXTRA_OECONF_class-nativesdk = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl" | 24 | SHARED_EXTRA_OECONF = "\ |
| 25 | --with-opkglibdir=${OPKGLIBDIR} \ | ||
| 26 | --disable-gpg \ | ||
| 27 | --disable-curl \ | ||
| 28 | --disable-openssl \ | ||
| 29 | " | ||
| 30 | EXTRA_OECONF_class-target = "${SHARED_EXTRA_OECONF} --disable-ssl-curl --disable-sha256" | ||
| 31 | EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF}" | ||
| 32 | EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF}" | ||
| 30 | 33 | ||
| 31 | PROVIDES += "virtual/update-alternatives" | 34 | PROVIDES += "virtual/update-alternatives" |
| 32 | RPROVIDES_update-alternatives-cworth += "update-alternatives" | 35 | RPROVIDES_update-alternatives-cworth += "update-alternatives" |
| @@ -41,11 +44,11 @@ PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg update-alternatives-cworth" | |||
| 41 | FILES_update-alternatives-cworth = "${bindir}/update-alternatives" | 44 | FILES_update-alternatives-cworth = "${bindir}/update-alternatives" |
| 42 | FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so" | 45 | FILES_libopkg-dev = "${libdir}/*.la ${libdir}/*.so" |
| 43 | FILES_libopkg-staticdev = "${libdir}/*.a" | 46 | FILES_libopkg-staticdev = "${libdir}/*.a" |
| 44 | FILES_libopkg = "${libdir}/*.so.* ${localstatedir}/lib/opkg/" | 47 | FILES_libopkg = "${libdir}/*.so.* ${OPKGLIBDIR}/opkg/" |
| 45 | 48 | ||
| 46 | do_install_append() { | 49 | do_install_append() { |
| 47 | # We need to create the lock directory | 50 | # We need to create the lock directory |
| 48 | install -d ${D}${localstatedir}/lib/opkg | 51 | install -d ${D}${OPKGLIBDIR}/opkg |
| 49 | } | 52 | } |
| 50 | 53 | ||
| 51 | do_install_append_class-native() { | 54 | do_install_append_class-native() { |
