mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
* Support for new chips: MSP430G2252, MSP430G2553, MSP430F235, MSP430F427. * Added GDB client driver. * Added support for Olimex MSP-JTAG-TINY rev 2. * Bug fix in flash-bsl driver for large memory transfers. PR: ports/159318 Submitted by: Peter Jeremy <peterjeremy@acm.org> (maintainer)
26 lines
753 B
Text
26 lines
753 B
Text
--- Makefile.orig 2011-06-14 11:27:10.000000000 +1000
|
|
+++ Makefile 2011-07-29 05:26:08.226244817 +1000
|
|
@@ -16,7 +16,7 @@
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
-CC = gcc
|
|
+CC ?= gcc
|
|
INSTALL = /usr/bin/install
|
|
PREFIX ?= /usr/local
|
|
LDFLAGS ?= -s
|
|
@@ -38,8 +38,14 @@
|
|
PORTS_CFLAGS = `pkg-config --cflags libelf libusb`
|
|
PORTS_LDFLAGS = `pkg-config --libs libelf libusb` -ltermcap
|
|
else
|
|
+ ifeq ($(UNAME),FreeBSD) # FreeBSD Ports stuff
|
|
+# This is only needed prior to FreeBSD 8.x to find libusb
|
|
+ PORTS_CFLAGS = -I${LOCALBASE}/include
|
|
+ PORTS_LDFLAGS = -L${LOCALBASE}/lib
|
|
+ else
|
|
PORTS_CFLAGS =
|
|
PORTS_LDFLAGS =
|
|
+ endif
|
|
endif
|
|
endif
|
|
|