From 24e9f07624f8d71db91171c7f8a52aaed2098560 Mon Sep 17 00:00:00 2001 From: "Ricardo B. Marliere" Date: Tue, 19 Nov 2024 10:06:08 -0300 Subject: usr: Make sure usr/bin/ exists Fix the following build error on a clean repository: riscv64-suse-linux-ld: cannot open output file usr/bin/foo: No such file or directory Fixes: d79436a1170e ("usr: Bootstrap the initramfs for the kernel") Signed-off-by: Ricardo B. Marliere --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6799281..dae4248 100644 --- a/Makefile +++ b/Makefile @@ -98,6 +98,7 @@ usr/src/%.o: usr/src/%.S $(Q) $(AS) $(ASFLAGS) -c $< -o $@ usr/bin/%: usr/src/%.o + $(Q) mkdir -p usr/bin/ $(E) " LD " $@ $(Q) $(LD) $(USRFLAGS) $< -o $@ -- cgit v1.2.3