aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-06 16:21:57 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-06 16:21:57 -0400
commit15700770ef7c5d12e2f1659d2ddbeb3f658d9f37 (patch)
tree7fa2f81c33c9efcb1a1568385beead75c5892cfb /Makefile
parent6de410c2b0cc055ae9ee640c84331f6a70878d9b (diff)
parent11de39e2fbbc592018e0a231d0ee773653dcc8d6 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (38 commits) kconfig: fix mconf segmentation fault kbuild: enable use of code from a different dir kconfig: error out if recursive dependencies are found kbuild: scripts/basic/fixdep segfault on pathological string-o-death kconfig: correct minor typo in Kconfig warning message. kconfig: fix path to modules.txt in Kconfig help usr/Kconfig: fix typo kernel-doc: alphabetically-sorted entries in index.html of 'htmldocs' kbuild: be more explicit on missing .config file kbuild: clarify the creation of the LOCALVERSION_AUTO string. kbuild: propagate errors from find in scripts/gen_initramfs_list.sh kconfig: refer to qt3 if we cannot find qt libraries kbuild: handle compressed cpio initramfs-es kbuild: ignore section mismatch warning for references from .paravirtprobe to .init.text kbuild: remove stale comment in modpost.c kbuild/mkuboot.sh: allow spaces in CROSS_COMPILE kbuild: fix make mrproper for Documentation/DocBook/man kbuild: remove kconfig binaries during make mrproper kconfig/menuconfig: do not hardcode '.config' kbuild: override build timestamp & version ...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 387526b69d4f..dfe559c89fe6 100644
--- a/Makefile
+++ b/Makefile
@@ -576,7 +576,7 @@ libs-y := $(libs-y1) $(libs-y2)
576# --------------------------------------------------------------------------- 576# ---------------------------------------------------------------------------
577# vmlinux is built from the objects selected by $(vmlinux-init) and 577# vmlinux is built from the objects selected by $(vmlinux-init) and
578# $(vmlinux-main). Most are built-in.o files from top-level directories 578# $(vmlinux-main). Most are built-in.o files from top-level directories
579# in the kernel tree, others are specified in arch/$(ARCH)Makefile. 579# in the kernel tree, others are specified in arch/$(ARCH)/Makefile.
580# Ordering when linking is important, and $(vmlinux-init) must be first. 580# Ordering when linking is important, and $(vmlinux-init) must be first.
581# 581#
582# vmlinux 582# vmlinux
@@ -603,6 +603,7 @@ vmlinux-init := $(head-y) $(init-y)
603vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y) 603vmlinux-main := $(core-y) $(libs-y) $(drivers-y) $(net-y)
604vmlinux-all := $(vmlinux-init) $(vmlinux-main) 604vmlinux-all := $(vmlinux-init) $(vmlinux-main)
605vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds 605vmlinux-lds := arch/$(ARCH)/kernel/vmlinux.lds
606export KBUILD_VMLINUX_OBJS := $(vmlinux-all)
606 607
607# Rule to link vmlinux - also used during CONFIG_KALLSYMS 608# Rule to link vmlinux - also used during CONFIG_KALLSYMS
608# May be overridden by arch/$(ARCH)/Makefile 609# May be overridden by arch/$(ARCH)/Makefile
@@ -855,6 +856,7 @@ archprepare: prepare1 scripts_basic
855 856
856prepare0: archprepare FORCE 857prepare0: archprepare FORCE
857 $(Q)$(MAKE) $(build)=. 858 $(Q)$(MAKE) $(build)=.
859 $(Q)$(MAKE) $(build)=. missing-syscalls
858 860
859# All the preparing.. 861# All the preparing..
860prepare: prepare0 862prepare: prepare0
@@ -1277,10 +1279,7 @@ endif
1277ALLSOURCE_ARCHS := $(ARCH) 1279ALLSOURCE_ARCHS := $(ARCH)
1278 1280
1279define find-sources 1281define find-sources
1280 ( find $(__srctree) $(RCS_FIND_IGNORE) \ 1282 ( for ARCH in $(ALLSOURCE_ARCHS) ; do \
1281 \( -name include -o -name arch \) -prune -o \
1282 -name $1 -print; \
1283 for ARCH in $(ALLSOURCE_ARCHS) ; do \
1284 find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \ 1283 find $(__srctree)arch/$${ARCH} $(RCS_FIND_IGNORE) \
1285 -name $1 -print; \ 1284 -name $1 -print; \
1286 done ; \ 1285 done ; \
@@ -1294,7 +1293,11 @@ define find-sources
1294 -name $1 -print; \ 1293 -name $1 -print; \
1295 done ; \ 1294 done ; \
1296 find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \ 1295 find $(__srctree)include/asm-generic $(RCS_FIND_IGNORE) \
1297 -name $1 -print ) 1296 -name $1 -print; \
1297 find $(__srctree) $(RCS_FIND_IGNORE) \
1298 \( -name include -o -name arch \) -prune -o \
1299 -name $1 -print; \
1300 )
1298endef 1301endef
1299 1302
1300define all-sources 1303define all-sources