diff options
| author | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-18 11:12:19 -0500 |
|---|---|---|
| committer | Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de> | 2002-09-18 11:12:19 -0500 |
| commit | 4c1256341d3bb0490293f0f4ca01b38df8150ecb (patch) | |
| tree | 4ce73f563ba881fa614e2e2f5a05ce4f1cd58742 | |
| parent | 512af14f9d507dc86316b6fdbf159a2b3a8bca21 (diff) | |
kbuild: Lost update to top-level Makefile
Sometimes bk still gets me... The previous changes won't work without
the updated top-level Makefile ;)
| -rw-r--r-- | Makefile | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -162,8 +162,6 @@ objtree := $(TOPDIR) export srctree objtree -SUBDIRS := init kernel mm fs ipc lib drivers sound net security - # The temporary file to save gcc -MD generated dependencies must not # contain a comma depfile = $(subst $(comma),_,$(@D)/.$(@F).d) @@ -246,20 +244,34 @@ endif # Link components for vmlinux # --------------------------------------------------------------------------- -INIT := init/init.o -CORE_FILES := kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o security/built-in.o -LIBS := lib/lib.a -DRIVERS := drivers/built-in.o sound/sound.o -NETWORKS := net/network.o +init-y := init/ +drivers-y := drivers/ sound/ +networks-y := net/ +libs-y := lib/ + +CORE_FILES := kernel/built-in.o mm/built-in.o fs/built-in.o \ + ipc/built-in.o security/built-in.o +SUBDIRS += kernel mm fs ipc security include arch/$(ARCH)/Makefile +SUBDIRS += $(patsubst %/,%,$(filter %/, $(init-y) $(init-m))) +INIT += $(patsubst %/, %/built-in.o, $(init-y)) + SUBDIRS += $(patsubst %/,%,$(filter %/, $(core-y) $(core-m))) CORE_FILES := $(patsubst %/, %/built-in.o, $(core-y)) $(CORE_FILES) SUBDIRS += $(patsubst %/,%,$(filter %/, $(drivers-y) $(drivers-m))) DRIVERS += $(patsubst %/, %/built-in.o, $(drivers-y)) +SUBDIRS += $(patsubst %/,%,$(filter %/, $(networks-y) $(networks-m))) +NETWORKS += $(patsubst %/, %/built-in.o, $(networks-y)) + +SUBDIRS += $(patsubst %/,%,$(filter %/, $(libs-y) $(libs-m))) +LIBS += $(patsubst %/, %/lib.a, $(libs-y)) + +$(warning $(SUBDIRS)) + export NETWORKS DRIVERS LIBS HEAD LDFLAGS MAKEBOOT # boot target |
