[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] [PATCH] : debian package fails to build
From:       Erik Andersen <andersen () lineo ! com>
Date:       2001-04-28 7:13:13
[Download RAW message or body]

On Fri Apr 27, 2001 at 10:12:30PM -0700, David Whedon wrote:
> Hi,
> 
> Problem is recreatable by trying dpkg-buildpackage with current cvs.  When we
> use the make variable $^ we get ../../busybox.sh, which is what we want, just
> listing busybox.sh alone is broken when we are building in a different
> directory.  But $^ includes sh_link as well, so it needs to be filtered it out.
> 
> Index: Makefile
> =================================================================== RCS file:
> /var/cvs/busybox/Makefile,v retrieving revision 1.197 diff -u -r1.197 Makefile
> --- Makefile	2001/04/27 18:36:43	1.197 +++ Makefile	2001/04/28
> 05:03:35 @@ -274,7 +274,7 @@ @if [ ! -L sh.c ] ; then ln -s lash.c sh.c ; fi 
>  applet_source_list: sh_link busybox.sh Config.h
> -	@(echo -n "APPLET_SOURCES := "; $(SHELL) busybox.sh Config.h $(BB_SRC_DIR)) > $@
> +	(echo -n "APPLET_SOURCES := "; $(SHELL) $(filter-out sh_link, $^) $(BB_SRC_DIR)) > $@
>  
>  doc: olddoc
> 
> 
> I'll commit this with approval.

approved.  Sorry about that...

 -Erik

--
Erik B. Andersen   email:  andersen@lineo.com
--This message was written using 73% post-consumer electrons--



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic