X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=packages%2Ftoolchain%2Flinux%2Flinux;h=a37bf43d8993bd5fd4fed0cf62b290406acaf3a3;hp=8b02dcf7fe311610f6eb63feedeff2487da95e9f;hb=8dd2356c22327a15f0e16abbc887c4f72fc62985;hpb=fce90c55886f483b25da229bda6c000d8ed112c9 diff --git a/packages/toolchain/linux/linux b/packages/toolchain/linux/linux index 8b02dcf..a37bf43 100644 --- a/packages/toolchain/linux/linux +++ b/packages/toolchain/linux/linux @@ -2,11 +2,20 @@ # # author: hackbard@hackdaworld.dyndns.org # -# [V] 2.6.11.10 +# [V] 2.6.18 # [S] 0-2 -# [D] linux-2.6.11.10.tar.bz2 ftp:/ftp.kernel.org/pub/linux/kernel/v2.6/ +# [D] linux-2.6.18.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/ + +#skip=1 +#s_reason="obsolete, there is a linux libc headers package now." build_main() { + # patches + #if [ -f $confdir/../../base/linux/*.patch ]; then + # for i in $confdir/../../base/linux/*.patch; do + # patch -Nfp1 < $i + # done + #fi # care for crossbuild if [ "$hdw_crossbuild" != "0" ] ; then sed -e "s,^ARCH.*,ARCH = ${hdw_arch//ia32/i386}," \ @@ -14,8 +23,15 @@ build_main() { Makefile > M.tmp mv M.tmp Makefile fi - make mrproper && - make include/linux/version.h && + make mrproper + make headers_check + mkdir -p $prefix/tmp + make INSTALL_HDR_PATH=$prefix/tmp headers_install + cp -R $prefix/tmp/include/* $prefix/include + rm -rf $prefix/tmp + + # old part + #make include/linux/version.h && # change for crossbuilds - make include/asm && + #make include/asm }