mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
x86: use relative symlink for bzImage
Use relative symlinks so we can refer bzImage from different tree structures aka via NFS. Moved the creation of directory + symlink after a successful build of the boot parts. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
957ff882f9
commit
3ceba7815c
@ -131,9 +131,9 @@ all: bzImage
|
||||
zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage
|
||||
|
||||
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)mkdir -p $(objtree)/arch/i386/boot
|
||||
$(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage
|
||||
|
||||
compressed: zImage
|
||||
|
||||
|
@ -97,9 +97,9 @@ 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)
|
||||
$(Q)mkdir -p $(objtree)/arch/x86_64/boot
|
||||
$(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/x86_64/boot/bzImage
|
||||
|
||||
bzlilo: vmlinux
|
||||
$(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) zlilo
|
||||
|
Loading…
Reference in New Issue
Block a user