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:15:29 +0000 |
commit | 9fbeab63315fef0dbcc91c5e7051665764758a6e (patch) | |
tree | 66b3a69eb72f365f6b8031944431b0ff1e261da5 /meta | |
parent | 651c6fd6ef8be17ecba53f8054d24d1077198d5b (diff) | |
download | openembedded-core-contrib-9fbeab63315fef0dbcc91c5e7051665764758a6e.tar.gz |
classes: 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]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/cross.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/insane.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/update-rc.d.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/useradd.bbclass | 16 |
5 files changed, 16 insertions, 16 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index e998307236a..735f6d263fb 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -7,7 +7,7 @@ EXCLUDE_FROM_WORLD = "1" CLASSOVERRIDE = "class-cross" PACKAGES = "" PACKAGES_DYNAMIC = "" -PACKAGES_DYNAMIC_virtclass-native = "" +PACKAGES_DYNAMIC_class-native = "" HOST_ARCH = "${BUILD_ARCH}" HOST_VENDOR = "${BUILD_VENDOR}" diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 2dc9ba31f7c..d51d1a1e004 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -24,8 +24,8 @@ PACKAGEFUNCS += " do_package_qa " # unsafe-references-in-binaries requires prelink-rtld from # prelink-native, but we don't want this DEPENDS for -native builds QADEPENDS = "prelink-native" -QADEPENDS_virtclass-native = "" -QADEPENDS_virtclass-nativesdk = "" +QADEPENDS_class-native = "" +QADEPENDS_class-nativesdk = "" # # dictionary for elf headers diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 93f96f5dadb..6314ba1b1de 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -6,14 +6,14 @@ inherit relocatable EXCLUDE_FROM_WORLD = "1" PACKAGES = "" -PACKAGES_virtclass-native = "" +PACKAGES_class-native = "" PACKAGES_DYNAMIC = "" -PACKAGES_DYNAMIC_virtclass-native = "" +PACKAGES_DYNAMIC_class-native = "" PACKAGE_ARCH = "${BUILD_ARCH}" # used by cmake class OECMAKE_RPATH = "${libdir}" -OECMAKE_RPATH_virtclass-native = "${libdir}" +OECMAKE_RPATH_class-native = "${libdir}" # When this class has packaging enabled, setting # RPROVIDES becomes unnecessary. diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index eef2e8caa03..33642691671 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass @@ -3,8 +3,8 @@ UPDATERCPN ?= "${PN}" DEPENDS_append = " update-rc.d-native" UPDATERCD = "update-rc.d" UPDATERCD_virtclass-cross = "" -UPDATERCD_virtclass-native = "" -UPDATERCD_virtclass-nativesdk = "" +UPDATERCD_class-native = "" +UPDATERCD_class-nativesdk = "" RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index bb8f42b357a..0a4febadc8a 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass @@ -4,8 +4,8 @@ DEPENDS_append = "${USERADDDEPENDS}" USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" USERADDDEPENDS_virtclass-cross = "" -USERADDDEPENDS_virtclass-native = "" -USERADDDEPENDS_virtclass-nativesdk = "" +USERADDDEPENDS_class-native = "" +USERADDDEPENDS_class-nativesdk = "" # This preinstall function can be run in four different contexts: # @@ -138,18 +138,18 @@ useradd_sysroot_sstate () { do_install[prefuncs] += "${SYSROOTFUNC}" SYSROOTFUNC = "useradd_sysroot" SYSROOTFUNC_virtclass-cross = "" -SYSROOTFUNC_virtclass-native = "" -SYSROOTFUNC_virtclass-nativesdk = "" +SYSROOTFUNC_class-native = "" +SYSROOTFUNC_class-nativesdk = "" SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" SYSROOTPOSTFUNC = "useradd_sysroot_sstate" SYSROOTPOSTFUNC_virtclass-cross = "" -SYSROOTPOSTFUNC_virtclass-native = "" -SYSROOTPOSTFUNC_virtclass-nativesdk = "" +SYSROOTPOSTFUNC_class-native = "" +SYSROOTPOSTFUNC_class-nativesdk = "" USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" USERADDSETSCENEDEPS_virtclass-cross = "" -USERADDSETSCENEDEPS_virtclass-native = "" -USERADDSETSCENEDEPS_virtclass-nativesdk = "" +USERADDSETSCENEDEPS_class-native = "" +USERADDSETSCENEDEPS_class-nativesdk = "" do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" # Recipe parse-time sanity checks |