mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] readd missing define to arch/um/Makefile-i386
@ 2005-07-17 14:52 Olaf Hering
  2005-07-17 14:53 ` [PATCH] add dependency to arch/um/Makefile for parallel builds Olaf Hering
  2005-07-17 16:08 ` [PATCH] readd missing define to arch/um/Makefile-i386 Blaisorblade
  0 siblings, 2 replies; 3+ messages in thread
From: Olaf Hering @ 2005-07-17 14:52 UTC (permalink / raw)
  To: Andrew Morton, blaisorblade, linux-kernel


New in 2.6.13-rc3-git4:

scripts/Makefile.build:13: /Makefile: No such file or directory
scripts/Makefile.build:64: kbuild: Makefile.build is included improperly

the define was removed, but its still required to build some targets.

Signed-off-by: Olaf Hering <olh@suse.de>

 arch/um/Makefile-i386 |    1 +
 1 files changed, 1 insertion(+)

Index: linux-2.6.13-rc3-git4/arch/um/Makefile-i386
===================================================================
--- linux-2.6.13-rc3-git4.orig/arch/um/Makefile-i386
+++ linux-2.6.13-rc3-git4/arch/um/Makefile-i386
@@ -33,6 +33,7 @@ ifneq ($(CONFIG_GPROF),y)
 ARCH_CFLAGS += -DUM_FASTCALL
 endif
 
+SYS_UTIL_DIR	:= $(ARCH_DIR)/sys-i386/util
 SYS_HEADERS	:= $(SYS_DIR)/sc.h $(SYS_DIR)/thread.h
 
 prepare: $(SYS_HEADERS)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] add dependency to arch/um/Makefile for parallel builds
  2005-07-17 14:52 [PATCH] readd missing define to arch/um/Makefile-i386 Olaf Hering
@ 2005-07-17 14:53 ` Olaf Hering
  2005-07-17 16:08 ` [PATCH] readd missing define to arch/um/Makefile-i386 Blaisorblade
  1 sibling, 0 replies; 3+ messages in thread
From: Olaf Hering @ 2005-07-17 14:53 UTC (permalink / raw)
  To: Andrew Morton, blaisorblade, linux-kernel


the headerfile must be build before mk_user_constants. Adding it as 
a direct dep doesnt work for some reason.

arch/um/os-Linux/util/mk_user_constants.c:2:26: error: user-offsets.h: No such file or directory
arch/um/os-Linux/util/mk_user_constants.c: In function 'main':
arch/um/os-Linux/util/mk_user_constants.c:17: error: '__UM_FRAME_SIZE' undeclared (first use in this function)
arch/um/os-Linux/util/mk_user_constants.c:17: error: (Each undeclared identifier is reported only once
arch/um/os-Linux/util/mk_user_constants.c:17: error: for each function it appears in.)
make[1]: *** [arch/um/os-Linux/util/mk_user_constants] Error 1

Signed-off-by: Olaf Hering <olh@suse.de>

 arch/um/Makefile |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.13-rc3-git4/arch/um/Makefile
===================================================================
--- linux-2.6.13-rc3-git4.orig/arch/um/Makefile
+++ linux-2.6.13-rc3-git4/arch/um/Makefile
@@ -245,7 +245,7 @@ $(ARCH_DIR)/util: scripts_basic $(SYS_DI
 $(ARCH_DIR)/kernel/skas/util: scripts_basic $(ARCH_DIR)/user-offsets.h FORCE
 	$(Q)$(MAKE) $(build)=$@
 
-$(ARCH_DIR)/os-$(OS)/util: scripts_basic FORCE
+$(ARCH_DIR)/os-$(OS)/util: scripts_basic $(ARCH_DIR)/user-offsets.h FORCE
 	$(Q)$(MAKE) $(build)=$@
 
 export SUBARCH USER_CFLAGS OS

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] readd missing define to arch/um/Makefile-i386
  2005-07-17 14:52 [PATCH] readd missing define to arch/um/Makefile-i386 Olaf Hering
  2005-07-17 14:53 ` [PATCH] add dependency to arch/um/Makefile for parallel builds Olaf Hering
@ 2005-07-17 16:08 ` Blaisorblade
  1 sibling, 0 replies; 3+ messages in thread
From: Blaisorblade @ 2005-07-17 16:08 UTC (permalink / raw)
  To: Olaf Hering; +Cc: Andrew Morton, linux-kernel

On Sunday 17 July 2005 16:52, Olaf Hering wrote:
> New in 2.6.13-rc3-git4:

> scripts/Makefile.build:13: /Makefile: No such file or directory
> scripts/Makefile.build:64: kbuild: Makefile.build is included improperly

> the define was removed, but its still required to build some targets.

> Signed-off-by: Olaf Hering <olh@suse.de>
Yes, this patch is the correct fix, also for -rc3-mm1 (which has the same 
problem).

Andrew, I hadn't the time to look at how you fixed up rejects in last merge 
([PATCH] uml: allow building as 32-bit binary on 64bit host)*; the rejects 
came from the SKAS0 merge, and while you were fixing the patch up you deleted 
by mistake the line which is readded in this patch.

*
http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=20d0021394c1b070bf04b22c5bc8fdb437edd4c5

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-17 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-17 14:52 [PATCH] readd missing define to arch/um/Makefile-i386 Olaf Hering
2005-07-17 14:53 ` [PATCH] add dependency to arch/um/Makefile for parallel builds Olaf Hering
2005-07-17 16:08 ` [PATCH] readd missing define to arch/um/Makefile-i386 Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®