]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf/tune.conf: Set BASE_PACKAGE_ARCH and build PACKAGE_ARCH from this
authorRichard Purdie <richard@openedhand.com>
Thu, 17 Jul 2008 20:40:34 +0000 (20:40 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 17 Jul 2008 20:40:34 +0000 (20:40 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4857 311d38ba-8fff-0310-9ca6-ca027cbcb966

17 files changed:
meta/conf/bitbake.conf
meta/conf/machine/include/tune-arm1136jf-s.inc
meta/conf/machine/include/tune-arm920t.inc
meta/conf/machine/include/tune-arm926ejs.inc
meta/conf/machine/include/tune-arm9tdmi.inc
meta/conf/machine/include/tune-armv7.inc
meta/conf/machine/include/tune-c3.inc
meta/conf/machine/include/tune-cortexa8.inc
meta/conf/machine/include/tune-cortexm1.inc
meta/conf/machine/include/tune-cortexm3.inc
meta/conf/machine/include/tune-cortexr4.inc
meta/conf/machine/include/tune-ep9312.inc
meta/conf/machine/include/tune-iwmmxt.inc
meta/conf/machine/include/tune-ppc603e.inc
meta/conf/machine/include/tune-ppce500.inc
meta/conf/machine/include/tune-supersparc.inc
meta/conf/machine/include/tune-xscale.inc

index 74b593a034fd1b4845ae00e8054920bea3b5fc0b..ad85dc386183be405b81fb8ff7e7cc10d9417a4f 100644 (file)
@@ -86,7 +86,8 @@ TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS'
 TARGET_PREFIX = "${TARGET_SYS}-"
 TARGET_CC_ARCH = ""
 
-PACKAGE_ARCH = "${HOST_ARCH}"
+BASE_PACKAGE_ARCH = "${HOST_ARCH}"
+PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
 MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}"
 PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE}"
 
index 7a9a821047541683ec97415628f0d07120dcd999..be5aedc509c022ecf94b73701acb7a89921c6dc5 100644 (file)
@@ -1,7 +1,7 @@
 TARGET_CC_ARCH = "-march=armv6j -mtune=arm1136jf-s"
 TARGET_CC_ARCH += "${@['', '-mfloat-abi=softfp -mfpu=vfp'][(bb.data.getVar('TARGET_FPU', d, 1) == 'soft') and (bb.data.getVar('CPU_FEATURES', d, 1).find('vfp') != -1)]}"
 FEED_ARCH = "armv6"
-PACKAGE_ARCH = "armv6"
+BASE_PACKAGE_ARCH = "armv6"
 
 ARM_INSTRUCTION_SET = "${@['thumb','arm'][bb.data.getVar('CPU_FEATURES', d, 1).find('thumb') == -1]}"
 
index b142d3325a3a330b47ecafa39a2a0c346832c2bb..1f7a04bb3b905cc24609562440ec2143d0fd530d 100644 (file)
@@ -1,4 +1,4 @@
 FEED_ARCH = "armv4t"
-PACKAGE_ARCH = "armv4t" 
+BASE_PACKAGE_ARCH = "armv4t" 
 TARGET_CC_ARCH = "-march=armv4t -mtune=arm920t"
 
index c3e8d7aefc46344654459d77eddf589697f709c9..e80ef1049043d2236914a65d757887ce445906f1 100644 (file)
@@ -4,4 +4,4 @@ FEED_ARCH = "armv5te"
 #TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs"
 # For gcc 4.x you need:
 TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s"
-PACKAGE_ARCH = "armv5te"
+BASE_PACKAGE_ARCH = "armv5te"
index d097b07739c038199210d582c74b9a2b9bb5848d..39e4493014570889b786f871cfaa4d6bb8b0ac44 100644 (file)
@@ -1,2 +1,2 @@
-PACKAGE_ARCH = "armv4t"
+BASE_PACKAGE_ARCH = "armv4t"
 TARGET_CC_ARCH = "-mcpu=arm9tdmi -mtune=arm9tdmi"
index 6276fe679883d0ad221a1e084a9b2c120bafec8a..96c8c64904909a8851521f476e9db01f2b3217ae 100644 (file)
@@ -3,4 +3,4 @@
 # This will NOT compile programs in 'ARM' mode, which is what you really want
 TARGET_CC_ARCH = "-march=armv7 -mfpu=vfp -mfloat-abi=softfp"
 FEED_ARCH = "armv7"
-PACKAGE_ARCH = "armv7"
+BASE_PACKAGE_ARCH = "armv7"
index e6a522af10975dc9b0620333102bbffe37fd3a17..107341eb623260f8b0f3b166df15a7b6d216c05f 100644 (file)
@@ -1,3 +1,3 @@
 TARGET_CC_ARCH = "-march=c3 -mtune=c3"
