2004-10-23 04:30:07

by Blaisorblade

[permalink] [raw]
Subject: [patch 4/5] uml: KBUILD_OUTPUT fix



Signed-off-by: Paolo 'Blaisorblade' Giarrusso <[email protected]>
---

vanilla-linux-2.6.9-paolo/arch/um/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff -puN arch/um/Makefile~uml-KBUILD_OUTPUT-fix arch/um/Makefile
--- vanilla-linux-2.6.9/arch/um/Makefile~uml-KBUILD_OUTPUT-fix 2004-10-21 02:05:31.482358736 +0200
+++ vanilla-linux-2.6.9-paolo/arch/um/Makefile 2004-10-21 02:15:20.592800336 +0200
@@ -28,14 +28,14 @@ MAKEFILE-$(CONFIG_MODE_TT) += Makefile-t
MAKEFILE-$(CONFIG_MODE_SKAS) += Makefile-skas

ifneq ($(MAKEFILE-y),)
- include $(addprefix $(ARCH_DIR)/,$(MAKEFILE-y))
+ include $(addprefix $(srctree)/$(ARCH_DIR)/,$(MAKEFILE-y))
endif

ARCH_INCLUDE := -I$(ARCH_DIR)/include
SYS_DIR := $(ARCH_DIR)/include/sysdep-$(SUBARCH)

-include $(ARCH_DIR)/Makefile-$(SUBARCH)
-include $(ARCH_DIR)/Makefile-os-$(OS)
+include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH)
+include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS)

# -Derrno=kernel_errno - This turns all kernel references to errno into
# kernel_errno to separate them from the libc errno. This allows -fno-common
_