[coreboot] r3904 - trunk/util/flashrom
svn at coreboot.org
svn at coreboot.org
Mon Jan 26 02:16:09 CET 2009
Author: stuge
Date: 2009-01-26 02:16:09 +0100 (Mon, 26 Jan 2009)
New Revision: 3904
Modified:
trunk/util/flashrom/Makefile
Log:
flashrom: Small cleanup in Makefile.
Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: trunk/util/flashrom/Makefile
===================================================================
--- trunk/util/flashrom/Makefile 2009-01-26 01:10:48 UTC (rev 3903)
+++ trunk/util/flashrom/Makefile 2009-01-26 01:16:09 UTC (rev 3904)
@@ -12,11 +12,10 @@
PREFIX = /usr/local
#CFLAGS = -O2 -g -Wall -Werror
CFLAGS = -Os -Wall -Werror
+LDFLAGS =
+
OS_ARCH = $(shell uname)
-ifeq ($(OS_ARCH), SunOS)
-LDFLAGS = -lpci -lz
-else
-LDFLAGS = -lpci -lz
+ifneq ($(OS_ARCH), SunOS)
STRIP_ARGS = -s
endif
ifeq ($(OS_ARCH), FreeBSD)
@@ -24,6 +23,8 @@
LDFLAGS += -L/usr/local/lib
endif
+LDFLAGS += -lpci -lz
+
OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.o \
sst28sf040.o am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o \
w49f002u.o 82802ab.o pm49fl00x.o sst49lf040.o en29f002a.o \
More information about the coreboot
mailing list