mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
Patch from Lauri Leukkunen adding knobs controlling whether
host binaries are stripped or not
This commit is contained in:
parent
486640aadb
commit
7db7bdf689
@ -27,6 +27,7 @@ GCC_CAT:=bzcat
|
|||||||
STLPORT_SITE=http://www.stlport.org/archive
|
STLPORT_SITE=http://www.stlport.org/archive
|
||||||
STLPORT_SOURCE=STLport-4.5.3.tar.gz
|
STLPORT_SOURCE=STLport-4.5.3.tar.gz
|
||||||
STLPORT_DIR=$(TOOL_BUILD_DIR)/STLport-4.5.3
|
STLPORT_DIR=$(TOOL_BUILD_DIR)/STLport-4.5.3
|
||||||
|
GCC_STRIP_HOST_BINARIES:=true
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
@ -184,7 +185,9 @@ $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
|
|||||||
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
|
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
|
||||||
PATH=$(TARGET_PATH) $(MAKE) $(JLEVEL) -C $(GCC_BUILD_DIR2) install
|
PATH=$(TARGET_PATH) $(MAKE) $(JLEVEL) -C $(GCC_BUILD_DIR2) install
|
||||||
# Strip the host binaries
|
# Strip the host binaries
|
||||||
|
ifeq ($(GCC_STRIP_HOST_BINARIES),true)
|
||||||
-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
|
-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
|
||||||
|
endif
|
||||||
# Set up the symlinks to enable lying about target name.
|
# Set up the symlinks to enable lying about target name.
|
||||||
set -e; \
|
set -e; \
|
||||||
(cd $(STAGING_DIR); \
|
(cd $(STAGING_DIR); \
|
||||||
|
@ -33,6 +33,7 @@ GCC_SITE:=http://gcc.get-software.com/releases/gcc-$(GCC_VERSION)
|
|||||||
GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2
|
GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2
|
||||||
GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)
|
GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)
|
||||||
GCC_CAT:=bzcat
|
GCC_CAT:=bzcat
|
||||||
|
GCC_STRIP_HOST_BINARIES:=true
|
||||||
|
|
||||||
#############################################################
|
#############################################################
|
||||||
#
|
#
|
||||||
@ -154,7 +155,9 @@ $(GCC_BUILD_DIR2)/.compiled: $(GCC_BUILD_DIR2)/.configured
|
|||||||
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
|
$(GCC_BUILD_DIR2)/.installed: $(GCC_BUILD_DIR2)/.compiled
|
||||||
PATH=$(TARGET_PATH) $(MAKE) $(JLEVEL) -C $(GCC_BUILD_DIR2) install
|
PATH=$(TARGET_PATH) $(MAKE) $(JLEVEL) -C $(GCC_BUILD_DIR2) install
|
||||||
# Strip the host binaries
|
# Strip the host binaries
|
||||||
|
ifeq ($(GCC_STRIP_HOST_BINARIES),true)
|
||||||
-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
|
-strip --strip-all -R .note -R .comment $(STAGING_DIR)/bin/*
|
||||||
|
endif
|
||||||
# Set up the symlinks to enable lying about target name.
|
# Set up the symlinks to enable lying about target name.
|
||||||
set -e; \
|
set -e; \
|
||||||
(cd $(STAGING_DIR); \
|
(cd $(STAGING_DIR); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user