SOURCES (LINUX_2_6_14): linux-2.6.14.7-kernel-gcc4.patch (NEW) - 2...

mguevara mguevara at pld-linux.org
Tue Feb 21 18:39:46 CET 2006


Author: mguevara                     Date: Tue Feb 21 17:39:46 2006 GMT
Module: SOURCES                       Tag: LINUX_2_6_14
---- Log message:
- 2.6.14.7 replacement for kernel-gcc4.patch

---- Files affected:
SOURCES:
   linux-2.6.14.7-kernel-gcc4.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/linux-2.6.14.7-kernel-gcc4.patch
diff -u /dev/null SOURCES/linux-2.6.14.7-kernel-gcc4.patch:1.1.2.1
--- /dev/null	Tue Feb 21 18:39:46 2006
+++ SOURCES/linux-2.6.14.7-kernel-gcc4.patch	Tue Feb 21 18:39:41 2006
@@ -0,0 +1,54 @@
+--- a/Makefile	2005-03-30 13:10:50.000000000 +0200
++++ b/Makefile	2005-03-30 13:11:15.000000000 +0200
+@@ -200,10 +200,10 @@
+ 	  else if [ -x /bin/bash ]; then echo /bin/bash; \
+ 	  else echo sh; fi ; fi)
+ 
+-HOSTCC  	= gcc
+-HOSTCXX  	= g++
+-HOSTCFLAGS	= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
+-HOSTCXXFLAGS	= -O2
++HOSTCC  	:= gcc
++HOSTCXX  	:= g++
++HOSTCFLAGS	:= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
++HOSTCXXFLAGS	:= -O2
+ 
+ # 	Decide whether to build built-in, modular, or both.
+ #	Normally, just do built-in.
+@@ -545,6 +545,14 @@
+ # disable pointer signedness warnings in gcc 4.0
+ CFLAGS += $(call cc-option,-Wno-pointer-sign,)
+ 
++HOSTCFLAGS += $(shell if $(HOSTCC) $(HOSTCFLAGS) -Wno-pointer-sign -S \
++              -o /dev/null -xc /dev/null > /dev/null 2>&1; then \
++               echo "-Wno-pointer-sign"; fi ;)
++
++HOSTCXXFLAGS += $(shell if $(HOSTCXX) $(HOSTCXXFLAGS) -Wno-pointer-sign -S \
++              -o /dev/null -xc /dev/null > /dev/null 2>&1; then \
++               echo "-Wno-pointer-sign"; fi ;)
++
+ # Default kernel image to build when no specific target is given.
+ # KBUILD_IMAGE may be overruled on the commandline or
+ # set in the environment
+--- a/arch/sparc64/kernel/smp.c	2005-05-12 00:41:08.000000000 +0200
++++ b/arch/sparc64/kernel/smp.c	2005-05-16 01:52:11.000000000 +0200
+@@ -41,7 +41,7 @@
+ extern void calibrate_delay(void);
+ 
+ /* Please don't make this stuff initdata!!!  --DaveM */
+-static unsigned char boot_cpu_id;
++unsigned char boot_cpu_id;
+ 
+ cpumask_t cpu_online_map = CPU_MASK_NONE;
+ cpumask_t phys_cpu_present_map = CPU_MASK_NONE;
+--- a/drivers/input/mouse/psmouse.h	2005-03-13 07:44:40.000000000 +0100
++++ b/drivers/input/mouse/psmouse.h	2005-03-13 14:08:06.000000000 +0100
+@@ -1,6 +1,8 @@
+ #ifndef _PSMOUSE_H
+ #define _PSMOUSE_H
+ 
++#include <linux/libps2.h>
++
+ #define PSMOUSE_CMD_SETSCALE11	0x00e6
+ #define PSMOUSE_CMD_SETSCALE21	0x00e7
+ #define PSMOUSE_CMD_SETRES	0x10e8
================================================================


More information about the pld-cvs-commit mailing list