diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:29 +0000 |
| commit | aea2d8c02c7abd7ecbabae8b3932ceb7a01cb20d (patch) | |
| tree | 11e419c0fceecd67e09f98feafc0adb7e1015b6a /meta/recipes-devtools/bison | |
| parent | d005b787dfe2c9bcaefe41836f9b1c3008105171 (diff) | |
| download | poky-aea2d8c02c7abd7ecbabae8b3932ceb7a01cb20d.tar.gz | |
recipes-devtools: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
[YOCTO #3297]
(From OE-Core rev: bb67ddeb2eed3e25c626a279ef53a7e8c7bfe6f2)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bison')
| -rw-r--r-- | meta/recipes-devtools/bison/bison_2.3.bb | 6 | ||||
| -rw-r--r-- | meta/recipes-devtools/bison/bison_2.5.1.bb | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/bison/bison_2.3.bb b/meta/recipes-devtools/bison/bison_2.3.bb index 86edf3ee1d..027782c928 100644 --- a/meta/recipes-devtools/bison/bison_2.3.bb +++ b/meta/recipes-devtools/bison/bison_2.3.bb | |||
| @@ -19,8 +19,8 @@ SRC_URI = "${BASE_SRC_URI}" | |||
| 19 | SRC_URI[md5sum] = "22327efdd5080e2b1acb6e560a04b43a" | 19 | SRC_URI[md5sum] = "22327efdd5080e2b1acb6e560a04b43a" |
| 20 | SRC_URI[sha256sum] = "52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e" | 20 | SRC_URI[sha256sum] = "52f78aa4761a74ceb7fdf770f3554dd84308c3b93c4255e3a5c17558ecda293e" |
| 21 | 21 | ||
| 22 | DEPENDS_virtclass-native = "gettext-native" | 22 | DEPENDS_class-native = "gettext-native" |
| 23 | SRC_URI_virtclass-native = "${BASE_SRC_URI}" | 23 | SRC_URI_class-native = "${BASE_SRC_URI}" |
| 24 | 24 | ||
| 25 | inherit autotools gettext | 25 | inherit autotools gettext |
| 26 | acpaths = "-I ${S}/m4" | 26 | acpaths = "-I ${S}/m4" |
| @@ -30,7 +30,7 @@ do_configure_prepend () { | |||
| 30 | cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/runtime-po/ | 30 | cp ${STAGING_DATADIR_NATIVE}/gettext/po/Makefile.in.in ${S}/runtime-po/ |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | do_install_append_virtclass-native() { | 33 | do_install_append_class-native() { |
| 34 | create_wrapper ${D}/${bindir}/bison \ | 34 | create_wrapper ${D}/${bindir}/bison \ |
| 35 | M4=${STAGING_BINDIR_NATIVE}/m4 \ | 35 | M4=${STAGING_BINDIR_NATIVE}/m4 \ |
| 36 | BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison | 36 | BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison |
diff --git a/meta/recipes-devtools/bison/bison_2.5.1.bb b/meta/recipes-devtools/bison/bison_2.5.1.bb index 47b4a6cd88..5fe5113761 100644 --- a/meta/recipes-devtools/bison/bison_2.5.1.bb +++ b/meta/recipes-devtools/bison/bison_2.5.1.bb | |||
| @@ -21,13 +21,13 @@ SRC_URI[md5sum] = "8fedf916f1aa2c4a31441d8f8bbc603c" | |||
| 21 | SRC_URI[sha256sum] = "48dc3649231b75ac160d73528000ec89b6cd8d3b87cb7d0713f72ef4610442d4" | 21 | SRC_URI[sha256sum] = "48dc3649231b75ac160d73528000ec89b6cd8d3b87cb7d0713f72ef4610442d4" |
| 22 | 22 | ||
| 23 | LDFLAGS_prepend_libc-uclibc = " -lrt " | 23 | LDFLAGS_prepend_libc-uclibc = " -lrt " |
| 24 | DEPENDS_virtclass-native = "gettext-minimal-native" | 24 | DEPENDS_class-native = "gettext-minimal-native" |
| 25 | SRC_URI_virtclass-native = "${BASE_SRC_URI}" | 25 | SRC_URI_class-native = "${BASE_SRC_URI}" |
| 26 | 26 | ||
| 27 | inherit autotools gettext | 27 | inherit autotools gettext |
| 28 | acpaths = "-I ${S}/m4" | 28 | acpaths = "-I ${S}/m4" |
| 29 | 29 | ||
| 30 | do_install_append_virtclass-native() { | 30 | do_install_append_class-native() { |
| 31 | create_wrapper ${D}/${bindir}/bison \ | 31 | create_wrapper ${D}/${bindir}/bison \ |
| 32 | M4=${STAGING_BINDIR_NATIVE}/m4 \ | 32 | M4=${STAGING_BINDIR_NATIVE}/m4 \ |
| 33 | BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison | 33 | BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison |
