Commit 96ae6ea0 authored by Thomas Gleixner's avatar Thomas Gleixner

i386: move boot

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 0530bf37
...@@ -116,7 +116,7 @@ drivers-$(CONFIG_FB) += arch/i386/video/ ...@@ -116,7 +116,7 @@ drivers-$(CONFIG_FB) += arch/i386/video/
CFLAGS += $(mflags-y) CFLAGS += $(mflags-y)
AFLAGS += $(mflags-y) AFLAGS += $(mflags-y)
boot := arch/i386/boot boot := arch/x86/boot
PHONY += zImage bzImage compressed zlilo bzlilo \ PHONY += zImage bzImage compressed zlilo bzlilo \
zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install zdisk bzdisk fdimage fdimage144 fdimage288 isoimage install
...@@ -125,9 +125,11 @@ all: bzImage ...@@ -125,9 +125,11 @@ all: bzImage
# KBUILD_IMAGE specify target image being built # KBUILD_IMAGE specify target image being built
KBUILD_IMAGE := $(boot)/bzImage KBUILD_IMAGE := $(boot)/bzImage
zImage zlilo zdisk: KBUILD_IMAGE := arch/i386/boot/zImage zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage
zImage bzImage: vmlinux zImage bzImage: vmlinux
$(Q)mkdir -p $(objtree)/arch/i386/boot
$(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage
$(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE) $(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
compressed: zImage compressed: zImage
...@@ -145,7 +147,8 @@ install: ...@@ -145,7 +147,8 @@ install:
$(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(KBUILD_IMAGE) install
archclean: archclean:
$(Q)$(MAKE) $(clean)=arch/i386/boot $(Q)rm -rf $(objtree)/arch/i386/boot
$(Q)$(MAKE) $(clean)=arch/x86/boot
define archhelp define archhelp
echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)' echo '* bzImage - Compressed kernel image (arch/$(ARCH)/boot/bzImage)'
......
# #
# arch/i386/boot/Makefile # arch/x86/boot/Makefile
# #
# This file is subject to the terms and conditions of the GNU General Public # This file is subject to the terms and conditions of the GNU General Public
# License. See the file "COPYING" in the main directory of this archive # License. See the file "COPYING" in the main directory of this archive
......
...@@ -5,5 +5,5 @@ ...@@ -5,5 +5,5 @@
# So tell kbuild that we fetch the code from i386 and include the # So tell kbuild that we fetch the code from i386 and include the
# Makefile from i386 too. # Makefile from i386 too.
src := arch/i386/boot src := arch/x86/boot
include $(src)/Makefile include $(src)/Makefile
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment