summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@penguin.transmeta.com>2002-12-03 22:08:48 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-12-03 22:08:48 -0800
commit2becf2fd04bdad4a7d0acb94fef355a0b3febfdb (patch)
treee6b22859c6c9ac2dfe8315bb0be028fd50871147 /scripts/Makefile
parent7b66a268acb1e7e7e1a367e3b07aa657cb198b2d (diff)
parent260b4179e57d412d7ed71cb5350775bf650ef7c6 (diff)
Merge http://linux-isdn.bkbits.net/linux-2.5.make
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile28
1 files changed, 4 insertions, 24 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 5ecc03a43242..eca3f1661bf4 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -8,31 +8,11 @@
# docproc: Preprocess .tmpl file in order to generate .sgml documentation
# conmakehash: Create arrays for initializing the kernel console tables
-EXTRA_TARGETS := fixdep split-include docproc conmakehash
+host-progs := fixdep split-include conmakehash docproc kallsyms
+build-targets := $(host-progs)
+# Let clean descend into subdirs
subdir- := lxdialog kconfig
-# Yikes. We need to build this stuff here even if the user only wants
-# modules.
-
-KBUILD_BUILTIN := 1
-
-# The following temporary rule will make sure that people's
-# trees get updated to the right permissions, since patch(1)
-# can't do it
-# ---------------------------------------------------------------------------
-
-host-progs := fixdep split-include conmakehash docproc
-
-include $(TOPDIR)/Rules.make
-
-
-# ---------------------------------------------------------------------------
-# Targets hardcoded and wellknow in top-level makefile
-.PHONY: lxdialog
-lxdialog:
- $(call descend,scripts/lxdialog,)
-
# fixdep is needed to compile other host programs
-$(obj)/split-include $(obj)/docproc \
-$(obj)/conmakehash lxdialog: $(obj)/fixdep
+$(addprefix $(obj)/,$(filter-out fixdep,$(host-progs))): $(obj)/fixdep