Skip to content

Commit a6e77d6

Browse files
Al Virorichardweinberger
authored andcommitted
um: trim detritus from Makefile-i386
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent 9aecaa6 commit a6e77d6

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

‎arch/um/Makefile-i386‎

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
core-y += arch/um/sys-x86/ arch/x86/crypto/
22

3-
TOP_ADDR := $(CONFIG_TOP_ADDR)
4-
53
START := 0x8048000
64

75
LDFLAGS += -m elf_i386
8-
ELF_ARCH := $(SUBARCH)
9-
ELF_FORMAT := elf32-$(SUBARCH)
10-
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
6+
ELF_ARCH := i386
7+
ELF_FORMAT := elf32-i386
118
HEADER_ARCH := x86
129
CHECKFLAGS += -D__i386__
1310

@@ -16,9 +13,8 @@ ifneq ("$(shell uname -m | sed -e s/i.86/i386/)", "$(SUBARCH)")
1613
KBUILD_CFLAGS += $(call cc-option,-m32)
1714
KBUILD_AFLAGS += $(call cc-option,-m32)
1815
LINK-y += $(call cc-option,-m32)
19-
UML_OBJCOPYFLAGS += -F $(ELF_FORMAT)
2016

21-
export LDFLAGS HOSTCFLAGS HOSTLDFLAGS UML_OBJCOPYFLAGS
17+
export LDFLAGS
2218
endif
2319
endif
2420

0 commit comments

Comments
 (0)