rump: remove .git directories from src recipe

This spares us about 200M but still leaves us with 600M.
This commit is contained in:
Christian Helmuth 2017-11-06 20:26:38 +01:00
parent 6cbf54aefb
commit 8b05deba13
2 changed files with 6 additions and 3 deletions

View File

@ -27,7 +27,7 @@ SOURCE = $(addprefix $(REP_DIR)/src/lib/rump/,$(SRC_CC))
#
BUILD_CMD = BUILD_CC=cc BUILD_AR=ar BUILD_NM=nm BUILD_OBJCOPY=objcopy \
AR=$(AR) NM=$(NM) OBJCOPY=$(OBJCOPY) CC_TARGET=$(shell basename $(CC)) \
$(RUMP_CONTRIB_DIR)/buildrump.sh -k -V'MAKEVERBOSE=$(VERBOSE_LEVEL)' \
$(RUMP_CONTRIB_DIR)/buildrump.sh -H -k -V'MAKEVERBOSE=$(VERBOSE_LEVEL)' \
-V'NOGCCERROR=1' $(RUMP_OPT) -V'RUMP_LOCKS_UP=yes' \
-s $(RUMP_SRC) -T $(RUMP_TOOLS) -o $(RUMP_OBJ) -d $(RUMP_BASE) \
-F"DBG=$(CC_OLEVEL) -g"

View File

@ -9,8 +9,11 @@ MIRROR_FROM_REP_DIR := $(LIB_MK) \
include/rump include/rump_fs \
include/util
MIRROR_FROM_PORT_DIR := $(addprefix src/lib/dde_rump/, brlib nblibs src) \
$(shell cd $(PORT_DIR); find src/lib/dde_rump -maxdepth 1 -type f)
MIRROR_FROM_PORT_DIR := $(shell cd $(PORT_DIR); find src/lib/dde_rump -maxdepth 1 -type f; \
for d in src/lib/dde_rump/brlib src/lib/dde_rump/nblibs \
src/lib/dde_rump/src; do \
find $$d -mindepth 1 -maxdepth 1 -not -name .git; \
done)
content: $(MIRROR_FROM_REP_DIR) $(MIRROR_FROM_PORT_DIR)