Browse Source

Andreas V. Meier, Daniel Jahre:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 19 years ago
parent
commit
8847ef2d43
4 changed files with 64 additions and 100 deletions
  1. +3
    -3
      package/base/linux/linux.desc
  2. +54
    -56
      package/base/linux/linux26/12-conf-hacks.patch
  3. +7
    -7
      package/base/linux/linux26/76-no-new-variable.patch
  4. +0
    -34
      package/base/linux/linux26/arch-ppc-asm_byteorder-ansi-c.patch

+ 3
- 3
package/base/linux/linux.desc

@ -51,9 +51,9 @@
#endif #endif
#if xpkg == linux26.* #if xpkg == linux26.*
[V] 2.6.14.5
[D] 4043869988 linux-2.6.14.5.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/
[D] 3858363372 patch-2.6.14-pa0.gz http://cvs.parisc-linux.org/download/linux-2.6/
[V] 2.6.15
[D] 540532234 linux-2.6.15.tar.bz2 ftp://ftp.kernel.org/pub/linux/kernel/v2.6/
[D] 20197099 patch-2.6.15-pa1.gz http://cvs.parisc-linux.org/download/linux-2.6/
#endif #endif
[CD] <COPY> for x in $cachedir/linux2[46].cache; do cp $x $confdir/$pkg.cache; done [CD] <COPY> for x in $cachedir/linux2[46].cache; do cp $x $confdir/$pkg.cache; done

+ 54
- 56
package/base/linux/linux26/12-conf-hacks.patch

@ -1,61 +1,30 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN --- # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing # Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
#
# ROCK Linux: rock-src/package/base/linux/linux26/12-conf-hacks.patch # ROCK Linux: rock-src/package/base/linux/linux26/12-conf-hacks.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
#
# This patch file is dual-licensed. It is available under the license the # This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license # patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software # 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 # Foundation; either version 2 of the License, or (at your option) any later
# version. # version.
#
#
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
Set all unset options to module. Needed by the ROCK Linux kernel Set all unset options to module. Needed by the ROCK Linux kernel
configuration. configuration.
Initally written by Clifford Wold <clifford@clifford.at> and adapted
Initally written by Clifford Wolf <clifford@clifford.at> and adapted
for various new 2.5/2.6 kernels by Rene Rebe <rene.rebe@gmx.net>. for various new 2.5/2.6 kernels by Rene Rebe <rene.rebe@gmx.net>.
--- ./scripts/kconfig/Makefile.orig 2003-10-25 15:44:56.000000000 -0300
+++ ./scripts/kconfig/Makefile 2003-10-25 23:06:06.000000000 -0300
@@ -23,7 +23,7 @@
silentoldconfig: $(obj)/conf
$< -s arch/$(ARCH)/Kconfig
-.PHONY: randconfig allyesconfig allnoconfig allmodconfig defconfig
+.PHONY: randconfig allyesconfig allnoconfig allmodconfig no2modconfig defconfig
randconfig: $(obj)/conf
$< -r arch/$(ARCH)/Kconfig
@@ -37,6 +37,9 @@
allmodconfig: $(obj)/conf
$< -m arch/$(ARCH)/Kconfig
+no2modconfig: scripts/kconfig/conf
+ $< -M arch/$(ARCH)/Kconfig
+
defconfig: $(obj)/conf
$< -d arch/$(ARCH)/Kconfig
@@ -51,6 +54,7 @@
@echo ' gconfig - Update current config utilising a GTK based front-end'
@echo ' defconfig - New config with default answer to all options'
@echo ' allmodconfig - New config selecting modules when possible'
+ @echo ' no2modconfig - New config selecting modules for disabled options'
@echo ' allyesconfig - New config where all options are accepted with yes'
@echo ' allnoconfig - New minimal config'
Only in linux-2.6.0-test4-rock/scripts/kconfig: conf
diff -ru linux-2.6.0-test4/scripts/kconfig/conf.c linux-2.6.0-test4-rock/scripts/kconfig/conf.c
--- linux-2.6.0-test4/scripts/kconfig/conf.c 2003-08-23 01:59:45.000000000 +0200
+++ linux-2.6.0-test4-rock/scripts/kconfig/conf.c 2003-08-23 16:48:07.000000000 +0200
--- ./scripts/kconfig/conf.c.vanilla 2006-01-10 17:29:02.000000000 +0100
+++ ./scripts/kconfig/conf.c 2006-01-10 17:33:34.000000000 +0100
@@ -20,6 +20,7 @@ @@ -20,6 +20,7 @@
ask_all, ask_all,
ask_new, ask_new,
@ -64,23 +33,23 @@ diff -ru linux-2.6.0-test4/scripts/kconfig/conf.c linux-2.6.0-test4-rock/scripts
set_default, set_default,
set_yes, set_yes,
set_mod, set_mod,
@@ -81,6 +82,15 @@
}
switch (input_mode) {
+ case ask_no2mod:
+ if (type == S_TRISTATE &&
+ sym_get_tristate_value(sym) == no) {
+ fprintf(stderr, "Setting %s to 'm'.\n", sym->name);
+ line[0] = 'm';
+ line[1] = '\n';
+ line[2] = 0;
+ break;
+ }
@@ -91,6 +92,15 @@
return;
}
break;
+ case ask_no2mod:
+ if (type == S_TRISTATE &&
+ sym_get_tristate_value(sym) == no) {
+ fprintf(stderr, "Setting %s to 'm'.\n", sym->name);
+ line[0] = 'm';
+ line[1] = '\n';
+ line[2] = 0;
+ break;
+ }
case ask_new: case ask_new:
case ask_silent: case ask_silent:
if (sym_has_value(sym)) { if (sym_has_value(sym)) {
@@ -344,6 +354,7 @@
@@ -354,6 +364,7 @@
break; break;
} }
check_stdin(); check_stdin();
@ -88,7 +57,7 @@ diff -ru linux-2.6.0-test4/scripts/kconfig/conf.c linux-2.6.0-test4-rock/scripts
case ask_all: case ask_all:
fflush(stdout); fflush(stdout);
fgets(line, 128, stdin); fgets(line, 128, stdin);
@@ -504,6 +515,9 @@
@@ -523,6 +534,9 @@
case 'm': case 'm':
input_mode = set_mod; input_mode = set_mod;
break; break;
@ -98,11 +67,40 @@ diff -ru linux-2.6.0-test4/scripts/kconfig/conf.c linux-2.6.0-test4-rock/scripts
case 'y': case 'y':
input_mode = set_yes; input_mode = set_yes;
break; break;
@@ -543,6 +557,7 @@
@@ -565,6 +579,7 @@
} }
case ask_all: case ask_all:
case ask_new: case ask_new:
+ case ask_no2mod: + case ask_no2mod:
conf_read(NULL); conf_read(NULL);
break; break;
default:
case set_no:
--- ./scripts/kconfig/Makefile.vanilla 2006-01-10 17:29:25.000000000 +0100
+++ ./scripts/kconfig/Makefile 2006-01-10 17:29:45.000000000 +0100
@@ -42,7 +42,7 @@
$(Q)rm -f arch/um/Kconfig_arch
$(Q)rm -f scripts/kconfig/linux_*.pot scripts/kconfig/config.pot
-.PHONY: randconfig allyesconfig allnoconfig allmodconfig defconfig
+.PHONY: randconfig allyesconfig allnoconfig allmodconfig no2modconfig defconfig
randconfig: $(obj)/conf
$< -r arch/$(ARCH)/Kconfig
@@ -56,6 +56,9 @@
allmodconfig: $(obj)/conf
$< -m arch/$(ARCH)/Kconfig
+no2modconfig: scripts/kconfig/conf
+ $< -M arch/$(ARCH)/Kconfig
+
defconfig: $(obj)/conf
ifeq ($(KBUILD_DEFCONFIG),)
$< -d arch/$(ARCH)/Kconfig
@@ -77,6 +80,7 @@
@echo ' randconfig - New config with random answer to all options'
@echo ' defconfig - New config with default answer to all options'
@echo ' allmodconfig - New config selecting modules when possible'
+ @echo ' no2modconfig - New config selecting modules for disabled options'
@echo ' allyesconfig - New config where all options are accepted with yes'
@echo ' allnoconfig - New minimal config'

