Browse Source

Clifford Wolf:


			
			
				rocklinux
			
			
		
Clifford Wolf 17 years ago
parent
commit
19bb6c3d67
6 changed files with 0 additions and 233 deletions
  1. +0
    -32
      package/base/linux-libc-headers/linux-libc-headers.cache
  2. +0
    -62
      package/base/linux-libc-headers/linux-libc-headers.conf
  3. +0
    -44
      package/base/linux-libc-headers/linux-libc-headers.desc
  4. +0
    -93
      package/base/linux-libc-headers/old
  5. +0
    -1
      package/base/linux-libc-headers/pkgmapper.in
  6. +0
    -1
      package/base/linux-libc-headers/preconfig.in

+ 0
- 32
package/base/linux-libc-headers/linux-libc-headers.cache

@ -1,32 +0,0 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/base/linux-libc-headers/linux-libc-headers.cache
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[TIMESTAMP] 1168713575 Sat Jan 13 19:39:35 2007 (9)
[CONFIG-ID] TRUNK-x86-reference
[ROCKVER] TRUNK
[LOGS] 0-linux-libc-headers.log 1-linux-libc-headers.log 9-linux-libc-headers.log
[BUILDTIME] 2666 (9)

+ 0
- 62
package/base/linux-libc-headers/linux-libc-headers.conf

@ -1,62 +0,0 @@
#!/bin/bash
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/base/linux-libc-headers/linux-libc-headers.conf
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
lx_cpu="$arch_machine"
incdir=$root/$prefix/include
case "$xpkg" in
*-cross-*)
lx_cpu="${xpkg#**-cross-}"
incdir=$root/$prefix/$lx_cpu-unknown-linux-gnu/include
;;
esac
lx_cpu=$( echo "$lx_cpu" | \
sed -e s/x86$/i386/ -e s/powerpc/ppc/ \
-e s/hppa/parisc/ -e s/i.86/i386/ \
-e s/sun4u/sparc64/ -e s/arm.*/arm/ \
-e s/sa110/arm/ -e s/s390x/s390/ \
-e s/parisc64/parisc/ )
custmain=llh_main
llh_main() {
cp -av include/{asm-generic,asm-$lx_cpu,linux} $incdir/
ln -svf asm-$lx_cpu $incdir/asm
if [ "$ROCKCFG_MULTILIB" = 1 ] ; then
case "$lx_cpu" in
sparc64)
cp -av include/asm-{sparc,sparc64-biarch} $incdir/
ln -svf asm-sparc64-biarch $incdir/asm
;;
x86_64)
cp -av include/asm-{i386,x86_64-biarch} $incdir/
ln -svf asm-x86_64-biarch $incdir/asm
;;
ppc)
cp -av include/asm-powerpc $incdir/
ln -svf asm-powerpc $incdir/asm
;;
esac
fi
}

+ 0
- 44
package/base/linux-libc-headers/linux-libc-headers.desc

@ -1,44 +0,0 @@
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN ---
[COPY]
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch.
[COPY] Please add additional copyright information _after_ the line containing
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
[COPY]
[COPY] ROCK Linux: rock-src/package/base/linux-libc-headers/linux-libc-headers.desc
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
[COPY]
[COPY] This program is free software; you can redistribute it and/or modify
[COPY] it under the terms of the GNU General Public License as published by
[COPY] the Free Software Foundation; either version 2 of the License, or
[COPY] (at your option) any later version. A copy of the GNU General Public
[COPY] License can be found at Documentation/COPYING.
[COPY]
[COPY] Many people helped and are helping developing ROCK Linux. Please
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM
[COPY] file for details.
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[I] User space part of the Linux kernel headers
[T] User space part of the Linux kernel headers.
[U] http://headers.cross-lfs.org
[A] cross-lfs.org
[M] Stefan Fiedler <stefan.fiedler at students.jku.at>
[C] base/kernel
[F] DIETLIBC KERNEL
[F] CORE
[E] group kernel-header linux-libc-headers
[L] GPL
[S] Stable
[V] 2.6.20.1-02252007
[P] 0 0-X--5---9 100.100
[D] 1448854930 linux-headers-2.6.20.1-02252007.tar.bz2 http://cross-lfs.org/files/packages/svn/

