SHA256
1
0
forked from pool/kbuild

Accepting request 86510 from devel:tools:building

Added a patch to support armv7l

OBS-URL: https://build.opensuse.org/request/show/86510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kbuild?expand=0&rev=18
This commit is contained in:
Ruediger Oertel 2011-10-04 16:12:37 +00:00 committed by Git OBS Bridge
commit a960332649
3 changed files with 19 additions and 0 deletions

12
kbuild-armv7l.diff Normal file
View File

@ -0,0 +1,12 @@
diff -Naur kbuild-0.1.9998svn2543.orig/kBuild/env.sh kbuild-0.1.9998svn2543/kBuild/env.sh
--- kbuild-0.1.9998svn2543.orig/kBuild/env.sh 2011-08-25 19:09:21.000000000 +0200
+++ kbuild-0.1.9998svn2543/kBuild/env.sh 2011-10-04 00:41:34.000000000 +0200
@@ -358,7 +358,7 @@
hppa64|parisc64)
KBUILD_HOST_ARCH='hppa64'
;;
- arm|armv4l|armv5tel|armv5tejl)
+ arm|armv4l|armv5tel|armv5tejl|armv7l)
KBUILD_HOST_ARCH='arm'
;;
alpha)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 3 22:56:19 UTC 2011 - joop.boonen@opensuse.org
- Added a patch to support armv7l
-------------------------------------------------------------------
Tue Aug 23 08:35:11 UTC 2011 - mseben@gmail.com

View File

@ -35,6 +35,7 @@ Patch3: kbuild-func_missing_args.diff
Patch4: glibc-2.10.diff
Patch5: kbuild-pthread.diff
Patch6: kbuild-timestamps.diff
Patch7: kbuild-armv7l.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -62,6 +63,7 @@ Authors:
%patch4
%patch5 -p1
%patch6 -p1
%patch7 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"