--- ./arch/um/Makefile.cleanfix 2003-12-02 17:20:42.000000000 +0100 +++ ./arch/um/Makefile 2003-12-13 18:36:36.000000000 +0100 @@ -61,7 +61,11 @@ LINK_WRAPS = -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc -SIZE = (($(CONFIG_NEST_LEVEL) + $(CONFIG_KERNEL_HALF_GIGS)) * 0x20000000) +#This is needed for clean and mrproper, since in that case .config is not +#included; but the values here are meaningless +CONFIG_NEST_LEVEL ?= 0 +CONFIG_KERNEL_HALF_GIGS ?= 0 +SIZE := (($(CONFIG_NEST_LEVEL) + $(CONFIG_KERNEL_HALF_GIGS)) * 0x20000000) ifeq ($(CONFIG_MODE_SKAS), y) $(SYS_HEADERS) : $(TOPDIR)/$(ARCH_DIR)/include/skas_ptregs.h @@ -128,6 +132,11 @@ # To get a definition of F_SETSIG USER_CFLAGS += -D_GNU_SOURCE +ifdef CONFIG_DEBUG_INFO +USER_CFLAGS += -g +endif + + CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/uml.lds.s \ $(ARCH_DIR)/dyn_link.ld.s $(ARCH_DIR)/include/uml-config.h \ $(GEN_HEADERS)