Make sure to rebuild HELLO properly when HULK changes
This commit is contained in:
parent
5a5d60abae
commit
6f3521c576
@ -92,7 +92,9 @@ hello_env = env "hello", use: %w[ldc2 x86_64-w64-mingw32-gcc] do |env|
|
||||
env["sources"] = glob("src/hello/**/*.d")
|
||||
env["sources"] += glob("uefi-d/source/**/*.d")
|
||||
env.HulkBinObj("^/hulk_bin.S", hulk_env.expand("^/hulk.bin"))
|
||||
env["sources"] << "^/hulk_bin.S"
|
||||
env.Object("^/hulk_bin.o", "^/hulk_bin.S")
|
||||
env.depends("^/hulk_bin.o", hulk_env.expand("^/hulk.bin"))
|
||||
env["sources"] << "^/hulk_bin.o"
|
||||
env["DFLAGS"] += %w[-mtriple=x86_64-unknown-windows-coff --betterC -release -O3 --wi --enable-cross-module-inlining]
|
||||
env["D_IMPORT_PATH"] += %w[src/hello src/hulk uefi-d/source src/common]
|
||||
env["LD"] = "x86_64-w64-mingw32-gcc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user