From d7767be24bdcc0101c2ba08c03600b9f3c608663 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 26 Jul 2022 22:54:28 +0200 Subject: user/shell: automatically execute binaries in /bin/ --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 5dd13a2..b6f592b 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ out/hdd: define userbin_template = -out/initrd/$(1).elf: src/user/linker.ld \ +out/initrd/bin/$(1): src/user/linker.ld \ $(call from_sources, src/user/app/$(1)/) \ $(call from_sources, src/user/lib/) \ $(call from_sources, src/shared/) @@ -102,7 +102,7 @@ out/initrd/%: initrd/% @cp $< $@ out/initrd.tar: $(patsubst %,out/%,$(shell find initrd/ -type f)) \ - $(patsubst %,out/initrd/%.elf,$(USERBINS)) + $(patsubst %,out/initrd/bin/%,$(USERBINS)) @cd out/initrd; tar chf ../initrd.tar * -- cgit v1.2.3