lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 10 Dec 2007 15:26:56 +0000
From:	"Jan Beulich" <jbeulich@...ell.com>
To:	<mingo@...hat.com>
Cc:	<linux-kernel@...r.kernel.org>
Subject: [PATCH] x86: small build adjustment

Use build target when creating compatibility link, and use $(boot)
where possible.

Signed-off-by: Jan Beulich <jbeulich@...ell.com>

 arch/x86/Makefile_32 |    4 ++--
 arch/x86/Makefile_64 |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

--- linux-2.6.24-rc4/arch/x86/Makefile_32	2007-12-10 16:11:18.000000000 +0100
+++ 2.6.24-rc4-x86-link-compat/arch/x86/Makefile_32	2007-12-05 12:14:08.000000000 +0100
@@ -134,12 +134,12 @@ all: bzImage
 
 # KBUILD_IMAGE specify target image being built
                     KBUILD_IMAGE := $(boot)/bzImage
-zImage zlilo zdisk: KBUILD_IMAGE := arch/x86/boot/zImage
+zImage zlilo zdisk: KBUILD_IMAGE := $(boot)/zImage
 
 zImage bzImage: vmlinux
 	$(Q)$(MAKE) $(build)=$(boot) $(KBUILD_IMAGE)
 	$(Q)mkdir -p $(objtree)/arch/i386/boot
-	$(Q)ln -fsn ../../x86/boot/bzImage $(objtree)/arch/i386/boot/bzImage
+	$(Q)ln -fsn ../../x86/boot/$@ $(objtree)/arch/i386/boot/$@
 
 compressed: zImage
 
--- linux-2.6.24-rc4/arch/x86/Makefile_64	2007-12-10 16:11:18.000000000 +0100
+++ 2.6.24-rc4-x86-link-compat/arch/x86/Makefile_64	2007-12-05 09:50:26.000000000 +0100
@@ -96,13 +96,13 @@ PHONY += bzImage bzlilo install archmrpr
 #Default target when executing "make"
 all: bzImage
 
-BOOTIMAGE                     := arch/x86/boot/bzImage
+BOOTIMAGE                     := $(boot)/bzImage
 KBUILD_IMAGE                  := $(BOOTIMAGE)
 
 bzImage: vmlinux
 	$(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
+	$(Q)ln -fsn ../../x86/boot/$@ $(objtree)/arch/x86_64/boot/$@
 
 bzlilo: vmlinux
 	$(Q)$(MAKE) $(build)=$(boot) BOOTIMAGE=$(BOOTIMAGE) zlilo



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