Skip to contentSkip to conversation

UML - Small Makefile fixes

PATCH New Jeff Dike 1 participant 1 message Sep 23, 2004 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/1 UML - Small Makefile fixes

Tidied up some whitespace in arch/um/Makefile.
Added -DUM_FASTCALL to Makefile-i386.
make clean descends into util in order to get rid of the binaries there.

arch/um/Makefile +1 -1
Index: linux-2.6.9-rc2-mm1-orig/arch/um/Makefile
===================================================================
@@ -67,7 +67,7 @@
 # included; the values here are meaningless
 
 CONFIG_NEST_LEVEL ?= 0
-CONFIG_KERNEL_HALF_GIGS ?=  0
+CONFIG_KERNEL_HALF_GIGS ?= 0
 
 SIZE = (($(CONFIG_NEST_LEVEL) + $(CONFIG_KERNEL_HALF_GIGS)) * 0x20000000)
 
arch/um/Makefile-i386 +5 -0
Index: linux-2.6.9-rc2-mm1-orig/arch/um/Makefile-i386
===================================================================
@@ -5,6 +5,11 @@
 endif
 
 CFLAGS += -U__$(SUBARCH)__ -U$(SUBARCH)
+
+ifneq ($(CONFIG_GPROF),y)
+ARCH_CFLAGS += -DUM_FASTCALL
+endif
+
 ELF_ARCH = $(SUBARCH)
 ELF_FORMAT = elf32-$(SUBARCH)
 
arch/um/kernel/Makefile +5 -0
Index: linux-2.6.9-rc2-mm1-orig/arch/um/kernel/Makefile
===================================================================
@@ -5,6 +5,11 @@
 
 extra-y := vmlinux.lds uml.lds dyn.lds
 
+# Descend into ../util for make clean.  This is here because it doesn't work
+# in arch/um/Makefile.
+
+subdir- = ../util
+
 obj-y = checksum.o config.o exec_kern.o exitcode.o frame_kern.o frame.o \
 	helper.o init_task.o irq.o irq_user.o ksyms.o main.o mem.o mem_user.o \
 	physmem.o process.o process_kern.o ptrace.o reboot.o resource.o \

More recent patches modify files in makefile-fixes.