Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:derselbst:branches:home:duwe:crosstools
cross-mips64-linux-kernel-headers
cross-template-kernel-headers.spec.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cross-template-kernel-headers.spec.in of Package cross-mips64-linux-kernel-headers
Summary: Kernel headers for the @@template@@ architecture Name: cross-@@template@@-kernel-headers Version: 2.6.39 Release: 0 License: GPLv2 Group: Development/Cross URL: http://kernel.org Source0: http://kernel.org/pub/linux/kernel/v2.6/linux-%{version}.tar.bz2 NoSource: 0 # Re-generate this specfile using # sed -e 's,@template@,@@template@@,g' Source1: cross-template-kernel-headers.spec.in Source2: regen.sh Patch1: compile-fix BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %description This package contains the initial kernel include files (.../usr/include/linux/... et al.) suitable to cross-compile programs for the @@template@@ target architecture. Architectures supported so far include: arm-linux-gnueabi ppc-linux-gnueabi mips-linux %prep %setup -q -n linux-%{version} %patch1 -p1 %build cpuarch=`echo @@template@@ | sed -e 's,-.*,,g;'` KARCH=$cpuarch conf=defconfig if [ $KARCH = ppc -o $KARCH = powerpc ]; then KARCH=powerpc conf=ppc6xx_defconfig fi env ARCH=$KARCH make $conf echo $KARCH > configured_arch %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/opt/cross/@@template@@/ KARCH=`cat configured_arch` env ARCH=$KARCH make headers_install INSTALL_HDR_PATH=$RPM_BUILD_ROOT/opt/cross/@@template@@/ ln -sfn . $RPM_BUILD_ROOT/opt/cross/@@template@@/usr ln -sfn /opt $RPM_BUILD_ROOT/opt/cross/@@template@@/. find $RPM_BUILD_ROOT/opt/cross/@@template@@/include -name '.*install*' | xargs rm -f # conflicts with glibc rm -f $RPM_BUILD_ROOT/opt/cross/@@template@@/include/scsi/scsi.h %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /opt/cross %changelog * Mon Apr 20 2009 Torsten Duwe <duwe@suse.de> - kernel-headers - Initial build.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor