abuild: support for building simple tar.gz files of target
When building with crosscompile to bootstrap a new target it might be handy to not include the dependencies etc.
This commit is contained in:
parent
c6f4cb7286
commit
36d446263c
@ -317,6 +317,12 @@ build() {
|
|||||||
:
|
:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# generate a simple tar.gz package of pkgdir
|
||||||
|
targz() {
|
||||||
|
cd "$pkgdir" || return 1
|
||||||
|
tar -czf "$PKGDEST"/$pkgname-$pkgver-r$pkgrel.tar.gz *
|
||||||
|
}
|
||||||
|
|
||||||
get_split_func() {
|
get_split_func() {
|
||||||
# get the 'func' from "sub-pkg:func"
|
# get the 'func' from "sub-pkg:func"
|
||||||
local func=${1##*:}
|
local func=${1##*:}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user