+ 0
- 93
package/base/linux-libc-headers/old

@ -1,93 +0,0 @@
Index: ../linux/linux.conf
===================================================================
--- ../linux/linux.conf (revision 7)
+++ ../linux/linux.conf (working copy)
@@ -24,8 +24,6 @@
pkg_linux_cross=""
case "$xpkg-" in
- *-header-*)
- pkg_linux_mode=header ;;
*-source-*)
unset splitdesc_dev
pkg_linux_mode=source ;;
@@ -36,12 +34,8 @@
case "$xpkg" in
*-cross-*)
pkg_linux_cross="${xpkg#**-cross-}"
- if [ $pkg_linux_mode = header ]; then
- echo_status "Preparing to build a linux kernel $pkg_linux_cross cross-headers package."
- else
- echo_error "Building linux kernel cross packages isn't supported yet."
- exit 1
- fi
+ echo_error "Building linux kernel cross packages isn't supported yet."
+ exit 1
;;
esac
@@ -347,52 +341,6 @@
rm -f .config.old .config.[1-9]
}
-main_lx_header() {
- echo "Extracting the Linux Kernel Sources [$ver] ... "
- tar $taropt $archdir/$srctar
- cd linux-$vanilla_ver
-
- # patch and configure
- lx_config
-
- if [ -z "$pkg_linux_cross" ]; then
- incdir="$root/$prefix/include/linux$treever"
- else
- incdir="$root/$prefix/$pkg_linux_cross-unknown-linux-gnu/include"
- fi
-
- # install the header files - and do some post-processing for sparc
- rm -rf $incdir/{asm,asm-generic,linux,asm-sparc,asm-sparc64}
- mkdir -p $incdir
- if [ "$lx_cpu" != sparc -a "$lx_cpu" != sparc64 ]
- then
- mkdir -p $incdir/asm
- cp -rv include/asm/* $incdir/asm/
- cp -rv include/{asm-generic,linux} $incdir/
- else
- # we can only generate this files when we have a cross compiler
- # which is stage 1 and above ...
- if [ $stagelevel -gt 0 -a $treever != 26 ] ; then
- # build two generated headers first ...
- make ARCH=sparc CROSS_COMPILE=$archprefix KCC=$KCC \
- arch/sparc/kernel/Makefile check_asm
- [ $lx_cpu = sparc64 ] && \
- make ARCH=sparc64 CROSS_COMPILE=$archprefix KCC=sparc64-unknown-linux-gnu-gcc \
- arch/sparc64/kernel/Makefile check_asm
- fi
-
- cp -rv include/{asm-{sparc{,64},generic},linux} $incdir/
- cp -v $confdir/generate-asm . ; chmod +x ./generate-asm
- ./generate-asm $incdir
- fi
- if [ -z "$pkg_linux_cross" -a "linux$treever" = "$ROCKCFG_PKG_LINUX_HEADERS" ]; then
- for x in $incdir/*; do
- rm -rf $root/$prefix/include/${x##*/}
- ln -sf linux$treever/${x##*/} $root/$prefix/include/${x##*/}
- done
- fi
-}
-
main_lx() {
lx_config
@@ -534,11 +482,6 @@
createdocs=0
custmain="main_lx_src"
;;
- header)
- autoextract=0
- createdocs=0
- custmain="main_lx_header"
- ;;
image)
custmain="main_lx"
autopatch=0

+ 0
- 1
package/base/linux-libc-headers/pkgmapper.in

@ -1 +0,0 @@
pkg=${pkg##linux-libc-headers?}

+ 0
- 1
package/base/linux-libc-headers/preconfig.in

@ -1 +0,0 @@
CFGTEMP_LINUX_HEADERS="$CFGTEMP_LINUX_HEADERS linux-libc-headers Use_linux-libc-headers_as_Linux_headers"

Loading…
Cancel
Save