Skip to contentSkip to conversation

tar_1.22.bb: Add recipe for 1.22 release.

PATCH In review Khem Raj 3 participants 6 messages Sep 9, 2009 – Sep 10, 2009

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 tar_1.22.bb: Add recipe for 1.22 release.

---
 conf/checksums.ini      |    4 ++++
 recipes/tar/tar_1.22.bb |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 recipes/tar/tar_1.22.bb
conf/checksums.ini +4 -0
index 053a2ad..e720a28 100644
@@ -23734,6 +23734,10 @@ sha256=44944ee0427c8e0d8dbaa0b8f900073a7456819610cc521c53630c3eb117cf5e
 md5=1a7e17f27abf583b3b0bc059a827e68b
 sha256=be8bf33afb5adc2377e45d94693ffd46b75f267f9b808df0c7006e51211f9deb
 
+[ftp://ftp.gnu.org/gnu/tar/tar-1.22.tar.bz2]
+md5=07fa517027f426bb80f5f5ff91b63585
+sha256=3cefb67f197a3f8f5235999fe749ced0889466a71ddcbc96fddca84e5d53aa4d
+
 [http://downloads.sourceforge.net/subapplet/tasklist-105.tar.gz]
 md5=dc62a061d83cf72d1eca7e8ae2c8e1a6
 sha256=4078c44beebfd298995983b9e2ea189167a1ab081d96a7c485a67b65a974e878
recipes/tar/tar_1.22.bb new file +1 -0
new file mode 100644
index 0000000..25163ac
@@ -0,0 +1 @@
+require tar.inc
Signature · 1 line
1.6.3.3
author
#1 lore raw

PATCH 2/2 tune-xscale.inc: Use TARGET_ARCH to find endianness

* Use TARGET_ARCH to find endianness instead of
SITEINFO_ENDIANNESS which is not yet evaluated.

---
 conf/machine/include/tune-xscale.inc |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
conf/machine/include/tune-xscale.inc +6 -3
index 7fa6447..3a6bd0e 100644
@@ -1,9 +1,12 @@
-FEED_ARCH =  "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
+# this depends on fact that for ARM the TARGET_ARCH is 'arm' for little endian and 'armeb' for bigendian
+# this is the case as of now for all arm machines in OE.
+
+FEED_ARCH =  "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
 
 TARGET_CC_ARCH = "-march=armv5te -mtune=xscale"
 TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
-PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
-BASE_PACKAGE_ARCH := "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}"
+PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][ bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
+BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"
 
 # Include tune file for thumb support, it defaults to off so DISTROs can turn it on if they wish
 require conf/machine/include/tune-thumb.inc
Signature · 1 line
1.6.3.3
Acked-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] tune-xscale.inc: Use TARGET_ARCH to find endianness

Quoted 4 lines · On Monday 07 September 2009 21:11:44 Khem Raj wrote:

* Use TARGET_ARCH to find endianness instead of
SITEINFO_ENDIANNESS which is not yet evaluated.

Quoted 31 lines
---
 conf/machine/include/tune-xscale.inc |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/conf/machine/include/tune-xscale.inc index 7fa6447..3a6bd0e 100644

conf/machine/include/tune-xscale.inc +0 -1
@@ -1,9 +1,12 @@
-FEED_ARCH =  "${@['armv5teb',

'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" +# this depends on fact that for ARM the TARGET_ARCH is 'arm' for little endian and 'armeb' for bigendian +# this is the case as of now for all arm machines in OE.

conf/machine/include/tune-xscale.inc +2 -0
+
+FEED_ARCH =  "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d,

1) == 'arm']}"

TARGET_CC_ARCH = "-march=armv5te -mtune=xscale" TARGET_CC_KERNEL_ARCH = "-march=armv5te -mtune=xscale"
-PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" -BASE_PACKAGE_ARCH := "${@['armv5teb', 'armv5te'][bb.data.getVar('SITEINFO_ENDIANESS', d, 1) == 'le']}" +PACKAGE_EXTRA_ARCHS += "${@['armv4b armv4tb armv5teb', 'armv4 armv4t armv5te'][ bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}" +BASE_PACKAGE_ARCH = "${@['armv5teb', 'armv5te'][bb.data.getVar('TARGET_ARCH', d, 1) == 'arm']}"

# Include tune file for thumb support, it defaults to off so DISTROs can
turn it on if they wish require conf/machine/include/tune-thumb.inc

Acked-by on v1 1/2
#4 lore raw
In reply to Khem Raj
Quoted 1 line · On Monday 07 September 2009 21:11:43 Khem Raj wrote:
Quoted 29 lines
---
 conf/checksums.ini      |    4 ++++
 recipes/tar/tar_1.22.bb |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
 create mode 100644 recipes/tar/tar_1.22.bb
conf/checksums.ini +0 -0
index 053a2ad..e720a28 100644
@@ -23734,6 +23734,10 @@

sha256=44944ee0427c8e0d8dbaa0b8f900073a7456819610cc521c53630c3eb117cf5e md5=1a7e17f27abf583b3b0bc059a827e68b
sha256=be8bf33afb5adc2377e45d94693ffd46b75f267f9b808df0c7006e51211f9deb

+[ftp://ftp.gnu.org/gnu/tar/tar-1.22.tar.bz2]

conf/checksums.ini +3 -0
+md5=07fa517027f426bb80f5f5ff91b63585
+sha256=3cefb67f197a3f8f5235999fe749ced0889466a71ddcbc96fddca84e5d53aa4d
+
 [http://downloads.sourceforge.net/subapplet/tasklist-105.tar.gz]
 md5=dc62a061d83cf72d1eca7e8ae2c8e1a6
 sha256=4078c44beebfd298995983b9e2ea189167a1ab081d96a7c485a67b65a974e878
recipes/tar/tar_1.22.bb new file +1 -0
new file mode 100644
index 0000000..25163ac
@@ -0,0 +1 @@
+require tar.inc