File: prep-use-ppc-rtc.patch

package info (click to toggle)
kernel-patch-2.2.20-powerpc 2.2.20-3woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 108 kB
  • ctags: 13
  • sloc: makefile: 94; sh: 59
file content (56 lines) | stat: -rw-r--r-- 1,266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- kernel-source-2.2.19/drivers/Makefile.orig	Mon Mar 18 19:21:53 2002
+++ kernel-source-2.2.19/drivers/Makefile	Mon Mar 18 19:22:13 2002
@@ -43,7 +43,7 @@
 MOD_SUB_DIRS += video
 endif
 
-ifdef CONFIG_POWERMAC
+ifdef CONFIG_PPC
 SUB_DIRS += macintosh
 MOD_SUB_DIRS += macintosh
 endif
--- kernel-source-2.2.19/drivers/macintosh/Makefile.orig	Mon Mar 18 19:15:06 2002
+++ kernel-source-2.2.19/drivers/macintosh/Makefile	Mon Mar 18 19:21:46 2002
@@ -15,6 +15,7 @@
 O_TARGET := macintosh.o
 M_OBJS   :=
 
+ifdef CONFIG_POWERMAC
 ifndef CONFIG_MBX
 O_OBJS   := via-cuda.o macio-adb.o via-pmu.o mediabay.o
 OX_OBJS  := adb.o
@@ -35,6 +36,7 @@
     M_OBJS += nvram.o
   endif
 endif
+endif
 
 ifeq ($(CONFIG_PPC_RTC),y)
   O_OBJS += rtc.o
@@ -44,6 +46,7 @@
   endif
 endif
 
+ifdef CONFIG_POWERMAC
 ifdef CONFIG_MAC_KEYBOARD
   O_OBJS += mac_keyb.o
 endif
@@ -52,6 +55,7 @@
 endif
 ifdef CONFIG_MAC_HID
   O_OBJS += mac_hid.o
+endif
 endif
 
 include $(TOPDIR)/Rules.make
--- kernel-source-2.2.19/Makefile.orig	Mon Mar 18 20:58:27 2002
+++ kernel-source-2.2.19/Makefile	Mon Mar 18 20:58:35 2002
@@ -181,7 +181,7 @@
 DRIVERS := $(DRIVERS) drivers/net/fc/fc.a
 endif
 
-ifdef CONFIG_POWERMAC
+ifdef CONFIG_PPC
 DRIVERS := $(DRIVERS) drivers/macintosh/macintosh.o
 endif