[Tizen-submit] 9313: Changes to Tizen/qemu-accel-armv7hl

noreply at tizen.org noreply at tizen.org
Tue Aug 27 21:10:02 GMT 2013


Hi,
Anas Nashif have made the following changes to qemu-accel-armv7hl in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #9313

  submit:       Tizen:build/qemu-accel-armv7hl(cleanup) -> Tizen


Message:
Submitter: Anas Nashif <anas.nashif at intel.com>
Comments: support gcc 4.8.1
Git project: platform/upstream/qemu-accel
Tag: submit/tizen/20130827.211238
Commit: 93c2970e9fdfe18484908f5498fc4e8a2287dd7d support gcc 48

State:   new        2013-08-27T14:06:37 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- qemu-accel-armv7hl.spec
+++ qemu-accel-armv7hl.spec
@@ -25,7 +25,7 @@
 Release:        0
 AutoReqProv:    off
 BuildRequires:  cross-arm-binutils
-BuildRequires:  cross-armv7hl-gcc47-icecream-backend
+BuildRequires:  cross-armv7hl-gcc48-icecream-backend
 #BuildRequires:  expect
 BuildRequires:  fdupes
 BuildRequires:  glibc-locale
@@ -47,7 +47,7 @@
 # default path in qemu
 %define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
 %define our_path /emul/%{HOST_ARCH}-for-arm
-%define icecream_cross_env cross-armv7hl-gcc47-icecream-backend_x86_64
+%define icecream_cross_env cross-armv7hl-gcc48-icecream-backend_x86_64
 
 %description
 This package is used in armv7hl architecture builds using qemu to speed up builds
@@ -88,7 +88,7 @@
 %if %hijack_gcc
 # extract cross-compiler
 mkdir -p cross-compiler-tmp
-for executable in $(tar -C cross-compiler-tmp -xvzf /usr/share/icecream-envs/cross-armv7hl-gcc47-icecream-backend_*.tar.gz); do
+for executable in $(tar -C cross-compiler-tmp -xvzf /usr/share/icecream-envs/cross-armv7hl-gcc48-icecream-backend_*.tar.gz); do
     if [ ! -d "cross-compiler-tmp/$executable" ]; then
         binaries="$binaries cross-compiler-tmp/$executable"
     fi
@@ -102,7 +102,7 @@
 cp -a /usr/share/icecream-envs/%{icecream_cross_env}.tar.gz \
       %buildroot%{our_path}/usr/share/icecream-envs
 # And extract it for direct usage
-tar xvz -C %buildroot%{our_path}/usr/share/icecream-envs/%{icecream_cross_env} -f /usr/share/icecream-envs/cross-armv7hl-gcc47-icecream-backend_*.tar.gz
+tar xvz -C %buildroot%{our_path}/usr/share/icecream-envs/%{icecream_cross_env} -f /usr/share/icecream-envs/cross-armv7hl-gcc48-icecream-backend_*.tar.gz
 # It needs a tmp working directory which is writable
 install -d -m0777 %buildroot%{our_path}/usr/share/icecream-envs
 %endif
@@ -157,8 +157,8 @@
 ln -sf g++ "%{buildroot}%{our_path}/usr/bin/c++"
 # gcc can also be called cc
 ln -sf gcc "%{buildroot}%{our_path}/usr/bin/cc"
-# gcc can also be called gcc-4.7
-ln -sf gcc "%{buildroot}%{our_path}/usr/bin/gcc-4.7"
+# gcc can also be called gcc-4.8
+ln -sf gcc "%{buildroot}%{our_path}/usr/bin/gcc-4.8"
 
 # nasty hack: If LIBRARY_PATH is set, native gcc adds the contents to its
 #             library search list, but cross gcc does not. So switch to all
--- qemu-accel-armv7l.spec
+++ qemu-accel-armv7l.spec
@@ -25,7 +25,7 @@
 Release:        0
 AutoReqProv:    off
 BuildRequires:  cross-arm-binutils
-BuildRequires:  cross-armv7l-gcc47-icecream-backend
+BuildRequires:  cross-armv7l-gcc48-icecream-backend
 #BuildRequires:  expect
 BuildRequires:  fdupes
 BuildRequires:  glibc-locale
@@ -47,7 +47,7 @@
 # default path in qemu
 %define HOST_ARCH %(echo %{_host_cpu} | sed -e "s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
 %define our_path /emul/%{HOST_ARCH}-for-arm
-%define icecream_cross_env cross-armv7l-gcc47-icecream-backend_x86_64
+%define icecream_cross_env cross-armv7l-gcc48-icecream-backend_x86_64
 
 %description
 This package is used in armv7l architecture builds using qemu to speed up builds
@@ -88,7 +88,7 @@
 %if %hijack_gcc
 # extract cross-compiler
 mkdir -p cross-compiler-tmp
-for executable in $(tar -C cross-compiler-tmp -xvzf /usr/share/icecream-envs/cross-armv7l-gcc47-icecream-backend_*.tar.gz); do
+for executable in $(tar -C cross-compiler-tmp -xvzf /usr/share/icecream-envs/cross-armv7l-gcc48-icecream-backend_*.tar.gz); do
     if [ ! -d "cross-compiler-tmp/$executable" ]; then
         binaries="$binaries cross-compiler-tmp/$executable"
     fi
@@ -102,7 +102,7 @@
 cp -a /usr/share/icecream-envs/%{icecream_cross_env}.tar.gz \
       %buildroot%{our_path}/usr/share/icecream-envs

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list