mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
make.sh: Drop stripping
This will massively improve the build process because we will only strip the files that we need. The build system will remain as is. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -360,8 +360,12 @@ define COPY_FILES
|
||||
# Copy all files from $(1) to $(2)
|
||||
$(call COLLECT_FILES,$(1)) | $(call __FILES_IN) | $(call __FILES_OUT,$(2))
|
||||
|
||||
# Strip everything
|
||||
$(DIR_SRC)/src/stripper $(2)
|
||||
# Strip everything, except a few things
|
||||
$(DIR_SRC)/src/stripper $(2) \
|
||||
--exclude=/lib/firmware \
|
||||
--exclude=/usr/lib/go \
|
||||
--exclude=/usr/lib/vdr \
|
||||
--exclude=/usr/sbin/vdr
|
||||
endef
|
||||
|
||||
# Called to compress a file that will be distributed
|
||||
|
||||
Reference in New Issue
Block a user