aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/h1940.conf
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-11-11 01:44:32 +0000
committerHolger Freyther <zecke@selfish.org>2006-11-11 01:44:32 +0000
commit163652f7fb3d27a7efabe76c35f5b903b74bc8a7 (patch)
tree8bd951e1e5aad65055175d1c66d2113ff0d00922 /conf/machine/h1940.conf
parent8b86a9487bc7ba997496ca8952f5045686dea6e5 (diff)
downloadopenembedded-163652f7fb3d27a7efabe76c35f5b903b74bc8a7.tar.gz
Add quotes for assignments to make the new parser happy
Diffstat (limited to 'conf/machine/h1940.conf')
-rw-r--r--conf/machine/h1940.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/machine/h1940.conf b/conf/machine/h1940.conf
index 3f3b2f916e..1ea4a68639 100644
--- a/conf/machine/h1940.conf
+++ b/conf/machine/h1940.conf
@@ -3,7 +3,7 @@
#@DESCRIPTION: Machine configuration for the HP iPAQ h1930 and h1940
IPKG_EXTRA_ARCHS = "armv4 armv4t armv5e armv5te"
-TARGET_ARCH = arm
+TARGET_ARCH = "arm"
PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
PREFERRED_PROVIDER_virtual/kernel = "linux-h1940"
PREFERRED_PROVIDERS += "virtual/${TARGET_PREFIX}depmod:module-init-tools-cross"
option> OpenEmbedded Core user contribution treesGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/multilib_script.bbclass
blob: a5a552b7163e3fedac58107f22d6057a2ffeca69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# Recipe needs to set MULTILIB_SCRIPTS in the form <pkgname>:<scriptname>, e.g.
# MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/file1 ${PN}:${base_bindir}/file2"
# to indicate which script files to process from which packages.
#

inherit update-alternatives

MULTILIB_SUFFIX = "${@d.getVar('base_libdir',1).split('/')[-1]}"

PACKAGE_PREPROCESS_FUNCS += "multilibscript_rename"

multilibscript_rename() {
	:
}

python () {
    # Do nothing if multilib isn't being used
    if not d.getVar("MULTILIB_VARIANTS"):
       return
    # Do nothing for native/cross
    if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d):
       return

    for entry in (d.getVar("MULTILIB_SCRIPTS", False) or "").split():
       pkg, script = entry.split(":")
       scriptname = os.path.basename(script)
       d.setVar("ALTERNATIVE_" + pkg, scriptname)
       d.setVarFlag("ALTERNATIVE_LINK_NAME", scriptname, script)
       d.setVarFlag("ALTERNATIVE_TARGET", scriptname, script + "-${MULTILIB_SUFFIX}")
       d.appendVar("multilibscript_rename",  "\n	mv ${PKGD}" + script + " ${PKGD}" + script + "-${MULTILIB_SUFFIX}")
}