opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: b18efae6ca131adc5dbe31bb73c473389121f7e2
Parent: 02a4bb64d9ff7321836a022f3a2e6e80139afce8
Author: Michael Forney
Date:   Mon, 16 Mar 2026 23:43:59 -0700

linux-headers: Update unistd.awk to match recent syscallhdr.sh output exactly

Diffstat:
Mpkg/devel/linux-headers/gen.lua | 1-
Mpkg/devel/linux-headers/unistd.awk | 5+++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkg/devel/linux-headers/gen.lua b/pkg/devel/linux-headers/gen.lua @@ -84,7 +84,6 @@ for _, spec in ipairs(archfiles.unistd) do local out = '$outdir/include/asm/'..spec.dst build('awk', out, {'$srcdir/'..spec.src, '|', '$dir/unistd.awk'}, { expr={ - '-v arch='..arch, '-v file='..spec.dst, string.format([[-v abi='%s']], spec.abi), '-v off='..(spec.off or ''), diff --git a/pkg/devel/linux-headers/unistd.awk b/pkg/devel/linux-headers/unistd.awk @@ -1,8 +1,8 @@ BEGIN { - guard = toupper("_ASM_" arch "_" file) + guard = toupper("_ASM_" file) gsub(/[^A-Za-z0-9_]/, "_", guard) print "#ifndef " guard - print "#define " guard " 1" + print "#define " guard print "" } @@ -14,5 +14,6 @@ $0 ~ /^[^#]+/ && $2 ~ "^(" abi ")$" { END { print "" + print "" print "#endif /* " guard " */" }