repo.or.cz
/
openembedded.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
weekly-changelog-report: make script more general
[openembedded.git]
/
classes
/
chicken.bbclass
blob
5ebe1ff46262467fdb70239ddb71bf0a45ebd205
1
def chicken_arch(bb, d):
2
import re
3
arch_pattern = re.compile('^i.*86$')
4
target_arch = d.getVar("TARGET_ARCH", 1)
5
if arch_pattern.match(target_arch):
6
return 'x86'
7
else:
8
return target_arch
9
10
CHICKEN_ARCH = "${@chicken_arch(bb, d)}"
11