Commit: 46f89c933f1ae90934d9dd311372acdcc884236a
Parent: a3675f7e53eb47cb8cbdb3a127b274e48d0346d7
Author: Randy Palamar
Date: Mon, 28 Apr 2025 20:47:53 -0600
pull pax in from oasis
Diffstat:
5 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -4,6 +4,9 @@
[submodule "pkg/admin/spm/src"]
path = pkg/admin/spm/src
url = https://github.com/rnpnr/spm.git
+[submodule "pkg/arch/pax/src"]
+ path = pkg/arch/pax/src
+ url = https://git.sr.ht/~mcf/pax
[submodule "pkg/arch/pigz/src"]
path = pkg/arch/pigz/src
url = https://github.com/madler/pigz.git
diff --git a/pkg/arch/pax/.gitignore b/pkg/arch/pax/.gitignore
@@ -0,0 +1 @@
+/host.ninja
diff --git a/pkg/arch/pax/gen.lua b/pkg/arch/pax/gen.lua
@@ -0,0 +1,12 @@
+cflags({'-std=c99', '-Wall', '-Wpedantic'})
+
+exe('pax', {'pax.c'})
+file('bin/pax', '755', '$outdir/pax')
+
+sub('host.ninja', function()
+ set('outdir', '$outdir/host')
+ toolchain(config.host)
+ exe('pax', {'pax.c'})
+end)
+
+fetch('git')
diff --git a/pkg/arch/pax/src b/pkg/arch/pax/src
@@ -0,0 +1 @@
+Subproject commit 95d26ab249422d86bcbb3a3dda6bb41006bdc8d3
diff --git a/pkg/arch/pax/ver b/pkg/arch/pax/ver
@@ -0,0 +1 @@
+95d26ab249 r0