aboutsummaryrefslogtreecommitdiff
path: root/apps/init
diff options
context:
space:
mode:
authorMarvin Borner2021-05-18 18:37:19 +0200
committerMarvin Borner2021-05-18 18:37:50 +0200
commit4b4bfec8a312132acc84b5166998d0cfa7c01931 (patch)
treeeeb494cf539b4bfdb6dae23a34f5f1c5d7167667 /apps/init
parenteb13f2a8f536fecf918699bc19b3087a78a417d6 (diff)
Improved entire building chain (especially debugging)
Diffstat (limited to 'apps/init')
-rw-r--r--apps/init/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/init/Makefile b/apps/init/Makefile
index 3547797..68038d0 100644
--- a/apps/init/Makefile
+++ b/apps/init/Makefile
@@ -5,6 +5,9 @@ OBJS = init.o
all: $(OBJS)
@mkdir -p $(BUILD)/apps/init/
@$(LD) -o $(BUILD)/apps/init/exec $(LDFLAGS) $^ -lc
+ifeq ($(CONFIG_STRIP), true)
+ @$(ST) --strip-all $(BUILD)/apps/init/exec
+endif
clean:
@$(RM) -f $(OBJS)