[boot] Add explicit dependency on bootproto/memory.h

bootproto/memory.h is generated from a cog file. Some builds could fail
because the dependency on this file was not explicit.
This commit is contained in:
Justin C. Miller
2022-01-08 14:35:56 -08:00
parent 6877944d17
commit 488f2df869
2 changed files with 10 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# vim: ft=python # vim: ft=python
module("boot", boot = module("boot",
kind = "exe", kind = "exe",
output = "boot.efi", output = "boot.efi",
targets = [ "boot" ], targets = [ "boot" ],
@@ -21,3 +21,11 @@ module("boot",
"support.cpp", "support.cpp",
"video.cpp", "video.cpp",
]) ])
boot.add_depends([
"main.cpp",
"memory_map.cpp",
"paging.cpp",
], [
"${target_dir}/bootproto.dir/include/bootproto/memory.h",
])

View File

@@ -1,7 +1,7 @@
#pragma once #pragma once
// vim: ft=cpp // vim: ft=cpp
/// \file bootproto/memory.h /// \file memory.h
/// Import memory layout constants necessary for boot /// Import memory layout constants necessary for boot
#include <stddef.h> #include <stddef.h>