浏览代码

fix(prototyper): Replace environment variable name

guttatus 3 月之前
父节点
当前提交
e240c93ee5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      prototyper/src/platform/payload.rs

+ 2 - 2
prototyper/src/platform/payload.rs

@@ -24,7 +24,7 @@ pub fn get_boot_info(_nonstandard_a2: usize) -> BootInfo {
 #[link_section = ".fw_fdt"]
 pub unsafe extern "C" fn raw_fdt() {
     asm!(
-        concat!(".incbin \"", env!("PROTOTYPER_FDT"), "\""),
+        concat!(".incbin \"", env!("PROTOTYPER_FDT_PATH"), "\""),
         options(noreturn)
     );
 }
@@ -33,7 +33,7 @@ pub unsafe extern "C" fn raw_fdt() {
 #[link_section = ".payload"]
 pub unsafe extern "C" fn payload_image() {
     asm!(
-        concat!(".incbin \"", env!("PROTOTYPER_IMAGE"), "\""),
+        concat!(".incbin \"", env!("PROTOTYPER_PAYLOAD_PATH"), "\""),
         options(noreturn)
     );
 }