-PACKAGE_ARCH = "i586"
+BASE_PACKAGE_ARCH = "i586"
 
index 0133240de42c055ebb9bd9b1fea9fda77c4c6c52..f8ddfea7104e24c7462f6eb17f6e36159ae388ab 100644 (file)
@@ -6,4 +6,4 @@
 TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -ftree-vectorize -mfloat-abi=softfp"
 TARGET_CC_ARCH_pn-libxcursor = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp"
 FEED_ARCH = "armv7a"
-PACKAGE_ARCH = "armv7a"
+BASE_PACKAGE_ARCH = "armv7a"
index a0d18b69c63ce3ab56603685cb4953603aca530f..6c4a70a24d12f722b935149e01c0024a24a46bdd 100644 (file)
@@ -1,3 +1,3 @@
 TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-m1 -mfpu=vfp -mfloat-abi=softfp"
 FEED_ARCH = "armv6"
-PACKAGE_ARCH = "armv6"
+BASE_PACKAGE_ARCH = "armv6"
index 3598998a74b45dda277dea0005cc6df2d91c59e1..6da9aeedda496d5404373ebc1056d673ffd9752f 100644 (file)
@@ -1,4 +1,4 @@
 # valid options for -march: `armv7', `armv7-m'
 TARGET_CC_ARCH = "-march=armv7-m -mtune=cortex-m3 -mfpu=vfp -mfloat-abi=softfp"
 FEED_ARCH = "armv7"
-PACKAGE_ARCH = "armv7"
+BASE_PACKAGE_ARCH = "armv7"
index 93c82e8607e8badd9e5be9bae6fb8c4a31d5385d..b8bb7f50ae4f40f8b49048f9320dd47d2b17d648 100644 (file)
@@ -1,4 +1,4 @@
 # valid options for -march: `armv7', `armv7-r'
 TARGET_CC_ARCH = "-march=armv7-r -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp"
 FEED_ARCH = "armv7"
-PACKAGE_ARCH = "armv7"
+BASE_PACKAGE_ARCH = "armv7"
index 0982cf2a132f491a6d54538061861fbdb246571b..2cfdf5270f13ebcdfcb2b68b669da2ebbf160d30 100644 (file)
@@ -2,5 +2,5 @@ TARGET_CC_ARCH = "-march=ep9312 -mtune=ep9312 -mcpu=ep9312"
 # add "-mfp=maverick" for newer gcc versions > 4.0
 
 #set arch to ep9312 for all generated packages
-PACKAGE_ARCH = "ep9312"
+BASE_PACKAGE_ARCH = "ep9312"
 
index 8376faca74a8d9135803f6864f68a890dc32b19c..49e560ea1a801cc5af0c09687f6b2a122d36004f 100644 (file)
@@ -1,6 +1,6 @@
 # Configurations for the Intel PXA27x Appications Processor Family. 
 # Please use tune-xscale for PXA255/PXA26x based processors.
 TARGET_CC_ARCH = "-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt"
-PACKAGE_ARCH = "iwmmxt"
+BASE_PACKAGE_ARCH = "iwmmxt"
 PACKAGE_EXTRA_ARCHS += "iwmmxt"
 
index 1a004d30b52840eaaee7dd89616a3f1d5aa490e9..a4a68d60e3925f1a87ef971a713ceaa73ed3d5aa 100644 (file)
@@ -1,2 +1,2 @@
 TARGET_CC_ARCH = "-mcpu=603e -mhard-float"
-PACKAGE_ARCH = "ppc603e"
+BASE_PACKAGE_ARCH = "ppc603e"
index 11717eba70740b21eb26e29af48a7b2b7170c165..24821964241073c27179fd0170e9f97d27da1170 100644 (file)
@@ -1,2 +1,2 @@
 TARGET_CC_ARCH = "-mcpu=8540"
-PACKAGE_ARCH = "ppce500"
+BASE_PACKAGE_ARCH = "ppce500"
index 1b1ec1207f70fa528149e21dcc6e609e83339a02..10133c6c214f092f0cae47687f6badbd7c8153e8 100644 (file)
@@ -1,2 +1,2 @@
 TARGET_CC_ARCH = "-mcpu=supersparc"
-PACKAGE_ARCH = "supersparc" 
+BASE_PACKAGE_ARCH = "supersparc" 
index 4cb0b4f7c36b4a53dffeafae1bc41fce3924daf0..fc6827c532c52807c616081728e662f68df351da 100644 (file)
@@ -2,7 +2,7 @@ FEED_ARCH = "armv5te"
 
 TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
 TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
-PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
+BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
 
 # webkit-gtk has alignment issues with double instructions on armv5 so
 # disable them here