util/*: don't strip executables
Users can do it if they need it, but we shouldn't force it on them. Change-Id: I08007d68a79c302d8f3ca4ed0837ee96d8d3eb1e Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/22213 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
parent
64b8fbadb0
commit
cf24226ed9
|
@ -16,7 +16,6 @@
|
||||||
PROGRAM = k8resdump
|
PROGRAM = k8resdump
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
STRIP = strip
|
|
||||||
INSTALL = /usr/bin/install
|
INSTALL = /usr/bin/install
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
#CFLAGS = -O2 -g -Wall -Werror
|
#CFLAGS = -O2 -g -Wall -Werror
|
||||||
|
@ -26,7 +25,6 @@ ifeq ($(OS_ARCH), SunOS)
|
||||||
LDFLAGS = -lpci
|
LDFLAGS = -lpci
|
||||||
else
|
else
|
||||||
LDFLAGS = -lpci -lz -static
|
LDFLAGS = -lpci -lz -static
|
||||||
STRIP_ARGS = -s
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJS = k8resdump.o
|
OBJS = k8resdump.o
|
||||||
|
@ -35,7 +33,6 @@ all: pciutils dep $(PROGRAM)
|
||||||
|
|
||||||
$(PROGRAM): $(OBJS)
|
$(PROGRAM): $(OBJS)
|
||||||
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
|
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS)
|
||||||
$(STRIP) $(STRIP_ARGS) $(PROGRAM)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o *~
|
rm -f *.o *~
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
PROGRAM = nvramtool
|
PROGRAM = nvramtool
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
STRIP = strip
|
|
||||||
INSTALL = /usr/bin/install
|
INSTALL = /usr/bin/install
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
CFLAGS = -O2 -g -Wall -W -I. -DCMOS_HAL=1
|
CFLAGS = -O2 -g -Wall -W -I. -DCMOS_HAL=1
|
||||||
|
@ -47,7 +46,6 @@ all: dep $(PROGRAM)
|
||||||
|
|
||||||
$(PROGRAM): $(OBJS)
|
$(PROGRAM): $(OBJS)
|
||||||
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS) $(CFLAGS)
|
$(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS) $(CFLAGS)
|
||||||
$(STRIP) $(STRIP_ARGS) $(PROGRAM)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(PROGRAM) $(OBJS) junit.xml
|
rm -f $(PROGRAM) $(OBJS) junit.xml
|
||||||
|
|
Loading…
Reference in New Issue