Another tweak.
This commit is contained in:
parent
ccbe5b8455
commit
b50b2e537e
1 changed files with 2 additions and 1 deletions
|
@ -13,6 +13,7 @@ GET_HANDLER_SUPPORT="git"
|
|||
PKG_TOOLCHAIN="cmake-make"
|
||||
|
||||
make_host() {
|
||||
[ -d "${PKG_BUILD}/build" ] && rm -rf ${PKG_BUILD}/build
|
||||
mkdir ${PKG_BUILD}/build
|
||||
cd ${PKG_BUILD}/build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
|
@ -20,7 +21,7 @@ make_host() {
|
|||
}
|
||||
|
||||
make_target() {
|
||||
rm -rf ${PKG_BUILD}/build
|
||||
[ -d "${PKG_BUILD}/build" ] && rm -rf ${PKG_BUILD}/build
|
||||
mkdir ${PKG_BUILD}/build
|
||||
cd ${PKG_BUILD}/build
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
|
|
Loading…
Reference in a new issue