This commit renames the Makefile function `_import_linker` to `import_linker`.
The original intent was for this function to be purely internal and only
used in the core `Makefile`. It turns out that it might be used in other
places in the future, like potentilly external architectures, so this
commit removes the inappropriate `_` prefix.
Signed-off-by: Simon Kuenzer <simon@unikraft.io>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.io>
Reviewed-by: Michalis Pappas <michalis@unikraft.io>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1104
endif
# include Makefile for platform linking (`Linker.uk`)
-$(foreach plat,$(UK_PLATS),$(eval $(call _import_linker,$(plat))))
+$(foreach plat,$(UK_PLATS),$(eval $(call import_linker,$(plat))))
.PHONY: prepare preprocess image libs objs clean
$(call verbose_include,$(1)/Makefile.uk)
undefine IMPORT_BASE
endef
-# _import_linker $plat_name
-define _import_linker =
+# import_linker $plat_name
+define import_linker =
$(call verbose_include,$(UK_PLAT_$(call uc,$(1))_LINKER))
endef