diff options
author | Vyacheslav Barinov <v.barinov@samsung.com> | 2014-10-31 16:13:01 +0300 |
---|---|---|
committer | Vyacheslav Barinov <v.barinov@samsung.com> | 2014-10-31 16:13:01 +0300 |
commit | 86a98358063344e0f431e2a28da5123be0ef9272 (patch) | |
tree | bdfbe0b0e6137939827c7a163cd78252f40134d3 | |
parent | d1964611a5874ca8c52d024a3f7d00067eacaaf9 (diff) | |
download | binutils-accepted/tizen_3.0_ivi.tar.gz binutils-accepted/tizen_3.0_ivi.tar.bz2 binutils-accepted/tizen_3.0_ivi.zip |
Switching ExcludeArch to ExclusiveArchtizen_3.0_ivi_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi/20141127.000000submit/tizen_ivi/20141126.081136submit/tizen_ivi/20141126.000000submit/tizen_common/20141031.131710accepted/tizen/ivi/20141128.101927accepted/tizen/common/20141103.141227tizen_3.0_iviaccepted/tizen_iviaccepted/tizen_3.0_ivi
Helps to avoid cross-arm -> aarch64 and cross-aarch64 -> arm builds.
Change-Id: Iea31ec9aec7d4ddceeb0401bf820135f342fad30
Signed-off-by: Vyacheslav Barinov <v.barinov@samsung.com>
-rw-r--r-- | packaging/cross-aarch64-binutils.spec | 4 | ||||
-rw-r--r-- | packaging/cross-arm-binutils.spec | 4 | ||||
-rw-r--r-- | packaging/cross-i386-binutils.spec | 4 | ||||
-rw-r--r-- | packaging/cross-x86_64-binutils.spec | 4 | ||||
-rwxr-xr-x | packaging/pre_checkin.sh | 3 |
5 files changed, 9 insertions, 10 deletions
diff --git a/packaging/cross-aarch64-binutils.spec b/packaging/cross-aarch64-binutils.spec index a7cc73941fe..4f4824069f6 100644 --- a/packaging/cross-aarch64-binutils.spec +++ b/packaging/cross-aarch64-binutils.spec @@ -1,5 +1,5 @@ -Name: cross-aarch64-binutils -ExcludeArch: aarch64 +Name: cross-aarch64-binutils +ExclusiveArch: %{ix86} x86_64 %define cross 1 %define TARGET aarch64 BuildRequires: bison diff --git a/packaging/cross-arm-binutils.spec b/packaging/cross-arm-binutils.spec index ae31b44f9f3..0bde260f4f2 100644 --- a/packaging/cross-arm-binutils.spec +++ b/packaging/cross-arm-binutils.spec @@ -1,5 +1,5 @@ -Name: cross-arm-binutils -ExcludeArch: %arm +Name: cross-arm-binutils +ExclusiveArch: %{ix86} x86_64 %define cross 1 %define TARGET arm BuildRequires: bison diff --git a/packaging/cross-i386-binutils.spec b/packaging/cross-i386-binutils.spec index c34ff70856d..e25e0f3937d 100644 --- a/packaging/cross-i386-binutils.spec +++ b/packaging/cross-i386-binutils.spec @@ -1,5 +1,5 @@ -Name: cross-i386-binutils -ExcludeArch: %ix86 +Name: cross-i386-binutils +ExclusiveArch: %{ix86} x86_64 %define cross 1 %define TARGET i586 BuildRequires: bison diff --git a/packaging/cross-x86_64-binutils.spec b/packaging/cross-x86_64-binutils.spec index 00bdc9cb0f3..f4741c586fe 100644 --- a/packaging/cross-x86_64-binutils.spec +++ b/packaging/cross-x86_64-binutils.spec @@ -1,5 +1,5 @@ -Name: cross-x86_64-binutils -ExcludeArch: x86_64 +Name: cross-x86_64-binutils +ExclusiveArch: %{ix86} x86_64 %define cross 1 %define TARGET x86_64 BuildRequires: bison diff --git a/packaging/pre_checkin.sh b/packaging/pre_checkin.sh index ea693f156c6..d71b4da4d7f 100755 --- a/packaging/pre_checkin.sh +++ b/packaging/pre_checkin.sh @@ -8,8 +8,7 @@ for arch in arm aarch64 i386 x86_64; do #ln -f binutils.changes cross-$arch-binutils.changes targetarch=`echo $arch | sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"` - exclarch=`echo $arch | sed -e 's/parisc/hppa/;s/i.86/%ix86/;s/arm/%arm/'` - sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils\nExcludeArch: $exclarch\n%define cross 1\n%define TARGET $targetarch/;" \ + sed -e "s/^Name:.*binutils\$/Name:\t\tcross-$arch-binutils\nExclusiveArch: %{ix86} x86_64\n%define cross 1\n%define TARGET $targetarch/;" \ binutils.spec | sed '/manifest/d' |sed '/1001/d' > cross-$arch-binutils.spec echo " done." done |