aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRicardo B. Marliere <rbm@suse.com>2024-11-19 10:06:08 -0300
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-19 14:25:39 +0100
commit24e9f07624f8d71db91171c7f8a52aaed2098560 (patch)
tree83c9f3139bd839a683aa1781692c3dc9b25bc478 /Makefile
parentd79436a1170e4d5ffde77416313587f320c8e590 (diff)
downloadfbos-24e9f07624f8d71db91171c7f8a52aaed2098560.tar.gz
fbos-24e9f07624f8d71db91171c7f8a52aaed2098560.zip
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 <rbm@suse.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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 $@