Skip to content

Commit

Permalink
x86_64: move boot
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Thomas Gleixner committed Oct 11, 2007
1 parent 9e9b457 commit 2a6c8d5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
7 changes: 5 additions & 2 deletions arch/x86_64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,20 @@ core-$(CONFIG_IA32_EMULATION) += arch/x86_64/ia32/
drivers-$(CONFIG_PCI) += arch/x86/pci/
drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/

boot := arch/x86_64/boot
boot := arch/x86/boot

PHONY += bzImage bzlilo install archmrproper \
fdimage fdimage144 fdimage288 isoimage archclean

#Default target when executing "make"
all: bzImage

BOOTIMAGE := arch/x86_64/boot/bzImage
BOOTIMAGE := arch/x86/boot/bzImage
KBUILD_IMAGE := $(BOOTIMAGE)

bzImage: vmlinux
$(Q)mkdir -p $(objtree)/arch/x86_64/boot
$(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage
$(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE)

bzlilo: vmlinux
Expand All @@ -109,6 +111,7 @@ install:
$(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@

archclean:
$(Q)rm -rf $(objtree)/arch/x86_64/boot
$(Q)$(MAKE) $(clean)=$(boot)

define archhelp
Expand Down
5 changes: 0 additions & 5 deletions arch/x86_64/boot/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions arch/x86_64/boot/Makefile

This file was deleted.

0 comments on commit 2a6c8d5

Please sign in to comment.