# # 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 \ 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 bb, 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)}" ev Multi-Tech CoreCDP 1.x OpenEmbedded TreeMulti-Tech Systems
summaryrefslogtreecommitdiff
path: root/packages/opie-unikeyboard/opie-unikeyboard_cvs.bb
AgeCommit message (Expand)AuthorFiles
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-07-07opie-unikeyboard: get into /usrMichael Krelin1
2006-12-31remove extra whitespace at end-of-line in about 900 bb files.Rolf Leggewie1
2006-08-05packages: sed -i s/^"include "/"require "/ */*.bb GNU sed rocks!Holger Freyther1
2006-01-12Correct Opie PV format to preserve upgradability of packages but note where c...Richard Purdie1
2006-01-07Convert CVSDATE -> SRCDATE. Also standardise cvs and svn PVs to x.x.x+cvsYYYY...Richard Purdie1
2005-09-12Opie 1.2.1:Holger Freyther1