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:
Michael Tremer
2024-07-09 17:47:04 +00:00
parent 8f1c5b617d
commit d4ad987a5d
3 changed files with 6 additions and 24 deletions

View File

@@ -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