This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac395d3
commit e3e6d06
Showing
12 changed files
with
3,994 additions
and
3,994 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) | ||
tup.rule("git rev-parse HEAD > %o", {"rev.inc"}) | ||
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o ", "bootbios.bin") | ||
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dextended_primary_loader=1", "bootbios.bin.ext_loader") | ||
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dpretest_build=1", "bootbios.bin.pretest") | ||
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o " .. tup.getconfig("KERPACK_CMD"), "kernel.mnt") | ||
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.ext_loader", "lang.inc", "rev.inc"}}, "fasm -m 131072 %f %o -s %o.fas -dextended_primary_loader=1" .. tup.getconfig("KERPACK_CMD"), {"kernel.mnt.ext_loader", extra_outputs = {"kernel.mnt.ext_loader.fas"}}) | ||
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.pretest", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dpretest_build=1 -ddebug_com_base=0xe9", "kernel.mnt.pretest") | ||
tup.rule({"kernel.asm", extra_inputs = {"lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dUEFI=1 -dextended_primary_loader=1", "kolibri.krn") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) | ||
tup.rule("git rev-parse HEAD > %o", {"rev.inc"}) | ||
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o ", "bootbios.bin") | ||
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dextended_primary_loader=1", "bootbios.bin.ext_loader") | ||
tup.rule({"bootbios.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o -dpretest_build=1", "bootbios.bin.pretest") | ||
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o " .. tup.getconfig("KERPACK_CMD"), "kernel.mnt") | ||
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.ext_loader", "lang.inc", "rev.inc"}}, "fasm -m 131072 %f %o -s %o.fas -dextended_primary_loader=1" .. tup.getconfig("KERPACK_CMD"), {"kernel.mnt.ext_loader", extra_outputs = {"kernel.mnt.ext_loader.fas"}}) | ||
tup.rule({"kernel.asm", extra_inputs = {"bootbios.bin.pretest", "lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dpretest_build=1 -ddebug_com_base=0xe9", "kernel.mnt.pretest") | ||
tup.rule({"kernel.asm", extra_inputs = {"lang.inc", "rev.inc"}}, "fasm -m 65536 %f %o -dUEFI=1 -dextended_primary_loader=1", "kolibri.krn") |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) | ||
tup.rule({"boot_fat12.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o", "boot_fat12.bin") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > %o", {"lang.inc"}) | ||
tup.rule({"boot_fat12.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o", "boot_fat12.bin") |
4 changes: 2 additions & 2 deletions
4
kernel/bootloader/extended_primary_loader/after_win/Tupfile.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("kordldr.win.asm", "fasm %f %o", "kordldr.win.bin") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("kordldr.win.asm", "fasm %f %o", "kordldr.win.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("bootsect.asm", "fasm %f %o ", "bootsect.bin") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("bootsect.asm", "fasm %f %o ", "bootsect.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("bootsect.asm", "fasm %f %o", "bootsect.bin") | ||
tup.rule("kordldr.f1x.asm", "fasm %f %o", "kordldr.f1x.bin") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("bootsect.asm", "fasm %f %o", "bootsect.bin") | ||
tup.rule("kordldr.f1x.asm", "fasm %f %o", "kordldr.f1x.bin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("bootsect.asm", "fasm %f %o", "bootsect.bin") | ||
tup.rule("kordldr.f32.asm", "fasm %f %o", "kordldr.f32") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("bootsect.asm", "fasm %f %o", "bootsect.bin") | ||
tup.rule("kordldr.f32.asm", "fasm %f %o", "kordldr.f32") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule({"uefi64kos.asm"}, "fasm -dUEFI=1 -dextended_primary_loader=1 %f %o", "bootx64.efi") | ||
tup.rule({"uefi32kos.asm"}, "fasm -dUEFI=1 -dextended_primary_loader=1 %f %o", "bootia32.efi") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule({"uefi64kos.asm"}, "fasm -dUEFI=1 -dextended_primary_loader=1 %f %o", "bootx64.efi") | ||
tup.rule({"uefi32kos.asm"}, "fasm -dUEFI=1 -dextended_primary_loader=1 %f %o", "bootia32.efi") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("mtrrtest.asm", "fasm %f %o", "mtrrtest.exe") | ||
tup.rule({"test_malloc.asm", extra_inputs = {"../rev.inc"}}, "fasm %f %o", "test_malloc") | ||
if tup.getconfig("NO_FASM") ~= "" then return end | ||
tup.rule("mtrrtest.asm", "fasm %f %o", "mtrrtest.exe") | ||
tup.rule({"test_malloc.asm", extra_inputs = {"../rev.inc"}}, "fasm %f %o", "test_malloc") |
Oops, something went wrong.