Skip to contentSkip to conversation

UML - Cross-build support : mk_ptregs

PATCH In review Jeff Dike 2 participants 3 messages May 1, 2005 – May 2, 2005 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 4/22 UML - Cross-build support : mk_ptregs

Quoted 1 line

From Al Viro:

mk_ptregs converted. Nothing new here, it's the same situation
as with mk_user_constants.

arch/um/Makefile +1 -1
diff -urN RC12-rc3-uml-user-constants/arch/um/Makefile RC12-rc3-uml-ptregs/arch/um/Makefile
@@ -196,7 +196,7 @@
 $(ARCH_DIR)/util: scripts_basic $(SYS_DIR)/sc.h FORCE
 	$(Q)$(MAKE) $(build)=$@
 
-$(ARCH_DIR)/kernel/skas/util: scripts_basic FORCE
+$(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/um/kernel/skas/util/Makefile +1 -0
diff -urN RC12-rc3-uml-user-constants/arch/um/kernel/skas/util/Makefile RC12-rc3-uml-ptregs/arch/um/kernel/skas/util/Makefile
@@ -2,3 +2,4 @@
 always			:= $(hostprogs-y)
 
 mk_ptregs-objs := mk_ptregs-$(SUBARCH).o
+HOSTCFLAGS_mk_ptregs-$(SUBARCH).o := -I$(objtree)/arch/um
arch/um/kernel/skas/util/mk_ptregs-i386.c +22 -24

58 lines not on this page · raw message

arch/um/kernel/skas/util/mk_ptregs-x86_64.c +29 -31

76 lines not on this page · raw message

#1 lore raw
Quoted 4 lines · Jeff Dike
Quoted 1 line

From Al Viro:

mk_ptregs converted. Nothing new here, it's the same situation
as with mk_user_constants.

... and after that patch should be mk_sc conversion. Another missing bit (OTOH, that one might be in -mm already) is removal of -L/usr/lib in the final link.

author
#2 lore raw
Quoted 1 line · [email protected] said:

... and after that patch should be mk_sc conversion.

Correct, my apologies. This is being sent now.

Quoted 2 lines

Another missing bit
(OTOH, that one might be in -mm already) is removal of -L/usr/lib in the

That's already there.

Jeff