shrink Makefiles a bit further
This commit is contained in:
parent
e86c52376e
commit
28e4e554c8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.16 2012/04/17 13:01:56 jasper Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.17 2012/04/17 13:07:36 jasper Exp $
|
||||
|
||||
#
|
||||
# XXX: Don't forget to adjust meta/msp430 when updating to new LTS
|
||||
@ -7,7 +7,10 @@
|
||||
TARGET= msp430
|
||||
|
||||
DISTNAME?= ${TOOL}-${TOOL_V}
|
||||
|
||||
.if defined(GNU_TOOL) && ${GNU_TOOL:L:Myes}
|
||||
PKGNAME?= ${TARGET}-${DISTNAME}
|
||||
.endif
|
||||
|
||||
LTS_V?= 20120406
|
||||
|
||||
|
@ -1,10 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.12 2012/04/17 13:01:56 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.13 2012/04/17 13:07:36 jasper Exp $
|
||||
|
||||
COMMENT= GNU binutils for msp430
|
||||
|
||||
TOOL= binutils
|
||||
TOOL_V= 2.21.1a
|
||||
|
||||
GNU_TOOL= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=binutils/}
|
||||
|
||||
WANTLIB= c z
|
||||
|
@ -1,10 +1,12 @@
|
||||
# $OpenBSD: Makefile,v 1.20 2012/04/17 13:01:56 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2012/04/17 13:07:36 jasper Exp $
|
||||
|
||||
COMMENT= GNU Compiler Collection for msp430
|
||||
|
||||
TOOL= gcc
|
||||
TOOL_V= 4.6.3
|
||||
|
||||
GNU_TOOL= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GCC:=releases/gcc-$(VERSION)/}
|
||||
|
||||
DISTFILES= gcc-core-${TOOL_V}${EXTRACT_SUFX} \
|
||||
@ -18,7 +20,7 @@ LIB_DEPENDS= devel/libmpc
|
||||
|
||||
LANGS= c,c++
|
||||
|
||||
SUBST_VARS+= VERSION
|
||||
SUBST_VARS+= TOOL_V
|
||||
|
||||
CONFIGURE_ARGS+= --enable-languages=${LANGS} \
|
||||
--enable-cpp \
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.10 2012/04/17 13:01:56 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.11 2012/04/17 13:07:36 jasper Exp $
|
||||
|
||||
COMMENT= GNU debugger for msp430
|
||||
|
||||
@ -6,6 +6,8 @@ TOOL= gdb
|
||||
TOOL_V= 7.2a
|
||||
LTS_V= 20111205
|
||||
|
||||
GNU_TOOL= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=gdb/}
|
||||
|
||||
RUN_DEPENDS= devel/msp430/binutils>=2.21.1a \
|
||||
|
@ -1,12 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.13 2012/04/17 13:01:56 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.14 2012/04/17 13:07:36 jasper Exp $
|
||||
|
||||
COMMENT= libc for msp430
|
||||
|
||||
TOOL= ${TARGET}-libc
|
||||
TOOL_V= 20120224
|
||||
|
||||
PKGNAME= ${DISTNAME} # We don't want 'msp430' prepended.
|
||||
|
||||
PATCHFILES= # This space intentionally left blank.
|
||||
CONFIGURE_STYLE= # This space intentionally left blank.
|
||||
|
||||
@ -14,7 +12,6 @@ RUN_DEPENDS= devel/msp430/gcc>=4.6.3
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
|
||||
MAKE_ENV= PREFIX=${PREFIX}
|
||||
USE_GMAKE= Yes
|
||||
|
||||
WRKSRC= ${WRKDIST}/src/
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2012/04/17 13:01:56 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2012/04/17 13:07:36 jasper Exp $
|
||||
|
||||
PKG_ARCH= *
|
||||
|
||||
@ -7,8 +7,6 @@ COMMENT= C headers and binutils linker scripts for msp430
|
||||
TOOL= msp430mcu
|
||||
TOOL_V= ${LTS_V}
|
||||
|
||||
PKGNAME= ${DISTNAME} # We don't want 'msp430' prepended.
|
||||
|
||||
PATCHFILES= # This space intentionally left blank.
|
||||
CONFIGURE_STYLE=# This space intentionally left blank
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user