c8dca02630819efbe7f6bfdb300b64a86e470f65
[hdw-linux/hdw-linux.git] / packages / toolchain / linux / linux
1 # hdw - linux toolchain linux package
2 #
3 # author: hackbard@hackdaworld.dyndns.org
4 #
5 # [V] 2.6.18.1
6 # [S] 0-2
7 # [D] linux-2.6.18.1.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/
8
9 skip=1
10 s_reason="obsolete, there is a linux libc headers package now."
11
12 build_main()    {
13         # care for crossbuild
14         if [ "$hdw_crossbuild" != "0" ] ; then
15                 sed -e "s,^ARCH.*,ARCH = ${hdw_arch//ia32/i386}," \
16                 -e "s,^CROSS_COMPILE.*,CROSS_COMPILE = $hdw_arch_target-," \
17                         Makefile > M.tmp
18                 mv M.tmp Makefile
19         fi
20         make mrproper && 
21         make include/linux/version.h &&
22         # change for crossbuilds
23         make include/asm
24                 }