genode/tool/ports/metadata
Christian Helmuth cadf774fa0 tool/port/metadata: fix usage output
Variable ECHO is not set as common.inc is not included.
2025-01-30 16:30:13 +01:00

35 lines
635 B
Makefile
Executable File

#!/usr/bin/make -f
#
# \brief Tool for retrieving metadata of port sources
# \author Christian Helmuth
# \date 2023-01-20
#
ifndef VERBOSE
MAKEFLAGS += --no-print-directory
endif
export GENODE_DIR := $(realpath $(dir $(MAKEFILE_LIST))/../..)
usage:
@echo
@echo "Tool for retrieving version information of port sources"
@echo
@echo "usage:"
@echo
@echo " $(notdir $(MAKEFILE_LIST)) <ports>"
@echo
@echo " <ports> whitespace-separated list of ports"
@echo
TARGETS = $(sort $(MAKECMDGOALS))
.PHONY: $(TARGETS)
.NOTPARALLEL:
$(TARGETS):
@$(MAKE) -f $(GENODE_DIR)/tool/ports/mk/metadata_single_port.mk $@
@$(ECHO)