mirror of https://git.wownero.com/dsc/mxe.git
cleanup-deps-style: omit pkgs with derived deps
Do not touch lines like this: $(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\ ... (src/qt5.mk)
This commit is contained in:
parent
1e9d757021
commit
f82e39dcef
2
Makefile
2
Makefile
|
@ -764,7 +764,7 @@ cleanup-deps-style:
|
|||
@$(foreach PKG,$(PKGS), \
|
||||
$(if $(call lne,$(sort $(filter-out gcc,$($(PKG)_DEPS))),$(filter-out gcc,$($(PKG)_DEPS))), \
|
||||
$(info [cleanup] $(PKG)) \
|
||||
$(SED) -i 's/^\([^ ]*_DEPS *:=\).*/\1 '"$(strip $(filter gcc,$($(PKG)_DEPS)) $(sort $(filter-out gcc,$($(PKG)_DEPS))))"'/' '$(call PKG_MAKEFILES,$(PKG))'; \
|
||||
$(SED) -i 's/^\([^ ]*_DEPS *:=\)[^$$]*$$/\1 '"$(strip $(filter gcc,$($(PKG)_DEPS)) $(sort $(filter-out gcc,$($(PKG)_DEPS))))"'/' '$(call PKG_MAKEFILES,$(PKG))'; \
|
||||
))
|
||||
@grep '(PKG)_DEPS.*\\' $(foreach 1,$(PKGS),$(PKG_MAKEFILES)) > $(TOP_DIR)/tmp-$@-post
|
||||
@diff -u $(TOP_DIR)/tmp-$@-pre $(TOP_DIR)/tmp-$@-post >/dev/null \
|
||||
|
|
Loading…
Reference in New Issue