mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[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:
@@ -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",
|
||||||
|
])
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user