bbclass: fix spelling mistakes
Fix some spelling mistakes in bbclass files (From OE-Core rev: ed484c06f436eea62c5d0b1a2964f219f3e5cb61) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cf218e56af
commit
a205c4ce1d
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# This class is used for architecture independent recipes/data files (usally scripts)
|
||||
# This class is used for architecture independent recipes/data files (usually scripts)
|
||||
#
|
||||
|
||||
# Expand STAGING_DIR_HOST since for cross-canadian/native/nativesdk, this will
|
||||
|
|
|
@ -254,7 +254,7 @@ python do_unpack_and_patch() {
|
|||
ar_outdir = d.getVar('ARCHIVER_OUTDIR', True)
|
||||
d.setVar('WORKDIR', ar_outdir)
|
||||
|
||||
# The changed 'WORKDIR' also casued 'B' changed, create dir 'B' for the
|
||||
# The changed 'WORKDIR' also caused 'B' changed, create dir 'B' for the
|
||||
# possibly requiring of the following tasks (such as some recipes's
|
||||
# do_patch required 'B' existed).
|
||||
bb.utils.mkdirhier(d.getVar('B', True))
|
||||
|
|
|
@ -24,7 +24,7 @@ sstate_install[vardepsexclude] += "buildhistory_emit_pkghistory"
|
|||
SSTATEPOSTINSTFUNCS[vardepvalueexclude] .= "| buildhistory_emit_pkghistory"
|
||||
|
||||
#
|
||||
# Write out metadata about this package for comparision when writing future packages
|
||||
# Write out metadata about this package for comparison when writing future packages
|
||||
#
|
||||
python buildhistory_emit_pkghistory() {
|
||||
if not d.getVar('BB_CURRENTTASK', True) in ['packagedata', 'packagedata_setscene']:
|
||||
|
|
|
@ -6,7 +6,7 @@ def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, d):
|
|||
|
||||
p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE)
|
||||
err, out = p.communicate()
|
||||
# If returned succesfully, process stderr for results
|
||||
# If returned successfully, process stderr for results
|
||||
if p.returncode != 0:
|
||||
return
|
||||
|
||||
|
@ -45,7 +45,7 @@ def process_file_darwin(cmd, fpath, rootdir, baseprefix, tmpdir, d):
|
|||
|
||||
p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', fpath],stdout=sub.PIPE,stderr=sub.PIPE)
|
||||
err, out = p.communicate()
|
||||
# If returned succesfully, process stderr for results
|
||||
# If returned successfully, process stderr for results
|
||||
if p.returncode != 0:
|
||||
return
|
||||
for l in err.split("\n"):
|
||||
|
|
|
@ -30,7 +30,7 @@ baselib = "lib"
|
|||
do_populate_sysroot[stamp-extra-info] = ""
|
||||
do_packagedata[stamp-extra-info] = ""
|
||||
|
||||
# Need to force this to ensure consitency accross architectures
|
||||
# Need to force this to ensure consitency across architectures
|
||||
EXTRA_OECONF_GCC_FLOAT = ""
|
||||
|
||||
USE_NLS = "no"
|
||||
|
|
|
@ -19,7 +19,7 @@ KERNEL_OBJECT_SUFFIX = ".ko"
|
|||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# Function to ensure the kernel scripts are created. Expected to
|
||||
# be called before do_compile. See module.bbclass for an exmaple.
|
||||
# be called before do_compile. See module.bbclass for an example.
|
||||
do_make_scripts() {
|
||||
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
|
||||
make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
|
||||
|
|
|
@ -1513,7 +1513,7 @@ python package_do_shlibs() {
|
|||
rpath = []
|
||||
p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-l', file],stdout=sub.PIPE,stderr=sub.PIPE)
|
||||
err, out = p.communicate()
|
||||
# If returned succesfully, process stderr for results
|
||||
# If returned successfully, process stderr for results
|
||||
if p.returncode == 0:
|
||||
for l in err.split("\n"):
|
||||
l = l.strip()
|
||||
|
@ -1522,7 +1522,7 @@ python package_do_shlibs() {
|
|||
|
||||
p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', file],stdout=sub.PIPE,stderr=sub.PIPE)
|
||||
err, out = p.communicate()
|
||||
# If returned succesfully, process stderr for results
|
||||
# If returned successfully, process stderr for results
|
||||
if p.returncode == 0:
|
||||
for l in err.split("\n"):
|
||||
l = l.strip()
|
||||
|
|
|
@ -21,7 +21,7 @@ APT_ARGS = "${@['', '--no-install-recommends'][d.getVar("NO_RECOMMENDATIONS", Tr
|
|||
# INSTALL_BASEARCH_DEB - install base architecutre
|
||||
# INSTALL_ARCHS_DEB - list of available archs
|
||||
# INSTALL_PACKAGES_NORMAL_DEB - packages to be installed
|
||||
# INSTALL_PACKAGES_ATTEMPTONLY_DEB - packages attemped to be installed only
|
||||
# INSTALL_PACKAGES_ATTEMPTONLY_DEB - packages attempted to be installed only
|
||||
# INSTALL_PACKAGES_LINGUAS_DEB - additional packages for uclibc
|
||||
# INSTALL_TASK_DEB - task name
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
# 'what' can be one of
|
||||
# * target: Returns the target name ("<arch>-<os>")
|
||||
# * endianess: Return "be" for big endian targets, "le" for little endian
|
||||
# * endianness: Return "be" for big endian targets, "le" for little endian
|
||||
# * bits: Returns the bit size of the target, either "32" or "64"
|
||||
# * libc: Returns the name of the c library used by the target
|
||||
#
|
||||
|
|
|
@ -232,7 +232,7 @@ def run_fossology(foss_command, full_spdx):
|
|||
# Package info
|
||||
package_info = {}
|
||||
if full_spdx:
|
||||
# All mandatory, only one occurance
|
||||
# All mandatory, only one occurrence
|
||||
package_info['PackageCopyrightText'] = re.findall('PackageCopyrightText: (.*?</text>)', foss_output, re.S)[0]
|
||||
package_info['PackageLicenseDeclared'] = re.findall('PackageLicenseDeclared: (.*)', foss_output)[0]
|
||||
package_info['PackageLicenseConcluded'] = re.findall('PackageLicenseConcluded: (.*)', foss_output)[0]
|
||||
|
|
|
@ -142,7 +142,7 @@ def tinder_send_http(d, status, _log):
|
|||
|
||||
selector = url + "/xml/build_status.pl"
|
||||
|
||||
# now post it - in chunks of 10.000 charachters
|
||||
# now post it - in chunks of 10.000 characters
|
||||
new_log = _log
|
||||
while len(new_log) > 0:
|
||||
content_type, body = tinder_format_http_post(d,status,new_log[0:18000])
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
# We need special processing for vardeps because it can not work on
|
||||
# modified flag values. So we agregate the flags into a new variable
|
||||
# modified flag values. So we aggregate the flags into a new variable
|
||||
# and include that vairable in the set.
|
||||
UPDALTVARS = "ALTERNATIVE ALTERNATIVE_LINK_NAME ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY"
|
||||
|
||||
|
|
Loading…
Reference in New Issue