mirror of
https://github.com/troglobit/finit.git
synced 2026-11-12 16:51:25 +00: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 parent
af7b6c17cb
commit
7a3408c173
1 file changed
+4
-1
@@ -1,13 +1,16 @@
|
|||||||
# Top directory for building complete system, fall back to this directory
|
# Top directory for building complete system, fall back to this directory
|
||||||
ROOTDIR ?= $(TOPDIR)
|
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.
|
# 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.*
|
JUNK = *~ *.bak *.map .*.d *.d DEADJOE semantic.cache *.gdb *.elf core core.*
|
||||||
MAKE := @$(MAKE)
|
MAKE := @$(MAKE)
|
||||||
MAKEFLAGS = --no-print-directory --silent
|
MAKEFLAGS = --no-print-directory --silent
|
||||||
CHECK := cppcheck $(CPPFLAGS) --quiet --enable=all
|
CHECK := cppcheck $(CPPFLAGS) --quiet --enable=all
|
||||||
INSTALL := install --backup=off
|
INSTALL := install --backup=off
|
||||||
STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755
|
STRIPINST := $(INSTALL) $(STRIPARGS)
|
||||||
ARFLAGS := crus
|
ARFLAGS := crus
|
||||||
|
|
||||||
export libdir plugindir incdir ROOTDIR CPPFLAGS LDFLAGS LDLIBS STATIC
|
export libdir plugindir incdir ROOTDIR CPPFLAGS LDFLAGS LDLIBS STATIC
|
||||||
|
|||||||
Reference in new issue
Block a user