mirror of
https://github.com/troglobit/finit.git
synced 2026-10-08 16:34:45 +07:00
Optionally skip stripping binaries during install-exec
One may wish to build and install with debug symbols intact, so allow overriding the arguments sent to install.
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
# Top directory for building complete system, fall back to this directory
|
||||
ROOTDIR ?= $(TOPDIR)
|
||||
|
||||
# Strip binaries unless user explicitly disables it
|
||||
STRIPARGS ?= -s --strip-program=$(CROSS)strip -m 0755
|
||||
|
||||
# Some junk files we always want to be removed when doing a make clean.
|
||||
JUNK = *~ *.bak *.map .*.d *.d DEADJOE semantic.cache *.gdb *.elf core core.*
|
||||
MAKE := @$(MAKE)
|
||||
MAKEFLAGS = --no-print-directory --silent
|
||||
CHECK := cppcheck $(CPPFLAGS) --quiet --enable=all
|
||||
INSTALL := install --backup=off
|
||||
STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755
|
||||
STRIPINST := $(INSTALL) $(STRIPARGS)
|
||||
ARFLAGS := crus
|
||||
|
||||
export libdir plugindir incdir ROOTDIR CPPFLAGS LDFLAGS LDLIBS STATIC
|
||||
|
||||
Reference in New Issue
Block a user