+ 7
- 7
package/base/linux/linux26/76-no-new-variable.patch

@ -17,9 +17,9 @@
# #
# --- ROCK-COPYRIGHT-NOTE-END --- # --- ROCK-COPYRIGHT-NOTE-END ---
--- ./include/asm-i386/system.h 2004-12-29 20:54:20.072258656 +0000
+++ ./include/asm-i386/system.h-p 2004-12-29 21:11:17.462591816 +0000
@@ -244,26 +244,26 @@
--- ./include/asm-i386/system.h.vanilla 2006-01-10 17:46:21.000000000 +0100
+++ ./include/asm-i386/system.h 2006-01-10 17:48:39.000000000 +0100
@@ -269,26 +269,26 @@
#endif #endif
static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old, static inline unsigned long __cmpxchg(volatile void *ptr, unsigned long old,
@ -38,15 +38,15 @@
case 2: case 2:
__asm__ __volatile__(LOCK_PREFIX "cmpxchgw %w1,%2" __asm__ __volatile__(LOCK_PREFIX "cmpxchgw %w1,%2"
: "=a"(prev) : "=a"(prev)
- : "q"(new), "m"(*__xg(ptr)), "0"(old)
+ : "q"(ulnew), "m"(*__xg(ptr)), "0"(old)
- : "r"(new), "m"(*__xg(ptr)), "0"(old)
+ : "r"(ulnew), "m"(*__xg(ptr)), "0"(old)
: "memory"); : "memory");
return prev; return prev;
case 4: case 4:
__asm__ __volatile__(LOCK_PREFIX "cmpxchgl %1,%2" __asm__ __volatile__(LOCK_PREFIX "cmpxchgl %1,%2"
: "=a"(prev) : "=a"(prev)
- : "q"(new), "m"(*__xg(ptr)), "0"(old)
+ : "q"(ulnew), "m"(*__xg(ptr)), "0"(old)
- : "r"(new), "m"(*__xg(ptr)), "0"(old)
+ : "r"(ulnew), "m"(*__xg(ptr)), "0"(old)
: "memory"); : "memory");
return prev; return prev;
} }

+ 0
- 34
package/base/linux/linux26/arch-ppc-asm_byteorder-ansi-c.patch

@ -1,34 +0,0 @@
# --- 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/linux26/arch-ppc-asm_byteorder-ansi-c.patch
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- ./include/asm-ppc/byteorder.h.orig 2004-12-02 21:08:03.100528624 +0100
+++ ./include/asm-ppc/byteorder.h 2004-12-02 21:08:53.274900960 +0100
@@ -64,10 +64,8 @@
#endif /* __KERNEL__ */
-#if !defined(__STRICT_ANSI__) || defined(__KERNEL__)
-# define __BYTEORDER_HAS_U64__
-# define __SWAB_64_THRU_32__
-#endif
+#define __BYTEORDER_HAS_U64__
+#define __SWAB_64_THRU_32__
#endif /* __GNUC__ */

Loading…
Cancel
Save