Skip to content

Commit

Permalink
usr: Make sure usr/bin/ exists
Browse files Browse the repository at this point in the history
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: d79436a ("usr: Bootstrap the initramfs for the kernel")
Signed-off-by: Ricardo B. Marliere <[email protected]>
  • Loading branch information
rbmarliere authored and mssola committed Nov 19, 2024
1 parent d79436a commit 24e9f07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 $@

Expand Down

0 comments on commit 24e9f07

Please sign in to comment.