From: Eric Andersen Date: Fri, 31 May 2002 10:43:28 +0000 (-0000) Subject: Minor cleanups X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=371c7c8ad925584ae19ee7ab77724f5bbbe4776a;p=buildroot.git Minor cleanups --- 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