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
e42398de
Commit
e42398de
authored
7 years ago
by
Jeremy Soller
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of
https://github.com/redox-os/cookbook
parents
fa11383b
c022d9f3
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
cook.sh
+12
-0
12 additions, 0 deletions
cook.sh
recipes/curl/recipe.sh
+1
-0
1 addition, 0 deletions
recipes/curl/recipe.sh
recipes/gcc/recipe.sh
+1
-0
1 addition, 0 deletions
recipes/gcc/recipe.sh
recipes/rust/recipe.sh
+1
-0
1 addition, 0 deletions
recipes/rust/recipe.sh
with
15 additions
and
0 deletions
cook.sh
+
12
−
0
View file @
e42398de
...
...
@@ -260,6 +260,18 @@ function op {
echo
"name =
\"
$1
\"
"
>
"stage.toml"
echo
"version =
\"
$(
op
$1
version
)
\"
"
>>
"stage.toml"
echo
"target =
\"
$TARGET
\"
"
>>
"stage.toml"
# Add runtime dependencies to package if they exist
if
[
-n
"
$DEPENDS
"
]
then
# Remove leading and trailing whitespace, replace whitespace between
# package names with commas, and surround package names with quotes
dependencies
=
$(
echo
-e
"
$DEPENDS
"
|
sed
-E
's/^[[:space:]]*//;s/[[:space:]]*$//;s/[[:space:]]+/,/g;s/[^, ][^, ]*/"&"/g'
)
echo
"depends = [
$dependencies
]"
>>
"stage.toml"
else
echo
"depends = []"
>>
"stage.toml"
fi
mkdir
-p
stage/pkg
cp
-v
stage.toml
"stage/pkg/
$1
.toml"
pkg
--target
=
$TARGET
create stage
...
...
This diff is collapsed.
Click to expand it.
recipes/curl/recipe.sh
+
1
−
0
View file @
e42398de
TAR
=
https://curl.haxx.se/download/curl-7.55.1.tar.gz
BRANCH
=
redox
BUILD_DEPENDS
=(
openssl
)
DEPENDS
=
"ca-certificates"
function
recipe_version
{
printf
"r%s.%s"
"
$(
git rev-list
--count
HEAD
)
"
"
$(
git rev-parse
--short
HEAD
)
"
...
...
This diff is collapsed.
Click to expand it.
recipes/gcc/recipe.sh
+
1
−
0
View file @
e42398de
GIT
=
https://github.com/redox-os/gcc.git
BRANCH
=
redox
DEPENDS
=
"gnu-binutils newlib"
export
AR
=
"
${
HOST
}
-ar"
export
AS
=
"
${
HOST
}
-as"
...
...
This diff is collapsed.
Click to expand it.
recipes/rust/recipe.sh
+
1
−
0
View file @
e42398de
GIT
=
https://github.com/ids1024/rust.git
BRANCH
=
compile-redox
DEPENDS
=
"gcc cargo"
LLVM_PREFIX
=
$PWD
/build/llvm-root
SYSROOT
=
/usr/
$HOST
...
...
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