소스 검색

Quick Build Fix

Arphd4 1 개월 전
부모
커밋
f27abd0961
2개의 변경된 파일3개의 추가작업 그리고 22개의 파일을 삭제
  1. 2 1
      arkos/vendor/verify/securebuild.ark
  2. 1 21
      tools/build.c

+ 2 - 1
arkos/vendor/verify/securebuild.ark

@@ -6,6 +6,7 @@
 
 # --- Mirror Build key (Public) ---
 
-ARK-OS-9aaafa37077ee91e5df2f47a8e9e1564beecde1cc13b279f51d915bf8c746eb4
+ARK-OS-Mirror-9aaafa37077ee91e5df2f47a8e9e1564beecde1cc13b279f51d915bf8c746eb4
 
 # Place your build key below this line.
+

+ 1 - 21
tools/build.c

@@ -229,25 +229,10 @@ int main(int argc, char *argv[]) {
   step("Compiling Swift system binaries (splash, arkrt, display daemon)");
   {
     /* Check each binary individually for incremental builds */
-    char splash_out[512], arkrt_out[512], daemon_out[512];
-    snprintf(splash_out, sizeof(splash_out), "%s/swift_splash", staging);
+    char arkrt_out[512], daemon_out[512];
     snprintf(arkrt_out, sizeof(arkrt_out), "%s/arkrt", staging);
     snprintf(daemon_out, sizeof(daemon_out), "%s/system/ui_daemon", staging);
 
-    /* swift_splash sources */
-    char splash_src[512];
-    snprintf(splash_src, sizeof(splash_src), "%s/system/swift_splash.swift", base);
-    const char *splash_sources[] = {splash_src};
-
-    if (is_up_to_date(splash_out, splash_sources, 1)) {
-      printf("  \033[0;32m✓\033[0m swift_splash is up-to-date (skipping)\n");
-    } else {
-      char cmd[1024];
-      snprintf(cmd, sizeof(cmd),
-               "make -C %s out_staging/swift_splash", base);
-      run(cmd);
-    }
-
     /* arkrt sources */
     char a1[512], a2[512], a3[512], a4[512], a5[512], a6[512];
     snprintf(a1, sizeof(a1), "%s/arkrt/main.swift", base);
@@ -388,11 +373,6 @@ int main(int argc, char *argv[]) {
              staging, initramfs_ext, initramfs_ext);
     run(cmd);
 
-    snprintf(cmd, sizeof(cmd),
-             "cp %s/swift_splash %s/swift_splash && chmod +x %s/swift_splash",
-             staging, initramfs_ext, initramfs_ext);
-    run(cmd);
-
     snprintf(cmd, sizeof(cmd), "cp %s/arkrt %s/arkrt && chmod +x %s/arkrt",
              staging, initramfs_ext, initramfs_ext);
     run(cmd);