diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-10 17:00:29 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-10 17:00:29 +0200 |
| commit | 24dd02c3072c4cb8257410fd09f2cabfd68c75a5 (patch) | |
| tree | 90ce3c0dd0416b94f70b3813e6aca6480beb9d35 | |
| parent | d037da53759d768059b6ce43e8b53ae6db737628 (diff) | |
NewBoot: Fix WSL build
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
| -rw-r--r-- | Private/NewBoot/Source/makefile | 8 |
1 files 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 |
