btrfs-progs: fix cross
This commit is contained in:
parent
b01f86e88f
commit
c5ebc35623
1 changed files with 6 additions and 0 deletions
|
@ -18,6 +18,12 @@ pre_configure() {
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
if [ $CROSS_BUILD ]; then
|
||||||
|
${BUILD_CC} ${BUILD_CFLAGS} kernel-lib/mktables.c -o mktables
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
libbtrfs_package() {
|
libbtrfs_package() {
|
||||||
short_desc+=" - runtime library"
|
short_desc+=" - runtime library"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Reference in a new issue