From 8a463f0e7a6bfa642a6354eebbbe3219d29e8f11 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Fri, 27 Aug 2004 05:13:44 -0700 Subject: [PATCH] [PATCH] arm Kconfig fixes ARM dependency and makefile fixes (ACKed by rmk) Signed-off-by: Al Viro Signed-off-by: Linus Torvalds --- arch/arm/Kconfig | 1 + arch/arm/boot/compressed/Makefile | 9 +++++---- drivers/char/Kconfig | 2 +- drivers/char/agp/Kconfig | 2 +- drivers/input/serio/Kconfig | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4be8ac939fe11..2f5fa993d0ee0 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -428,6 +428,7 @@ config FPE_FASTFPE config VFP bool "VFP-format floating point maths" + depends on CPU_V6 || CPU_ARM926T help Say Y to include VFP support code in the kernel. This is needed if your hardware includes a VFP unit. diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 951fbf6e81f8c..9aa3e7d211cd7 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile @@ -8,11 +8,13 @@ HEAD = head.o OBJS = misc.o FONTC = drivers/video/console/font_acorn_8x8.c +FONT = $(addprefix ../../../../drivers/video/console/, font_acorn_8x8.o) + # # Architecture dependencies # ifeq ($(CONFIG_ARCH_ACORN),y) -OBJS += ll_char_wr.o font.o +OBJS += ll_char_wr.o $(FONT) endif ifeq ($(CONFIG_ARCH_SHARK),y) @@ -66,7 +68,7 @@ endif SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/ -targets := vmlinux vmlinux.lds piggy.gz piggy.o font.o \ +targets := vmlinux vmlinux.lds piggy.gz piggy.o $(FONT) \ head.o misc.o $(OBJS) EXTRA_CFLAGS := -fpic EXTRA_AFLAGS := @@ -98,8 +100,7 @@ $(obj)/piggy.gz: $(obj)/../Image FORCE $(obj)/piggy.o: $(obj)/piggy.gz FORCE -CFLAGS_font.o := -Dstatic= -$(obj)/font.o: $(FONTC) +CFLAGS_font_acorn_8x8.o := -Dstatic= $(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config @sed "$(SEDFLAGS)" < $< > $@ diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 8b160f9723dfa..5bbc8d2921d03 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -786,7 +786,7 @@ config SGI_IP27_RTC config GEN_RTC tristate "Generic /dev/rtc emulation" - depends on RTC!=y && !IA64 + depends on RTC!=y && !IA64 && !ARM ---help--- If you say Y here and create a character special file /dev/rtc with major number 10 and minor number 135 using mknod ("man mknod"), you diff --git a/drivers/char/agp/Kconfig b/drivers/char/agp/Kconfig index 6a360a9389788..d9b4a6e7fb949 100644 --- a/drivers/char/agp/Kconfig +++ b/drivers/char/agp/Kconfig @@ -1,5 +1,5 @@ config AGP - tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU && !M68K + tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU && !M68K && !ARM default y if GART_IOMMU ---help--- AGP (Accelerated Graphics Port) is a bus system mainly used to diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index cd74954bd4721..8338e6dd67116 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig @@ -20,7 +20,7 @@ config SERIO_I8042 tristate "i8042 PC Keyboard controller" if EMBEDDED || !X86 default y select SERIO - depends on !PARISC + depends on !PARISC && (!ARM || ARCH_SHARK || ARCH_EBSA285) ---help--- i8042 is the chip over which the standard AT keyboard and PS/2 mouse are connected to the computer. If you use these devices, -- 2.53.0