From cf24226ed97ba9a76c85383c6c867a10028de39d Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 28 Oct 2017 12:19:14 -0400 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/22213 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- util/k8resdump/Makefile | 3 --- util/nvramtool/Makefile | 2 -- 2 files changed, 5 deletions(-) diff --git a/util/k8resdump/Makefile b/util/k8resdump/Makefile index 7847861723..e2603511fa 100644 --- a/util/k8resdump/Makefile +++ b/util/k8resdump/Makefile @@ -16,7 +16,6 @@ PROGRAM = k8resdump CC = gcc -STRIP = strip INSTALL = /usr/bin/install PREFIX = /usr/local #CFLAGS = -O2 -g -Wall -Werror @@ -26,7 +25,6 @@ ifeq ($(OS_ARCH), SunOS) LDFLAGS = -lpci else LDFLAGS = -lpci -lz -static -STRIP_ARGS = -s endif OBJS = k8resdump.o @@ -35,7 +33,6 @@ all: pciutils dep $(PROGRAM) $(PROGRAM): $(OBJS) $(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS) - $(STRIP) $(STRIP_ARGS) $(PROGRAM) clean: rm -f *.o *~ diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile index b92addab89..bb623bbe1a 100644 --- a/util/nvramtool/Makefile +++ b/util/nvramtool/Makefile @@ -17,7 +17,6 @@ PROGRAM = nvramtool CC = gcc -STRIP = strip INSTALL = /usr/bin/install PREFIX = /usr/local CFLAGS = -O2 -g -Wall -W -I. -DCMOS_HAL=1 @@ -47,7 +46,6 @@ all: dep $(PROGRAM) $(PROGRAM): $(OBJS) $(CC) -o $(PROGRAM) $(OBJS) $(LDFLAGS) $(CFLAGS) - $(STRIP) $(STRIP_ARGS) $(PROGRAM) clean: rm -f $(PROGRAM) $(OBJS) junit.xml