Commit bbb283cc authored by Patrick Mochel's avatar Patrick Mochel

Move arch/i386/kernel/pci/ to arch/i386/pci/

parent f28d4711
...@@ -98,6 +98,11 @@ SUBDIRS += arch/i386/math-emu ...@@ -98,6 +98,11 @@ SUBDIRS += arch/i386/math-emu
DRIVERS += arch/i386/math-emu/math.o DRIVERS += arch/i386/math-emu/math.o
endif endif
ifdef CONFIG_PCI
SUBDIRS += arch/i386/pci
DRIVERS += arch/i386/pci/pci.o
endif
arch/i386/kernel: dummy arch/i386/kernel: dummy
$(MAKE) linuxsubdirs SUBDIRS=arch/i386/kernel $(MAKE) linuxsubdirs SUBDIRS=arch/i386/kernel
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
.S.o: .S.o:
$(CC) $(AFLAGS) -traditional -c $< -o $*.o $(CC) $(AFLAGS) -traditional -c $< -o $*.o
all: first_rule kernel.o head.o init_task.o all: kernel.o head.o init_task.o
O_TARGET := kernel.o O_TARGET := kernel.o
...@@ -37,8 +37,4 @@ obj-y += setup-visws.o ...@@ -37,8 +37,4 @@ obj-y += setup-visws.o
obj-$(CONFIG_X86_VISWS_APIC) += visws_apic.o obj-$(CONFIG_X86_VISWS_APIC) += visws_apic.o
endif endif
kernel-subdir-$(CONFIG_PCI) += pci
subdir-y := $(kernel-subdir-y)
obj-y += $(foreach dir,$(subdir-y),$(dir)/$(dir).o)
include $(TOPDIR)/Rules.make include $(TOPDIR)/Rules.make
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment