2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 16:30:04 -07:00
repo/core/baseinit/build

11 lines
212 B
Plaintext
Raw Normal View History

2020-02-05 03:14:43 -07:00
#!/bin/sh -ef
2019-06-20 01:45:35 -06:00
2020-02-05 03:14:43 -07:00
mkdir -p "$1/usr/bin"
2019-06-21 02:17:48 -06:00
cp -R etc "$1"
cp -R lib "$1/usr/lib"
2020-02-05 03:14:43 -07:00
# Disable warning as CFLAGS must work this way.
# shellcheck disable=2086
"${CC:-gcc}" -o "$1/usr/bin/kpow" bin/kpow.c $CFLAGS -static