From 371c7c8ad925584ae19ee7ab77724f5bbbe4776a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 31 May 2002 10:43:28 +0000 Subject: [PATCH] Minor cleanups --- make/user-mode-linux.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/make/user-mode-linux.mk b/make/user-mode-linux.mk index 930e249150..a09f28a8de 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 -- 2.30.2