Skip to content

add trailing slash to nasm include argument

Collin Clark requested to merge crclark96/bootloader:nasm-compatibility into master

fixes build process for x86-unknown-none target. previous build fails due to missing slash preventing nasm from finding include files

➜ make build/x86-unknown-none/bootloader.bin TARGET=x86-unknown-none
objcopy --strip-debug build/x86-unknown-none/bootloader.elf
mkdir -p build/x86-unknown-none
nasm -f bin -o build/x86-unknown-none/bootloader.bin -l build/x86-unknown-none/bootloader.bin.lst -D STAGE3=build/x86-unknown-none/bootloader.elf -iasm/x86-unknown-none asm/x86-unknown-none/bootloader.asm
asm/x86-unknown-none/bootloader.asm:3: fatal: unable to open include file `stage1.asm'
mk/ recipe for target 'build/x86-unknown-none/bootloader.bin' failed
make: *** [build/x86-unknown-none/bootloader.bin] Error 1

Merge request reports