Fixes.
This commit is contained in:
parent
e68000e274
commit
bbb941640c
3 changed files with 6 additions and 1 deletions
|
@ -19,6 +19,11 @@ post_patch() {
|
|||
mkdir -p ${PKG_BUILD}/.${HOST_NAME} && cp -r ${PKG_BUILD}/* $PKG_BUILD/.${HOST_NAME}
|
||||
}
|
||||
|
||||
|
||||
pre_make_host() {
|
||||
unset TARGET_CFLAGS
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
cd .${HOST_NAME}
|
||||
make amalg
|
||||
|
|
|
@ -23,7 +23,7 @@ echo "Building ${DISTRO} for ${DEVICE}"
|
|||
# If ROOT is defined make sure that the build folder is a link to root rather than
|
||||
# a folder and take additional clean steps to ensure everything is built properly.
|
||||
|
||||
if [ -z "${ROOT-set}" ]
|
||||
if [ -n "${ROOT}" ]
|
||||
then
|
||||
# Ensure there isn't a left over build directory.
|
||||
if [ -d "build.${DISTRO}-${DEVICE}.${ARCH}" ]
|
||||
|
|
Loading…
Reference in a new issue