31 lines
734 B
Diff
31 lines
734 B
Diff
--- Makefile 2007-08-05 15:15:51.000000000 +0400
|
|
+++ Makefile 2007-08-05 15:18:46.000000000 +0400
|
|
@@ -7,18 +7,10 @@
|
|
PROGRAM = flashrom
|
|
|
|
CC = gcc
|
|
-STRIP = strip
|
|
INSTALL = /usr/bin/install
|
|
-PREFIX = /usr/local
|
|
-#CFLAGS = -O2 -g -Wall -Werror
|
|
-CFLAGS = -Os -Wall -Werror -DDISABLE_DOC # -DTS5300
|
|
+PREFIX = /usr
|
|
OS_ARCH = $(shell uname)
|
|
-ifeq ($(OS_ARCH), SunOS)
|
|
LDFLAGS = -lpci -lz
|
|
-else
|
|
-LDFLAGS = -lpci -lz -static
|
|
-STRIP_ARGS = -s
|
|
-endif
|
|
|
|
OBJS = chipset_enable.o board_enable.o udelay.o jedec.o sst28sf040.o \
|
|
am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o w49f002u.o \
|
|
@@ -30,7 +22,6 @@
|
|
|
|
$(PROGRAM): $(OBJS)
|
|
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
|
|
- $(STRIP) $(STRIP_ARGS) $(PROGRAM)
|
|
|
|
clean:
|
|
rm -f *.o *~
|