diff options
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index cb4af9bf2074..dbeab15e7bb7 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -79,13 +79,6 @@ KERNEL_DEFINES = $(strip -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask \ | |||
79 | KBUILD_CFLAGS += $(KERNEL_DEFINES) | 79 | KBUILD_CFLAGS += $(KERNEL_DEFINES) |
80 | KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time,) | 80 | KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time,) |
81 | 81 | ||
82 | # These are needed for clean and mrproper, since in that case .config is not | ||
83 | # included; the values here are meaningless | ||
84 | |||
85 | CONFIG_NEST_LEVEL ?= 0 | ||
86 | |||
87 | SIZE = ($(CONFIG_NEST_LEVEL) * 0x20000000) | ||
88 | |||
89 | PHONY += linux | 82 | PHONY += linux |
90 | 83 | ||
91 | all: linux | 84 | all: linux |
@@ -120,10 +113,6 @@ CFLAGS_NO_HARDENING := $(call cc-option, -fno-PIC,) $(call cc-option, -fno-pic,) | |||
120 | CONFIG_KERNEL_STACK_ORDER ?= 2 | 113 | CONFIG_KERNEL_STACK_ORDER ?= 2 |
121 | STACK_SIZE := $(shell echo $$[ 4096 * (1 << $(CONFIG_KERNEL_STACK_ORDER)) ] ) | 114 | STACK_SIZE := $(shell echo $$[ 4096 * (1 << $(CONFIG_KERNEL_STACK_ORDER)) ] ) |
122 | 115 | ||
123 | ifndef START | ||
124 | START = $(shell echo $$[ $(TOP_ADDR) - $(SIZE) ] ) | ||
125 | endif | ||
126 | |||
127 | CPPFLAGS_vmlinux.lds = -U$(SUBARCH) -DSTART=$(START) -DELF_ARCH=$(ELF_ARCH) \ | 116 | CPPFLAGS_vmlinux.lds = -U$(SUBARCH) -DSTART=$(START) -DELF_ARCH=$(ELF_ARCH) \ |
128 | -DELF_FORMAT="$(ELF_FORMAT)" -DKERNEL_STACK_SIZE=$(STACK_SIZE) | 117 | -DELF_FORMAT="$(ELF_FORMAT)" -DKERNEL_STACK_SIZE=$(STACK_SIZE) |
129 | 118 | ||