forked from rosa/hakurei
internal/rosa: improve helper bindings
This uses more intuitive names for some arguments and inverts their default value. Slices and nil-capable strings replace skip arguments. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -22,10 +22,10 @@ package toybox {
|
||||
toyboxEarly = true;
|
||||
|
||||
exec = make {
|
||||
omitDefaults = true;
|
||||
inPlace = true;
|
||||
skipConfigure = true;
|
||||
defaults = false;
|
||||
chdir = false;
|
||||
|
||||
configure = nil;
|
||||
preMake = `
|
||||
LDFLAGS="${LDFLAGS:-''} -static"
|
||||
|
||||
@@ -50,7 +50,7 @@ sed -i \
|
||||
"USER=cure",
|
||||
"tests",
|
||||
];
|
||||
skipEarlyStageCheck = true;
|
||||
checkEarly = false;
|
||||
|
||||
install = "PREFIX=/work/system/bin make install_flat";
|
||||
|
||||
@@ -80,10 +80,10 @@ package toybox-early {
|
||||
toyboxEarly = true;
|
||||
|
||||
exec = make {
|
||||
omitDefaults = true;
|
||||
inPlace = true;
|
||||
skipConfigure = true;
|
||||
defaults = false;
|
||||
chdir = false;
|
||||
|
||||
configure = nil;
|
||||
preMake = `
|
||||
LDFLAGS="${LDFLAGS:-''} -static"
|
||||
|
||||
@@ -115,7 +115,7 @@ CONFIG_DIFF=y
|
||||
"USER=cure",
|
||||
"tests",
|
||||
];
|
||||
skipEarlyStageCheck = true;
|
||||
checkEarly = false;
|
||||
|
||||
install = "PREFIX=/work/system/bin make install_flat";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user