# # set the ARCH environment variable for kernel compilation (including # modules). return value must match one of the architecture directories # in the kernel source "arch" directory # valid_archs = "alpha cris ia64 \ x86_64 i386 x86 \ m68knommu m68k ppc powerpc ppc64 \ sparc sparc64 \ arm arm26 \ m32r mips \ sh sh64 um h8300 \ parisc s390 v850 \ avr32 blackfin" def map_kernel_arch(a, d): import re valid_archs = bb.data.getVar('valid_archs', d, 1).split() if re.match('(i.86|athlon)$', a): return 'i386' elif re.match('arm26$', a): return 'arm26' elif re.match('armeb$', a): return 'arm' elif re.match('mipsel$', a): return 'mips' elif re.match('sh(3|4)$', a): return 'sh' elif re.match('bfin', a): return 'blackfin' elif a in valid_archs: return a else: bb.error("cannot map '%s' to a linux kernel architecture" % a) export ARCH = "${@map_kernel_arch(bb.data.getVar('TARGET_ARCH', d, 1), d)}" def map_uboot_arch(a, d): import re if re.match('powerpc$', a): return 'ppc' elif re.match('i.86$', a): return 'x86' return a export UBOOT_ARCH = "${@map_uboot_arch(bb.data.getVar('ARCH', d, 1), d)}" td>
summaryrefslogtreecommitdiff
path: root/packages/matchbox-panel-hacks/matchbox-panel-hacks_0.3-1.bb
AgeCommit message (Expand)AuthorFiles
2009-03-17rename packages/ to recipes/ per earlier agreementDenys Dmytriyenko1
2008-10-18bb files: Revert the introduction of FILE_PRHolger Hans Peter Freyther1
2008-10-15[PR] Change PR to FILE_PR and intro PR as FILE_PR + DISTRO_PRHolger Hans Peter Freyther1
2007-08-01matchbox-panel-hacks: patch xrandr-panel-app.sh to (hopefully) work with xran...Koen Kooi1
2006-11-25mb panel hacks: set package_arch to allKoen Kooi1
2005-09-04matchbox-panel-hacks: add missing 'fi' in xrandr-panelapp.shPhilipp Zabel1
2005-08-29matchbox-panel-hacks: use 'left' modmap on rotating to the left, not the 'right'Koen Kooi1
2005-08-17Update to slightly larger icon.Florian Boor1
2005-02-23Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
2005-01-01Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1
2004-12-09Merge oe-devel@oe-devel.bkbits.net:openembeddedChris Larson1