diff --git a/arch/i386/Makefile b/arch/i386/Makefile index b433dae1ac7..5e50dbf00f3 100644 --- a/arch/i386/Makefile +++ b/arch/i386/Makefile @@ -20,10 +20,6 @@ # Fill in SRCARCH SRCARCH := x86 -archprepare: - @mkdir -p ${objtree}/arch/x86/kernel - - HAS_BIARCH := $(call cc-option-yn, -m32) ifeq ($(HAS_BIARCH),y) AS := $(AS) --32 diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index afaf0f99887..8bffb94c71b 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile @@ -24,10 +24,6 @@ # Fill in SRCARCH SRCARCH := x86 -archprepare: - @mkdir -p ${objtree}/arch/x86/kernel - - LDFLAGS := -m elf_x86_64 OBJCOPYFLAGS := -O binary -R .note -R .comment -S LDFLAGS_vmlinux :=