diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:17:16 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:17:16 -0400 |
commit | 2a6c8d5a7e92a3e8db30fa0c5956a29c79d7e5a3 (patch) | |
tree | 55a9b110a06d358f94c044e615715d71fabe7523 /arch/x86_64 | |
parent | 9e9b4573e4411ac5fcfb6ba04ad360d3de6414ba (diff) |
x86_64: move boot
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>
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/Makefile | 7 | ||||
-rw-r--r-- | arch/x86_64/boot/.gitignore | 5 | ||||
-rw-r--r-- | arch/x86_64/boot/Makefile | 9 |
3 files changed, 5 insertions, 16 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index c10c8233a893..11ef2c37ba57 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -82,7 +82,7 @@ core-$(CONFIG_IA32_EMULATION) += arch/x86_64/ia32/ | |||
82 | drivers-$(CONFIG_PCI) += arch/x86/pci/ | 82 | drivers-$(CONFIG_PCI) += arch/x86/pci/ |
83 | drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/ | 83 | drivers-$(CONFIG_OPROFILE) += arch/x86/oprofile/ |
84 | 84 | ||
85 | boot := arch/x86_64/boot | 85 | boot := arch/x86/boot |
86 | 86 | ||
87 | PHONY += bzImage bzlilo install archmrproper \ | 87 | PHONY += bzImage bzlilo install archmrproper \ |
88 | fdimage fdimage144 fdimage288 isoimage archclean | 88 | fdimage fdimage144 fdimage288 isoimage archclean |
@@ -90,10 +90,12 @@ PHONY += bzImage bzlilo install archmrproper \ | |||
90 | #Default target when executing "make" | 90 | #Default target when executing "make" |
91 | all: bzImage | 91 | all: bzImage |
92 | 92 | ||
93 | BOOTIMAGE := arch/x86_64/boot/bzImage | 93 | BOOTIMAGE := arch/x86/boot/bzImage |
94 | KBUILD_IMAGE := $(BOOTIMAGE) | 94 | KBUILD_IMAGE := $(BOOTIMAGE) |
95 | 95 | ||
96 | bzImage: vmlinux | 96 | bzImage: vmlinux |
97 | $(Q)mkdir -p $(objtree)/arch/x86_64/boot | ||
98 | $(Q)ln -fsn $(objtree)/arch/x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage | ||
97 | $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) | 99 | $(Q)$(MAKE) $(build)=$(boot) $(BOOTIMAGE) |
98 | 100 | ||
99 | bzlilo: vmlinux | 101 | bzlilo: vmlinux |
@@ -109,6 +111,7 @@ install: | |||
109 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@ | 111 | $(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) $@ |
110 | 112 | ||
111 | archclean: | 113 | archclean: |
114 | $(Q)rm -rf $(objtree)/arch/x86_64/boot | ||
112 | $(Q)$(MAKE) $(clean)=$(boot) | 115 | $(Q)$(MAKE) $(clean)=$(boot) |
113 | 116 | ||
114 | define archhelp | 117 | define archhelp |
diff --git a/arch/x86_64/boot/.gitignore b/arch/x86_64/boot/.gitignore deleted file mode 100644 index 18465143cfa2..000000000000 --- a/arch/x86_64/boot/.gitignore +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | bootsect | ||
2 | bzImage | ||
3 | setup | ||
4 | setup.bin | ||
5 | setup.elf | ||
diff --git a/arch/x86_64/boot/Makefile b/arch/x86_64/boot/Makefile deleted file mode 100644 index 0f7b6c2cfa58..000000000000 --- a/arch/x86_64/boot/Makefile +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | # | ||
2 | # arch/x86_64/boot/Makefile | ||
3 | # | ||
4 | # The actual boot code is shared with i386 including the Makefile. | ||
5 | # So tell kbuild that we fetch the code from i386 and include the | ||
6 | # Makefile from i386 too. | ||
7 | |||
8 | src := arch/x86/boot | ||
9 | include $(src)/Makefile | ||