From 24dd02c3072c4cb8257410fd09f2cabfd68c75a5 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 10 Apr 2024 17:00:29 +0200 Subject: NewBoot: Fix WSL build Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/Source/makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile index 8d7f3cb9..c37d0ccc 100644 --- a/Private/NewBoot/Source/makefile +++ b/Private/NewBoot/Source/makefile @@ -3,8 +3,10 @@ # This is the bootloader makefile. ################################################## -CC_GNU=x86_64-w64-mingw32-g++ -LD_GNU=x86_64-w64-mingw32-ld +CC_GNU=x86_64-w64-mingw32-g++.exe +LD_GNU=x86_64-w64-mingw32-ld.exe + +WINDRES=x86_64-w64-mingw32-windres.exe ADD_FILE=touch COPY=cp @@ -49,7 +51,7 @@ endif .PHONY: compile-amd64 compile-amd64: - windres BootloaderRsrc.rsrc -O coff -o BootloaderRsrc.o + $(WINDRES) BootloaderRsrc.rsrc -O coff -o BootloaderRsrc.o $(CC_GNU) $(FLAG_GNU) $(DEBUG) $(wildcard HEL/AMD64/*.cxx) $(wildcard *.cxx) .PHONY: run-efi-amd64 -- cgit v1.2.3