소스 검색

fix(prototyper): Replace environment variable name

guttatus 4 달 전
부모
커밋
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)
     );
 }