summaryrefslogtreecommitdiff
path: root/packages/uclibc/uclibc-0.9.28/avr32/uclibc-avr32-kernheaders.spec
blob: 7d5541cf5a4136c7275a2a0ddd50638db525f3df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Name: uclibc-avr32-kernheaders
Version: 2.6
Release: 9
License: GPL
Group: Development/System
Summary: AVR32 header files from the Linux kernel for use by uClibc
BuildRoot: %{_tmppath}/uclibc-kernheaders-root
Source: linux-2.6.16.tar.bz2
Source1: linux-dot-config
Patch0: linux-2.6.16.11.patch
Patch1: linux-2.6.16.11-avr32-20060626.patch

%description
uclibc-avr32-kernheaders contain C header files from the Linux kernel
which are necessary for building the uClibc library. These header
files are also necessary for developing programs which use the standard
C libraries.

If you are developing programs which wil use the standard C libraries,
you should install uclibc-avr32-kernheaders.

%prep
%setup -q -n linux-2.6.16
%patch0 -p1
%patch1 -p1
cp %{SOURCE1} .config

%build
make prepare-all ARCH=avr32 CROSS_COMPILE=avr32-linux-

%install
mkdir -p %{buildroot}/usr/avr32-linux/include
cp -a include/{linux,asm,asm-avr32,asm-generic} %{buildroot}/usr/avr32-linux/include


%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
/usr/avr32-linux/include