mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
committed by
Christian Helmuth
parent
24f97f9593
commit
acf00c29c3
27
tool/ports/list
Executable file
27
tool/ports/list
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
#
|
||||
# \brief Tool for listing ports
|
||||
# \author Norman Feske
|
||||
# \date 2014-05-07
|
||||
#
|
||||
|
||||
#
|
||||
# Determine Genode base directory based on the known location of the
|
||||
# 'create_builddir' tool within the Genode source tree
|
||||
#
|
||||
GENODE_DIR := $(realpath $(dir $(MAKEFILE_LIST))/../..)
|
||||
|
||||
include $(GENODE_DIR)/tool/ports/mk/front_end.inc
|
||||
|
||||
usage:
|
||||
@$(ECHO)
|
||||
@$(ECHO) "--- list available ports ---"
|
||||
@$(ECHO) "usage: list"
|
||||
@$(ECHO)
|
||||
|
||||
include $(PORT)
|
||||
|
||||
$(TARGET):
|
||||
$(VERBOSE)for i in $(sort $(notdir $(_PORTS:.port=))); do\
|
||||
echo $$i; done
|
||||
Reference in New Issue
Block a user