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:27 +0000 |
commit | 51c7ad682f00a13ada21c5458030948aaa699748 (patch) | |
tree | bf3c399c846b7c952ac21993bb4458869cdc85c3 | |
parent | ffec48ad4e16bfd85ac852d907e4f14fc155eef0 (diff) | |
download | poky-51c7ad682f00a13ada21c5458030948aaa699748.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]
(From OE-Core rev: 9fbeab63315fef0dbcc91c5e7051665764758a6e)
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>
-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 e998307236..735f6d263f 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -7,7 +7,7 @@ EXCLUDE_FROM_WORLD = "1" | |||
7 | CLASSOVERRIDE = "class-cross" | 7 | CLASSOVERRIDE = "class-cross" |
8 | PACKAGES = "" | 8 | PACKAGES = "" |
9 | PACKAGES_DYNAMIC = "" | 9 | PACKAGES_DYNAMIC = "" |
10 | PACKAGES_DYNAMIC_virtclass-native = "" | 10 | PACKAGES_DYNAMIC_class-native = "" |
11 | 11 | ||
12 | HOST_ARCH = "${BUILD_ARCH}" | 12 | HOST_ARCH = "${BUILD_ARCH}" |
13 | HOST_VENDOR = "${BUILD_VENDOR}" | 13 | HOST_VENDOR = "${BUILD_VENDOR}" |
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 2dc9ba31f7..d51d1a1e00 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -24,8 +24,8 @@ PACKAGEFUNCS += " do_package_qa " | |||
24 | # unsafe-references-in-binaries requires prelink-rtld from | 24 | # unsafe-references-in-binaries requires prelink-rtld from |
25 | # prelink-native, but we don't want this DEPENDS for -native builds | 25 | # prelink-native, but we don't want this DEPENDS for -native builds |
26 | QADEPENDS = "prelink-native" | 26 | QADEPENDS = "prelink-native" |
27 | QADEPENDS_virtclass-native = "" | 27 | QADEPENDS_class-native = "" |
28 | QADEPENDS_virtclass-nativesdk = "" | 28 | QADEPENDS_class-nativesdk = "" |
29 | 29 | ||
30 | # | 30 | # |
31 | # dictionary for elf headers | 31 | # dictionary for elf headers |
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 93f96f5dad..6314ba1b1d 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -6,14 +6,14 @@ inherit relocatable | |||
6 | EXCLUDE_FROM_WORLD = "1" | 6 | EXCLUDE_FROM_WORLD = "1" |
7 | 7 | ||
8 | PACKAGES = "" | 8 | PACKAGES = "" |
9 | PACKAGES_virtclass-native = "" | 9 | PACKAGES_class-native = "" |
10 | PACKAGES_DYNAMIC = "" | 10 | PACKAGES_DYNAMIC = "" |
11 | PACKAGES_DYNAMIC_virtclass-native = "" | 11 | PACKAGES_DYNAMIC_class-native = "" |
12 | PACKAGE_ARCH = "${BUILD_ARCH}" | 12 | PACKAGE_ARCH = "${BUILD_ARCH}" |
13 | 13 | ||
14 | # used by cmake class | 14 | # used by cmake class |
15 | OECMAKE_RPATH = "${libdir}" | 15 | OECMAKE_RPATH = "${libdir}" |
16 | OECMAKE_RPATH_virtclass-native = "${libdir}" | 16 | OECMAKE_RPATH_class-native = "${libdir}" |
17 | 17 | ||
18 | # When this class has packaging enabled, setting | 18 | # When this class has packaging enabled, setting |
19 | # RPROVIDES becomes unnecessary. | 19 | # RPROVIDES becomes unnecessary. |
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass index eef2e8caa0..3364269167 100644 --- a/meta/classes/update-rc.d.bbclass +++ b/meta/classes/update-rc.d.bbclass | |||
@@ -3,8 +3,8 @@ UPDATERCPN ?= "${PN}" | |||
3 | DEPENDS_append = " update-rc.d-native" | 3 | DEPENDS_append = " update-rc.d-native" |
4 | UPDATERCD = "update-rc.d" | 4 | UPDATERCD = "update-rc.d" |
5 | UPDATERCD_virtclass-cross = "" | 5 | UPDATERCD_virtclass-cross = "" |
6 | UPDATERCD_virtclass-native = "" | 6 | UPDATERCD_class-native = "" |
7 | UPDATERCD_virtclass-nativesdk = "" | 7 | UPDATERCD_class-nativesdk = "" |
8 | 8 | ||
9 | RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" | 9 | RDEPENDS_${UPDATERCPN}_append = " ${UPDATERCD}" |
10 | 10 | ||
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index bb8f42b357..0a4febadc8 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -4,8 +4,8 @@ | |||
4 | DEPENDS_append = "${USERADDDEPENDS}" | 4 | DEPENDS_append = "${USERADDDEPENDS}" |
5 | USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" | 5 | USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" |
6 | USERADDDEPENDS_virtclass-cross = "" | 6 | USERADDDEPENDS_virtclass-cross = "" |
7 | USERADDDEPENDS_virtclass-native = "" | 7 | USERADDDEPENDS_class-native = "" |
8 | USERADDDEPENDS_virtclass-nativesdk = "" | 8 | USERADDDEPENDS_class-nativesdk = "" |
9 | 9 | ||
10 | # This preinstall function can be run in four different contexts: | 10 | # This preinstall function can be run in four different contexts: |
11 | # | 11 | # |
@@ -138,18 +138,18 @@ useradd_sysroot_sstate () { | |||
138 | do_install[prefuncs] += "${SYSROOTFUNC}" | 138 | do_install[prefuncs] += "${SYSROOTFUNC}" |
139 | SYSROOTFUNC = "useradd_sysroot" | 139 | SYSROOTFUNC = "useradd_sysroot" |
140 | SYSROOTFUNC_virtclass-cross = "" | 140 | SYSROOTFUNC_virtclass-cross = "" |
141 | SYSROOTFUNC_virtclass-native = "" | 141 | SYSROOTFUNC_class-native = "" |
142 | SYSROOTFUNC_virtclass-nativesdk = "" | 142 | SYSROOTFUNC_class-nativesdk = "" |
143 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" | 143 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" |
144 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" | 144 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" |
145 | SYSROOTPOSTFUNC_virtclass-cross = "" | 145 | SYSROOTPOSTFUNC_virtclass-cross = "" |
146 | SYSROOTPOSTFUNC_virtclass-native = "" | 146 | SYSROOTPOSTFUNC_class-native = "" |
147 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" | 147 | SYSROOTPOSTFUNC_class-nativesdk = "" |
148 | 148 | ||
149 | USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" | 149 | USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" |
150 | USERADDSETSCENEDEPS_virtclass-cross = "" | 150 | USERADDSETSCENEDEPS_virtclass-cross = "" |
151 | USERADDSETSCENEDEPS_virtclass-native = "" | 151 | USERADDSETSCENEDEPS_class-native = "" |
152 | USERADDSETSCENEDEPS_virtclass-nativesdk = "" | 152 | USERADDSETSCENEDEPS_class-nativesdk = "" |
153 | do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" | 153 | do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" |
154 | 154 | ||
155 | # Recipe parse-time sanity checks | 155 | # Recipe parse-time sanity checks |