Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Commits
66353b80
Verified
Commit
66353b80
authored
5 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Patches
Plain Diff
neverball: Build sol files and install to /games/neverball
parent
195dffe9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
recipes/neverball/recipe.sh
+9
-2
9 additions, 2 deletions
recipes/neverball/recipe.sh
recipes/neverball/redox.patch
+0
-15
0 additions, 15 deletions
recipes/neverball/redox.patch
with
9 additions
and
17 deletions
recipes/neverball/recipe.sh
+
9
−
2
View file @
66353b80
...
...
@@ -13,10 +13,12 @@ function recipe_update {
}
function
recipe_build
{
env
-i
PATH
=
/usr/bin:/bin
PKG_CONFIG
=
pkg-config
\
make
-j
"
$(
nproc
)
"
ENABLE_FS
=
stdio mapc sols
sysroot
=
"
$(
realpath
../sysroot
)
"
export
CPPFLAGS
=
"-I
$sysroot
/include"
export
LDFLAGS
=
"-L
$sysroot
/lib -static"
#TODO: Make sol using host compiler
make
-j
"
$(
nproc
)
"
ENABLE_FS
=
stdio
ENABLE_NLS
=
0 clean-src
make
-j
"
$(
nproc
)
"
ENABLE_FS
=
stdio
ENABLE_NLS
=
0 neverball neverputt
skip
=
1
}
...
...
@@ -33,6 +35,11 @@ function recipe_clean {
function
recipe_stage
{
dest
=
"
$(
realpath
$1
)
"
make
DESTDIR
=
"
$dest
"
install
mkdir
-p
"
${
dest
}
/games"
cp
-rv
data
"
${
dest
}
/games/neverball"
for
bin
in
neverball neverputt
do
"
${
STRIP
}
"
-v
"
$bin
"
-o
"
${
dest
}
/games/neverball/
$bin
"
done
skip
=
1
}
This diff is collapsed.
Click to expand it.
recipes/neverball/redox.patch
+
0
−
15
View file @
66353b80
...
...
@@ -73,18 +73,3 @@ diff -ruwN source/Makefile source-new/Makefile
$(BALL_TARG) : $(BALL_OBJS)
$(LINK) -o $(BALL_TARG) $(BALL_OBJS) $(LDFLAGS) $(ALL_LIBS)
diff -ruwN source/share/version.h source-new/share/version.h
--- source/share/version.h 2019-08-07 22:43:26.197100463 -0600
+++ source-new/share/version.h 1969-12-31 17:00:00.000000000 -0700
@@ -1,6 +0,0 @@
-#ifndef VERSION_H
-#define VERSION_H
-
-#define VERSION "1.6.0"
-
-#endif
diff -ruwN source/.version source-new/.version
--- source/.version 2019-08-07 22:43:26.197100463 -0600
+++ source-new/.version 1969-12-31 17:00:00.000000000 -0700
@@ -1 +0,0 @@
-1.6.0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment