diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/libtool/libtool-cross_1.5.10.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-cross_1.5.22.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-cross_1.5.24.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-cross_2.2.4.bb | 6 | ||||
-rw-r--r-- | recipes/libtool/libtool-cross_2.2.6a.bb | 6 | ||||
-rw-r--r-- | recipes/libtool/libtool-native_1.5.10.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-native_1.5.22.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-native_1.5.24.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-native_2.2.4.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-native_2.2.6a.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-sdk_1.5.10.bb | 1 | ||||
-rw-r--r-- | recipes/libtool/libtool-sdk_2.2.4.bb | 6 | ||||
-rw-r--r-- | recipes/libtool/libtool-sdk_2.2.6a.bb | 6 | ||||
-rw-r--r-- | recipes/libtool/libtool.inc | 12 | ||||
-rw-r--r-- | recipes/libtool/libtool_2.2.4.bb | 12 | ||||
-rw-r--r-- | recipes/libtool/libtool_2.2.6a.bb | 12 |
16 files changed, 11 insertions, 58 deletions
diff --git a/recipes/libtool/libtool-cross_1.5.10.bb b/recipes/libtool/libtool-cross_1.5.10.bb index 256e71c05a..910ff12066 100644 --- a/recipes/libtool/libtool-cross_1.5.10.bb +++ b/recipes/libtool/libtool-cross_1.5.10.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-cross_1.5.22.bb b/recipes/libtool/libtool-cross_1.5.22.bb index 949031146c..b0cee4eebb 100644 --- a/recipes/libtool/libtool-cross_1.5.22.bb +++ b/recipes/libtool/libtool-cross_1.5.22.bb @@ -1,6 +1,5 @@ DEFAULT_PREFERENCE = "-1" -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-cross_1.5.24.bb b/recipes/libtool/libtool-cross_1.5.24.bb index 2a7e4d7288..1f8527873f 100644 --- a/recipes/libtool/libtool-cross_1.5.24.bb +++ b/recipes/libtool/libtool-cross_1.5.24.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-cross_2.2.4.bb b/recipes/libtool/libtool-cross_2.2.4.bb index e2c6bbeb6a..31a67f5bd1 100644 --- a/recipes/libtool/libtool-cross_2.2.4.bb +++ b/recipes/libtool/libtool-cross_2.2.4.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" @@ -22,11 +21,6 @@ prefix = "${STAGING_DIR_NATIVE}${layout_prefix}" exec_prefix = "${STAGING_DIR_NATIVE}${layout_exec_prefix}" bindir = "${STAGING_BINDIR_NATIVE}" -# skip ac_cv_... setting for cross build: host paths must be used -do_configure_prepend () { - export LIBTOOL_BB_DO_NOT_SET_PATHS=1 -} - do_compile () { : } diff --git a/recipes/libtool/libtool-cross_2.2.6a.bb b/recipes/libtool/libtool-cross_2.2.6a.bb index b26e7cc26a..23c16829ab 100644 --- a/recipes/libtool/libtool-cross_2.2.6a.bb +++ b/recipes/libtool/libtool-cross_2.2.6a.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" @@ -20,11 +19,6 @@ prefix = "${STAGING_DIR_NATIVE}${layout_prefix}" exec_prefix = "${STAGING_DIR_NATIVE}${layout_exec_prefix}" bindir = "${STAGING_BINDIR_NATIVE}" -# skip ac_cv_... setting for cross build: host paths must be used -do_configure_prepend () { - export LIBTOOL_BB_DO_NOT_SET_PATHS=1 -} - do_compile () { : } diff --git a/recipes/libtool/libtool-native_1.5.10.bb b/recipes/libtool/libtool-native_1.5.10.bb index 362aea22f7..76cbb4baf0 100644 --- a/recipes/libtool/libtool-native_1.5.10.bb +++ b/recipes/libtool/libtool-native_1.5.10.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-native_1.5.22.bb b/recipes/libtool/libtool-native_1.5.22.bb index 4d660f4965..3aadb2be01 100644 --- a/recipes/libtool/libtool-native_1.5.22.bb +++ b/recipes/libtool/libtool-native_1.5.22.bb @@ -1,6 +1,5 @@ DEFAULT_PREFERENCE = "-1" -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-native_1.5.24.bb b/recipes/libtool/libtool-native_1.5.24.bb index 95368819bb..f767afcd63 100644 --- a/recipes/libtool/libtool-native_1.5.24.bb +++ b/recipes/libtool/libtool-native_1.5.24.bb @@ -1,6 +1,5 @@ SECTION = "devel" -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-native_2.2.4.bb b/recipes/libtool/libtool-native_2.2.4.bb index 06564c74c3..a7ad685909 100644 --- a/recipes/libtool/libtool-native_2.2.4.bb +++ b/recipes/libtool/libtool-native_2.2.4.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-native_2.2.6a.bb b/recipes/libtool/libtool-native_2.2.6a.bb index e699a2f33c..082663a280 100644 --- a/recipes/libtool/libtool-native_2.2.6a.bb +++ b/recipes/libtool/libtool-native_2.2.6a.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-sdk_1.5.10.bb b/recipes/libtool/libtool-sdk_1.5.10.bb index 21e408dc73..ac188bdecd 100644 --- a/recipes/libtool/libtool-sdk_1.5.10.bb +++ b/recipes/libtool/libtool-sdk_1.5.10.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" diff --git a/recipes/libtool/libtool-sdk_2.2.4.bb b/recipes/libtool/libtool-sdk_2.2.4.bb index 0e9ae9b66e..c934a6e390 100644 --- a/recipes/libtool/libtool-sdk_2.2.4.bb +++ b/recipes/libtool/libtool-sdk_2.2.4.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" @@ -9,11 +8,6 @@ S = "${WORKDIR}/libtool-${PV}" inherit sdk -# skip ac_cv_... setting for cross build: host paths must be used -do_configure_prepend () { - export LIBTOOL_BB_DO_NOT_SET_PATHS=1 -} - do_install () { install -d ${D}${bindir}/ install -m 0755 libtool ${D}${bindir}/ diff --git a/recipes/libtool/libtool-sdk_2.2.6a.bb b/recipes/libtool/libtool-sdk_2.2.6a.bb index 263879beeb..7e269ef381 100644 --- a/recipes/libtool/libtool-sdk_2.2.6a.bb +++ b/recipes/libtool/libtool-sdk_2.2.6a.bb @@ -1,4 +1,3 @@ -require libtool.inc require libtool_${PV}.bb PR = "${INC_PR}.0" @@ -6,11 +5,6 @@ SRC_URI_append = " file://cross_compile.patch;patch=1" inherit sdk -# skip ac_cv_... setting for cross build: host paths must be used -do_configure_prepend () { - export LIBTOOL_BB_DO_NOT_SET_PATHS=1 -} - do_install () { install -d ${D}${bindir}/ install -m 0755 libtool ${D}${bindir}/ diff --git a/recipes/libtool/libtool.inc b/recipes/libtool/libtool.inc index 9cc74010c6..838f029236 100644 --- a/recipes/libtool/libtool.inc +++ b/recipes/libtool/libtool.inc @@ -6,6 +6,16 @@ HOMEPAGE = "http://www.gnu.org/software/libtool/libtool.html" LICENSE = "GPL" SECTION = "devel" -INC_PR = "r24" +INC_PR = "r25" FILESPATHPKG=. "libtool-${PV}:" + +do_configure_prepend () { + if ${@['true', 'false'][bb.data.inherits_class('native', d) or bb.data.inherits_class('sdk', d) or (bb.data.getVar('PN', d, 1) == 'libtool-cross')]} + then + export ac_cv_path_SED="${ac_cv_path_SED=${base_bindir}/sed}" + export ac_cv_path_GREP="${ac_cv_path_GREP=${base_bindir}/grep}" + export ac_cv_path_EGREP="${ac_cv_path_EGREP=${base_bindir}/grep -E}" + export ac_cv_path_FGREP="${ac_cv_path_FGREP=${base_bindir}/grep -F}" + fi +} diff --git a/recipes/libtool/libtool_2.2.4.bb b/recipes/libtool/libtool_2.2.4.bb index 6de7336406..65c2d178ab 100644 --- a/recipes/libtool/libtool_2.2.4.bb +++ b/recipes/libtool/libtool_2.2.4.bb @@ -14,18 +14,6 @@ inherit autotools EXTRA_AUTORECONF = "--exclude=libtoolize" -do_configure_prepend () { - # Skip this for native build: - if test -n "$CONFIG_SITE" ; then - if test -z "$LIBTOOL_BB_DO_NOT_SET_PATHS" ; then - export ac_cv_path_SED="${ac_cv_path_SED=/bin/sed}" - export ac_cv_path_GREP="${ac_cv_path_GREP=/bin/grep}" - export ac_cv_path_EGREP="${ac_cv_path_EGREP=/bin/grep -E}" - export ac_cv_path_FGREP="${ac_cv_path_FGREP=/bin/grep -F}" - fi - fi -} - do_stage () { install -d ${STAGING_INCDIR}/libltdl install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/ diff --git a/recipes/libtool/libtool_2.2.6a.bb b/recipes/libtool/libtool_2.2.6a.bb index c69a937f16..0595613159 100644 --- a/recipes/libtool/libtool_2.2.6a.bb +++ b/recipes/libtool/libtool_2.2.6a.bb @@ -16,18 +16,6 @@ inherit autotools EXTRA_AUTORECONF = "--exclude=libtoolize" -do_configure_prepend () { - # Skip this for native build: - if test -n "$CONFIG_SITE" ; then - if test -z "$LIBTOOL_BB_DO_NOT_SET_PATHS" ; then - export ac_cv_path_SED="${ac_cv_path_SED=/bin/sed}" - export ac_cv_path_GREP="${ac_cv_path_GREP=/bin/grep}" - export ac_cv_path_EGREP="${ac_cv_path_EGREP=/bin/grep -E}" - export ac_cv_path_FGREP="${ac_cv_path_FGREP=/bin/grep -F}" - fi - fi -} - do_stage () { install -d ${STAGING_INCDIR}/libltdl install -m 0644 libltdl/ltdl.h ${STAGING_INCDIR}/ |