Commit a69c447b authored by Peter Stuge's avatar Peter Stuge
Browse files

Small cleanup in Makefile


Corresponding to flashrom svn r398 and coreboot v2 svn r3904.
Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
Acked-by: default avatarPeter Stuge <peter@stuge.se>
parent 0593f21f
...@@ -12,11 +12,10 @@ INSTALL = /usr/bin/install ...@@ -12,11 +12,10 @@ INSTALL = /usr/bin/install
PREFIX = /usr/local PREFIX = /usr/local
#CFLAGS = -O2 -g -Wall -Werror #CFLAGS = -O2 -g -Wall -Werror
CFLAGS = -Os -Wall -Werror CFLAGS = -Os -Wall -Werror
LDFLAGS =
OS_ARCH = $(shell uname) OS_ARCH = $(shell uname)
ifeq ($(OS_ARCH), SunOS) ifneq ($(OS_ARCH), SunOS)
LDFLAGS = -lpci -lz
else
LDFLAGS = -lpci -lz
STRIP_ARGS = -s STRIP_ARGS = -s
endif endif
ifeq ($(OS_ARCH), FreeBSD) ifeq ($(OS_ARCH), FreeBSD)
...@@ -24,6 +23,8 @@ CFLAGS += -I/usr/local/include ...@@ -24,6 +23,8 @@ CFLAGS += -I/usr/local/include
LDFLAGS += -L/usr/local/lib LDFLAGS += -L/usr/local/lib
endif endif
LDFLAGS += -lpci -lz
OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.o \ OBJS = chipset_enable.o board_enable.o udelay.o jedec.o stm50flw0x0x.o \
sst28sf040.o am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o \ sst28sf040.o am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o \
w49f002u.o 82802ab.o pm49fl00x.o sst49lf040.o en29f002a.o \ w49f002u.o 82802ab.o pm49fl00x.o sst49lf040.o en29f002a.o \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment