Skip to content

Commit 902e2fa

Browse files
committed
framework_uefi: Add startup.nsh
Make it easy to test execution from a script Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 1b64d90 commit 902e2fa

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

framework_uefi/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ $(BUILD)/efi.img: $(BUILD)/boot.efi
3838
mkfs.vfat $@.tmp
3939
mmd -i $@.tmp efi
4040
mmd -i $@.tmp efi/boot
41+
echo 'efi\boot\bootx64.efi --version' > startup.nsh
42+
mcopy -i $@.tmp startup.nsh ::efi/boot/startup.nsh
43+
rm -f startup.nsh
4144
mcopy -i $@.tmp $< ::efi/boot/bootx64.efi
4245
mv $@.tmp $@
4346

0 commit comments

Comments
 (0)