[dslinux-devel] tint port

Stefan Sperling stsp at stsp.name
Mon Jun 4 11:13:45 CEST 2007


On Mon, Jun 04, 2007 at 10:15:48AM +0200, Nanomad wrote:
 
> diff -urN user/games/tint/tint-0.03b/Makefile user/games/tint/src/Makefile
> --- user/games/tint/tint-0.03b/Makefile	2005-07-17 13:30:54.000000000 +0200
> +++ user/games/tint/src/Makefile	2007-06-03 17:24:10.000000000 +0200
> @@ -29,6 +29,8 @@
>  #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>  
>  #CROSS = arm-linux-
> +CROSS =

It's better to leave CROSS alone completely.

> @@ -44,9 +46,9 @@
>  endif
>  endif
>  
> -CFLAGS = -Wall -Os -pipe
> +CFLAGS += -Wall -Os -pipe
>  CPPFLAGS = -DSCOREFILE=\"$(localstatedir)/$(PRG).scores\" #-DUSE_RAND
> -LDFLAGS = -s
> +LDFLAGS += -s
>  LDLIBS = -lncurses
 
Same for CFLAGS and LDFLAGS.

To be save you might want to to add to CPPFLAGS (+=), not override them,
just in case they get preset in the future.
 
>  STRIP = strip

Don't touch STRIP either.

CROSS, *FLAGS and STRIP are set in vendors/config/armnommu/config.arch.

> @@ -81,7 +83,7 @@
>  
>  $(PRG): $(OBJ)
>  	$(CROSS)$(CC) $(LDFLAGS) $^ -o $@ $(LDLIBS)
> -	$(CROSS)$(STRIP) $(STRIPFLAGS) $@
> +#	$(CROSS)$(STRIP) $(STRIPFLAGS) $@

With proper CROSS and STRIP this should work.

-- 
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/20070604/414da96a/attachment.pgp 


More information about the dslinux-devel mailing list