forked from rosa/hakurei
internal/rosa/cmake: remove variant
This has no effect outside formatting of name and is a remnant of the old llvm helpers. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -333,7 +333,7 @@ mkdir -vp /work/system/bin
|
||||
toybox = toyboxEarly
|
||||
}
|
||||
|
||||
base := LLVMClang
|
||||
base := Clang
|
||||
if flag&TNoToolchain != 0 {
|
||||
base = Musl
|
||||
}
|
||||
@@ -420,8 +420,6 @@ const helperInPlace = "\x00"
|
||||
|
||||
// Helper is a build system helper for [Toolchain.NewPackage].
|
||||
type Helper interface {
|
||||
// name returns the value passed to the name argument of [Toolchain.New].
|
||||
name(name, version string) string
|
||||
// extra returns helper-specific dependencies.
|
||||
extra(flag int) P
|
||||
|
||||
@@ -588,7 +586,7 @@ cd '/usr/src/` + name + `/'
|
||||
}
|
||||
|
||||
return t.New(
|
||||
helper.name(name, version),
|
||||
name+"-"+version,
|
||||
attr.Flag,
|
||||
extraRes,
|
||||
nil,
|
||||
|
||||
Reference in New Issue
Block a user