Skip to content

Commit

Permalink
ports/init: Fix up jinx recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Nov 11, 2024
1 parent 86d5879 commit 767ddd9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions recipes/init
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@ name=init
version=0.0
revision=1
source_dir="init"
hostdeps="gcc binutils v"
hostdeps="gcc v"
deps="core-libs"

build() {
cp -r "${source_dir}"/. ./
cp -rp "${source_dir}"/. ./

set -x

local PROD_FLAG=""
if ! [ "$VINIX_PROD" = "no" ]; then
if [ "$PROD" = "true" ]; then
PROD_FLAG="-prod"
fi
VCROSS_COMPILER_NAME=${OS_TRIPLET}-gcc v $PROD_FLAG -gc none -os vinix .
VCROSS_COMPILER_NAME=${OS_TRIPLET}-gcc v -os vinix -gc none $PROD_FLAG -cflags "$TARGET_CFLAGS" -ldflags "$TARGET_LDFLAGS" .

set +x
}

package() {
Expand Down

0 comments on commit 767ddd9

Please sign in to comment.