projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more toolchain + stage 1 updates
[hdw-linux/hdw-linux.git]
/
packages
/
toolchain
/
linux
/
linux
diff --git
a/packages/toolchain/linux/linux
b/packages/toolchain/linux/linux
index
27f0bcb
..
c8dca02
100644
(file)
--- a/
packages/toolchain/linux/linux
+++ b/
packages/toolchain/linux/linux
@@
-2,17
+2,23
@@
#
# author: hackbard@hackdaworld.dyndns.org
#
#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 2.6.1
1.7
+# [V] 2.6.1
8.1
# [S] 0-2
# [S] 0-2
-# [D] linux-2.6.11.7.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/
+# [D] linux-2.6.18.1.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() {
build_main() {
+ # care for crossbuild
+ if [ "$hdw_crossbuild" != "0" ] ; then
+ sed -e "s,^ARCH.*,ARCH = ${hdw_arch//ia32/i386}," \
+ -e "s,^CROSS_COMPILE.*,CROSS_COMPILE = $hdw_arch_target-," \
+ Makefile > M.tmp
+ mv M.tmp Makefile
+ fi
make mrproper &&
make include/linux/version.h &&
# change for crossbuilds
make mrproper &&
make include/linux/version.h &&
# change for crossbuilds
- make include/asm &&
- mkdir -p $prefix/glibc-kernheaders
- cp -HR include/asm $prefix/glibc-kernheaders
- cp -R include/asm-generic $prefix/glibc-kernheaders
- cp -R include/linux $prefix/glibc-kernheaders
+ make include/asm
}
}