Add STRIP_RELEASE_BINARY option to Makefile
It is already supported by CMakeLists, might be useful to allow it to be passed through Makefile. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -86,6 +86,11 @@ BUILD_NAME:=
|
|||||||
CMAKE_DEFINES:=$(CMAKE_DEFINES) -DUSE_COMPILER_DEFAULT_LIBC=$(USE_COMPILER_DEFAULT_LIBC)
|
CMAKE_DEFINES:=$(CMAKE_DEFINES) -DUSE_COMPILER_DEFAULT_LIBC=$(USE_COMPILER_DEFAULT_LIBC)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Apply strip to release binaries
|
||||||
|
ifneq ($(STRIP_RELEASE_BINARY),)
|
||||||
|
CMAKE_DEFINES:=$(CMAKE_DEFINES) -DSTRIP_RELEASE_BINARY=$(STRIP_RELEASE_BINARY)
|
||||||
|
endif
|
||||||
|
|
||||||
# Directories
|
# Directories
|
||||||
export ROOT_DIR := $(shell pwd)
|
export ROOT_DIR := $(shell pwd)
|
||||||
export BUILD_DIR_PREFIX := $(ROOT_DIR)/build/obj
|
export BUILD_DIR_PREFIX := $(ROOT_DIR)/build/obj
|
||||||
|
|||||||
Reference in New Issue
Block a user