Andreas Wacknitz
2024-04-07 2585eba99b57ff2f3813d06d4018495c42fec004
make-rules/prep-git.mk
@@ -25,6 +25,9 @@
GIT =      /usr/bin/git
COMPONENT_PREP_GIT?=yes
ifeq ($(strip $(COMPONENT_PREP_GIT)), yes)
#
# Anything that we pull from a GIT repo must have a GIT_REPO{_[0-9]+} and
# GIT_COMMIT_ID{_[0-9]+} to match.
@@ -68,7 +71,7 @@
CLEAN_PATHS += $$(COMPONENT_SRC$(1))
CLOBBER_PATHS += $$(COMPONENT_ARCHIVE$(1))
SOURCE_DIR$(1) = $$(COMPONENT_DIR)/$(COMPONENT_SRC$(1))
SOURCE_DIR$(1) = $$(COMPONENT_DIR)/$$(COMPONENT_SRC$(1))
endif
endef
@@ -109,7 +112,7 @@
      Makefile ))
REQUIRED_PACKAGES += developer/versioning/git
USERLAND_REQUIRED_PACKAGES += developer/versioning/git
endif
endef
@@ -120,3 +123,5 @@
$(eval $(call git-rules,))
$(foreach suffix, $(GIT_SUFFIXES), $(eval $(call git-rules,_$(suffix))))
endif