diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/image_types.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/kernel.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/libc-package.bbclass | 20 | ||||
-rw-r--r-- | meta/classes/module-base.bbclass | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 4531aa2a57..7abb918212 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -17,7 +17,7 @@ RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" | |||
17 | 17 | ||
18 | INHIBIT_DEFAULT_DEPS = "1" | 18 | INHIBIT_DEFAULT_DEPS = "1" |
19 | 19 | ||
20 | TESTIMAGECLASS = "${@base_conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}" | 20 | TESTIMAGECLASS = "${@oe.utils.conditional('TEST_IMAGE', '1', 'testimage-auto', '', d)}" |
21 | inherit ${TESTIMAGECLASS} | 21 | inherit ${TESTIMAGECLASS} |
22 | 22 | ||
23 | # IMAGE_FEATURES may contain any available package group | 23 | # IMAGE_FEATURES may contain any available package group |
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index b17c435274..ae3e6edef3 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -228,7 +228,7 @@ IMAGE_CMD_f2fs () { | |||
228 | EXTRA_IMAGECMD = "" | 228 | EXTRA_IMAGECMD = "" |
229 | 229 | ||
230 | inherit siteinfo kernel-arch | 230 | inherit siteinfo kernel-arch |
231 | JFFS2_ENDIANNESS ?= "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-l', '-b', d)}" | 231 | JFFS2_ENDIANNESS ?= "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-l', '-b', d)}" |
232 | JFFS2_ERASEBLOCK ?= "0x40000" | 232 | JFFS2_ERASEBLOCK ?= "0x40000" |
233 | EXTRA_IMAGECMD_jffs2 ?= "--pad ${JFFS2_ENDIANNESS} --eraseblock=${JFFS2_ERASEBLOCK} --no-cleanmarkers" | 233 | EXTRA_IMAGECMD_jffs2 ?= "--pad ${JFFS2_ENDIANNESS} --eraseblock=${JFFS2_ERASEBLOCK} --no-cleanmarkers" |
234 | 234 | ||
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 2f6eca382e..943938df0e 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -547,7 +547,7 @@ RDEPENDS_${KERNEL_PACKAGE_NAME} = "${KERNEL_PACKAGE_NAME}-base" | |||
547 | # not wanted in images as standard | 547 | # not wanted in images as standard |
548 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image" | 548 | RDEPENDS_${KERNEL_PACKAGE_NAME}-base ?= "${KERNEL_PACKAGE_NAME}-image" |
549 | PKG_${KERNEL_PACKAGE_NAME}-image = "${KERNEL_PACKAGE_NAME}-image-${@legitimize_package_name('${KERNEL_VERSION}')}" | 549 | PKG_${KERNEL_PACKAGE_NAME}-image = "${KERNEL_PACKAGE_NAME}-image-${@legitimize_package_name('${KERNEL_VERSION}')}" |
550 | RDEPENDS_${KERNEL_PACKAGE_NAME}-image += "${@base_conditional('KERNEL_IMAGETYPE', 'vmlinux', '${KERNEL_PACKAGE_NAME}-vmlinux', '', d)}" | 550 | RDEPENDS_${KERNEL_PACKAGE_NAME}-image += "${@oe.utils.conditional('KERNEL_IMAGETYPE', 'vmlinux', '${KERNEL_PACKAGE_NAME}-vmlinux', '', d)}" |
551 | PKG_${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-${@legitimize_package_name('${KERNEL_VERSION}')}" | 551 | PKG_${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-${@legitimize_package_name('${KERNEL_VERSION}')}" |
552 | RPROVIDES_${KERNEL_PACKAGE_NAME}-base += "${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}" | 552 | RPROVIDES_${KERNEL_PACKAGE_NAME}-base += "${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}" |
553 | ALLOW_EMPTY_${KERNEL_PACKAGE_NAME} = "1" | 553 | ALLOW_EMPTY_${KERNEL_PACKAGE_NAME} = "1" |
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 739adce694..2e7cd25297 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -113,9 +113,9 @@ python package_do_split_gconvs () { | |||
113 | bb.error("datadir not defined") | 113 | bb.error("datadir not defined") |
114 | return | 114 | return |
115 | 115 | ||
116 | gconv_libdir = base_path_join(libdir, "gconv") | 116 | gconv_libdir = oe.path.join(libdir, "gconv") |
117 | charmap_dir = base_path_join(datadir, "i18n", "charmaps") | 117 | charmap_dir = oe.path.join(datadir, "i18n", "charmaps") |
118 | locales_dir = base_path_join(datadir, "i18n", "locales") | 118 | locales_dir = oe.path.join(datadir, "i18n", "locales") |
119 | binary_locales_dir = d.getVar('localedir') | 119 | binary_locales_dir = d.getVar('localedir') |
120 | 120 | ||
121 | def calc_gconv_deps(fn, pkg, file_regex, output_pattern, group): | 121 | def calc_gconv_deps(fn, pkg, file_regex, output_pattern, group): |
@@ -189,7 +189,7 @@ python package_do_split_gconvs () { | |||
189 | 189 | ||
190 | # Read in supported locales and associated encodings | 190 | # Read in supported locales and associated encodings |
191 | supported = {} | 191 | supported = {} |
192 | with open(base_path_join(d.getVar('WORKDIR'), "SUPPORTED")) as f: | 192 | with open(oe.path.join(d.getVar('WORKDIR'), "SUPPORTED")) as f: |
193 | for line in f.readlines(): | 193 | for line in f.readlines(): |
194 | try: | 194 | try: |
195 | locale, charset = line.rstrip().split() | 195 | locale, charset = line.rstrip().split() |
@@ -231,12 +231,12 @@ python package_do_split_gconvs () { | |||
231 | commands = {} | 231 | commands = {} |
232 | 232 | ||
233 | def output_locale_binary(name, pkgname, locale, encoding): | 233 | def output_locale_binary(name, pkgname, locale, encoding): |
234 | treedir = base_path_join(d.getVar("WORKDIR"), "locale-tree") | 234 | treedir = oe.path.join(d.getVar("WORKDIR"), "locale-tree") |
235 | ldlibdir = base_path_join(treedir, d.getVar("base_libdir")) | 235 | ldlibdir = oe.path.join(treedir, d.getVar("base_libdir")) |
236 | path = d.getVar("PATH") | 236 | path = d.getVar("PATH") |
237 | i18npath = base_path_join(treedir, datadir, "i18n") | 237 | i18npath = oe.path.join(treedir, datadir, "i18n") |
238 | gconvpath = base_path_join(treedir, "iconvdata") | 238 | gconvpath = oe.path.join(treedir, "iconvdata") |
239 | outputpath = base_path_join(treedir, binary_locales_dir) | 239 | outputpath = oe.path.join(treedir, binary_locales_dir) |
240 | 240 | ||
241 | use_cross_localedef = d.getVar("LOCALE_GENERATION_WITH_CROSS-LOCALEDEF") or "0" | 241 | use_cross_localedef = d.getVar("LOCALE_GENERATION_WITH_CROSS-LOCALEDEF") or "0" |
242 | if use_cross_localedef == "1": | 242 | if use_cross_localedef == "1": |
@@ -344,7 +344,7 @@ python package_do_split_gconvs () { | |||
344 | d.appendVar('RDEPENDS_%s' % metapkg, ' ' + pkg) | 344 | d.appendVar('RDEPENDS_%s' % metapkg, ' ' + pkg) |
345 | 345 | ||
346 | if use_bin == "compile": | 346 | if use_bin == "compile": |
347 | makefile = base_path_join(d.getVar("WORKDIR"), "locale-tree", "Makefile") | 347 | makefile = oe.path.join(d.getVar("WORKDIR"), "locale-tree", "Makefile") |
348 | m = open(makefile, "w") | 348 | m = open(makefile, "w") |
349 | m.write("all: %s\n\n" % " ".join(commands.keys())) | 349 | m.write("all: %s\n\n" % " ".join(commands.keys())) |
350 | for cmd in commands: | 350 | for cmd in commands: |
diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass index 6fe77c01b7..f851b85163 100644 --- a/meta/classes/module-base.bbclass +++ b/meta/classes/module-base.bbclass | |||
@@ -12,7 +12,7 @@ export CROSS_COMPILE = "${TARGET_PREFIX}" | |||
12 | # we didn't pick the name. | 12 | # we didn't pick the name. |
13 | export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}" | 13 | export KBUILD_OUTPUT = "${STAGING_KERNEL_BUILDDIR}" |
14 | 14 | ||
15 | export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}" | 15 | export KERNEL_VERSION = "${@oe.utils.read_file('${STAGING_KERNEL_BUILDDIR}/kernel-abiversion')}" |
16 | KERNEL_OBJECT_SUFFIX = ".ko" | 16 | KERNEL_OBJECT_SUFFIX = ".ko" |
17 | 17 | ||
18 | # kernel modules are generally machine specific | 18 | # kernel modules are generally machine specific |