[BusyBox] [PATCH] : debian package fails to build

Erik Andersen andersen at lineo.com
Sat Apr 28 07:13:13 UTC 2001


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 at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list