This commit is contained in:
fewtarius 2022-07-14 16:46:21 -04:00
parent e68000e274
commit bbb941640c
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
3 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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}" ]