No need to register repository

This commit is contained in:
Matúš Kukan
2011-10-22 16:07:13 +02:00
parent c1a1d5d532
commit eba6bc1b98
2 changed files with 0 additions and 16 deletions

View File

@@ -26,9 +26,6 @@
# #
#************************************************************************* #*************************************************************************
$(eval $(call gb_Helper_register_repository,SRCDIR))
$(eval $(call gb_Helper_register_executables,NONE, \ $(eval $(call gb_Helper_register_executables,NONE, \
bestreversemap \ bestreversemap \
bmp \ bmp \

View File

@@ -36,8 +36,6 @@ gb_Helper_PHONY := $(gb_Helper_MISC)/PHONY
# general propose empty dummy target # general propose empty dummy target
gb_Helper_MISCDUMMY := $(gb_Helper_MISC)/DUMMY gb_Helper_MISCDUMMY := $(gb_Helper_MISC)/DUMMY
gb_Helper_REPOSITORYNAMES :=
.PHONY : $(WORKDIR)/Misc/PHONY .PHONY : $(WORKDIR)/Misc/PHONY
$(gb_Helper_MISCDUMMY) : $(gb_Helper_MISCDUMMY) :
@mkdir -p $(dir $@) && touch $@ @mkdir -p $(dir $@) && touch $@
@@ -86,20 +84,9 @@ define gb_Helper_get_outdir_clean_target
$$(subst $(OUTDIR)/,$(WORKDIR)/Clean/OutDir/,$(1)) $$(subst $(OUTDIR)/,$(WORKDIR)/Clean/OutDir/,$(1))
endef endef
define gb_Helper_register_repository
gb_Helper_CURRENTREPOSITORY := $(1)
gb_Helper_REPOSITORYNAMES += $(1)
endef
# RepositoryExternal.mk is optional # RepositoryExternal.mk is optional
define gb_Helper_add_repository define gb_Helper_add_repository
gb_Helper_CURRENTREPOSITORY :=
include $(1)/Repository.mk include $(1)/Repository.mk
ifeq ($$(gb_Helper_CURRENTREPOSITORY),)
$$(eval $$(call gb_Output_error,No call to gb_Helper_register_repository in Repository.mk for repository $(1)))
endif
$$(gb_Helper_CURRENTREPOSITORY) := $(1)
-include $(1)/RepositoryExternal.mk -include $(1)/RepositoryExternal.mk
endef endef