summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordzwdz2022-07-26 22:54:28 +0200
committerdzwdz2022-07-26 22:54:28 +0200
commitd7767be24bdcc0101c2ba08c03600b9f3c608663 (patch)
tree2ce6cb96fafad4814ad73c15ec32b702d3882280 /Makefile
parent4aee2f759ab7bf2ad9534941afef0195040ba5db (diff)
user/shell: automatically execute binaries in /bin/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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 *