From 6175735cdaf01c9b683f96687fc86f87b646b1ad Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 8 Feb 2024 10:38:48 +1100 Subject: [PATCH] py/mkenv: Allow providing STRIP as an environment variable. Allows doing "export STRIP=" in a profile or .envrc file, to not strip binaries by default. Signed-off-by: Angus Gratton --- py/mkenv.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/mkenv.mk b/py/mkenv.mk index b52dafbc9d..e59902df99 100644 --- a/py/mkenv.mk +++ b/py/mkenv.mk @@ -52,7 +52,7 @@ GDB = $(CROSS_COMPILE)gdb LD = $(CROSS_COMPILE)ld OBJCOPY = $(CROSS_COMPILE)objcopy SIZE = $(CROSS_COMPILE)size -STRIP = $(CROSS_COMPILE)strip +STRIP ?= $(CROSS_COMPILE)strip AR = $(CROSS_COMPILE)ar WINDRES = $(CROSS_COMPILE)windres