From 16807ff976a8cf71babf9d28bcfe3ceb7911f142 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 23 Jun 2025 15:08:38 -0400 Subject: usr.bin: Add 'elfdump' tool Introduce the 'elfdump' utility to dump information relating to ELF files. This is useful for debugging purposes. Signed-off-by: Ian Moffett --- usr.bin/elfdump/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 usr.bin/elfdump/Makefile (limited to 'usr.bin/elfdump/Makefile') diff --git a/usr.bin/elfdump/Makefile b/usr.bin/elfdump/Makefile new file mode 100644 index 0000000..b450635 --- /dev/null +++ b/usr.bin/elfdump/Makefile @@ -0,0 +1,6 @@ +include user.mk + +CFILES = $(shell find . -name "*.c") + +$(ROOT)/base/usr/bin/elfdump: + gcc $(CFILES) -o $@ $(INTERNAL_CFLAGS) -- cgit v1.2.3