There appears to be an error in the linux-2.6.5-s390-05-april2004.diff
patch.  It has this in it:
--- linux-2.6.5/arch/s390/Makefile      Tue Jun 22 11:15:35 2004
+++ linux-2.5/arch/s390/Makefile        Tue Jun 22 11:18:07 2004
@@ -44,12 +44,15 @@
 head-$(CONFIG_ARCH_S390X)      += arch/$(ARCH)/kernel/head64.o
 head-y                         += arch/$(ARCH)/kernel/init_task.o

-core-y         += arch/$(ARCH)/mm/ arch/$(ARCH)/kernel/ \
+core-y         += arch/$(ARCH)/mm/ arch/$(ARCH)/kernel/
arch/$(ARCH)/crypto/ \
                   arch/$(ARCH)/appldata/
 libs-y         += arch/$(ARCH)/lib/
 drivers-y      += drivers/s390/
 drivers-$(CONFIG_MATHEMU) += arch/$(ARCH)/math-emu/

+# must be linked after kernel
+drivers-$(CONFIG_OPROFILE)     += arch/s390/oprofile/
+
 boot           := arch/$(ARCH)/boot

 all: image kerntypes.o


The problem arises because there is no arch/s390/oprofile/ directory in
2.6.5.  That appears to have been added in 2.6.6.  Reverting the three lines
with this patch gets rid of the error make throws out:
--- linux-2.6.5/arch/s390/Makefile.orig 2004-07-18 00:52:42.000000000 -0400
+++ linux-2.6.5/arch/s390/Makefile      2004-07-18 01:04:47.000000000 -0400
@@ -50,9 +50,6 @@
 drivers-y      += drivers/s390/
 drivers-$(CONFIG_MATHEMU) += arch/$(ARCH)/math-emu/

-# must be linked after kernel
-drivers-$(CONFIG_OPROFILE)     += arch/s390/oprofile/
-
 boot           := arch/$(ARCH)/boot

 all: image kerntypes.o


The white space after "drivers-y" on the first line is a single tab.  The
white space after "boot" on line 7 is two tabs.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to