summaryrefslogtreecommitdiff
path: root/make/user-mode-linux.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-31 10:43:28 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-31 10:43:28 +0000
commit371c7c8ad925584ae19ee7ab77724f5bbbe4776a (patch)
treedf3fae88493049515a3b11b58ee4eda9202a36a4 /make/user-mode-linux.mk
parent27548406e870673c77bf0bc3f1033d00536ee70e (diff)
Minor cleanups
Diffstat (limited to 'make/user-mode-linux.mk')
-rw-r--r--make/user-mode-linux.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/make/user-mode-linux.mk b/make/user-mode-linux.mk
index 930e24915..a09f28a8d 100644
--- a/make/user-mode-linux.mk
+++ b/make/user-mode-linux.mk
@@ -30,13 +30,16 @@ $(UMLINUX_DIR)/.set_arch: $(UMLINUX_DIR)/.patched
perl -i -p -e "s/^ARCH :=.*/ARCH:=um/g;" $(UMLINUX_DIR)/Makefile
touch $(UMLINUX_DIR)/.set_arch
-$(UMLINUX_DIR)/.config: $(UMLINUX_DIR)/.set_arch
+$(UMLINUX_DIR)/.configured: $(UMLINUX_DIR)/.set_arch $(UMLINUX_KCONFIG)
cp $(UMLINUX_KCONFIG) $(UMLINUX_DIR)/.config
make -C $(UMLINUX_DIR) oldconfig
- touch -c $(UMLINUX_DIR)/.config
+ touch $(UMLINUX_DIR)/.configured
-$(UMLINUX_DIR)/linux: $(UMLINUX_DIR)/.config
+$(UMLINUX_DIR)/.depend_done: $(UMLINUX_DIR)/.configured
make -C $(UMLINUX_DIR) dep
+ touch $(UMLINUX_DIR)/.depend_done
+
+$(UMLINUX_DIR)/linux: $(UMLINUX_DIR)/.depend_done
make -C $(UMLINUX_DIR) linux
$(LINUX_KERNEL): $(UMLINUX_DIR)/linux