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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 1 Jan 2008 11:27:59 +0100
From:	Sam Ravnborg <sam@...nborg.org>
To:	WANG Cong <xiyou.wangcong@...il.com>
Cc:	David Howells <dhowells@...hat.com>,
	LKML <linux-kernel@...r.kernel.org>,
	linux-kbuild@...r.kernel.org, Andrew Morton <akpm@...l.org>
Subject: Re: [Patch 6/8] FRV: Remove 'TOPDIR' from Makefiles

On Tue, Jan 01, 2008 at 03:36:45PM +0800, WANG Cong wrote:
> 
> TOPDIR is obsolete, use objtree instead.
> This patch removes TOPDIR from all frv Makefiles.
> 
> Cc: David Howells <dhowells@...hat.com>
> Cc: Sam Ravnborg <sam@...nborg.org>
> Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
> 
> ---
> 
> diff --git a/arch/frv/boot/Makefile b/arch/frv/boot/Makefile
> index dc6f038..d93f768 100644
> --- a/arch/frv/boot/Makefile
> +++ b/arch/frv/boot/Makefile
> @@ -10,7 +10,7 @@
>  
>  targets := Image zImage bootpImage
>  
> -SYSTEM	=$(TOPDIR)/$(LINUX)
> +SYSTEM	=$(objtree)/$(LINUX)
>  
>  ZTEXTADDR	 = 0x02080000
>  PARAMS_PHYS	 = 0x0207c000
> @@ -45,7 +45,7 @@ zImage:	$(CONFIGURE) compressed/$(LINUX)
>  bootpImage: bootp/bootp
>  	$(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
>  
> -compressed/$(LINUX): $(TOPDIR)/$(LINUX) dep
> +compressed/$(LINUX): $(objtree)/$(LINUX) dep
>  	@$(MAKE) -C compressed $(LINUX)
>  
>  bootp/bootp: zImage initrd
> @@ -59,10 +59,10 @@ initrd:
>  # installation
>  #
>  install: $(CONFIGURE) Image
> -	sh ./install.sh $(KERNELRELEASE) Image $(TOPDIR)/System.map "$(INSTALL_PATH)"
> +	sh ./install.sh $(KERNELRELEASE) Image $(objtree)/System.map "$(INSTALL_PATH)"
>  
>  zinstall: $(CONFIGURE) zImage
> -	sh ./install.sh $(KERNELRELEASE) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
> +	sh ./install.sh $(KERNELRELEASE) zImage $(objtree)/System.map "$(INSTALL_PATH)"

In this file we can just drop use of $(TOPDIR) since this is our
current directory anyway.

	Sam
--
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