r1862

Stefan Sperling stsp at stsp.name
Sun Aug 26 22:00:43 CEST 2007


On Sun, Aug 26, 2007 at 01:50:59PM +0200, dslinux_amadeus at dslinux.in-berlin.de wrote:
> Author: amadeus
> Date: 2007-08-26 13:50:54 +0200 (Sun, 26 Aug 2007)
> New Revision: 1862
> 
> Log:
> Improve Makefile
> 
> Modified: trunk/user/Makefile
> ===================================================================
> --- trunk/user/Makefile	2007-08-26 11:49:26 UTC (rev 1861)
> +++ trunk/user/Makefile	2007-08-26 11:50:54 UTC (rev 1862)
> @@ -399,14 +399,15 @@
>  
>  dir_y += games
>  
> -all: config
> -	for i in $(sort $(dir_y)) $(dir_v) $(dir_p); do \
> -		if [ -d $$i ]; then \
> -			touch $$i/.sgbuilt_user; \
> -			$(MAKE) -C $$i || exit $$? ; \
> -		fi; \
> -	done
> +all: config $(dir_y) $(dir_v) $(dir_p)
>  
> +.PHONY: $(dir_y) $(dir_v) $(dir_p)
> +$(dir_y) $(dir_v) $(dir_p): config
> +	if [ -d $@ ]; then \
> +		touch $@/.sgbuilt_user; \
> +		$(MAKE) -C $@ || exit $$? ; \
> +	fi; \
> +


Are these changes really necessary?
I don't want to spoil the fun but we should consider trying
not to diverge too much from upstream uClinux in case we
ever want to merge a new uClinux version again...

-- 
stefan
http://stsp.name                                         PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://mailman.dslinux.in-berlin.de/pipermail/dslinux-devel-dslinux.in-berlin.de/attachments/20070826/acb5c634/attachment.pgp 


More information about the dslinux-devel mailing list