ports/sysutils/u-boot-beaglebone-eabi/files/patch-examples_api_Makefile
Tim Kientzle 7099a967b7 Add U-Boot for BeagleBone and BeagleBone Black
running FreeBSD/arm EABI.

Approved by:	db
2013-07-29 00:04:33 +00:00

11 lines
458 B
Text

--- examples/api/Makefile.orig 2013-04-19 09:25:43.000000000 -0500
+++ examples/api/Makefile 2013-05-16 17:05:38.000000000 -0500
@@ -69,7 +69,7 @@
#########################################################################
$(OUTPUT): $(OBJS)
- $(LD) -Ttext $(LOAD_ADDR) -o $@ $^ $(PLATFORM_LIBS)
+ $(LD) -static -Ttext $(LOAD_ADDR) -o $@ $^ $(PLATFORM_LIBS)
$(OBJCOPY) -O binary $@ $(OUTPUT).bin 2>/dev/null
# Rule to build generic library C files