1
0
Fork 0

build: support macOS for "make update" purposes

Dieser Commit ist enthalten in:
Franco Fichtner 2020-05-17 10:26:30 +02:00
Ursprung f59778f5f1
Commit e96cf8a95c
2 geänderte Dateien mit 6 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -277,8 +277,10 @@ confirm|fingerprint|info|print)
;;
esac
PKGBIN=$(which pkg || true)
for WANT in git ${PRODUCT_WANTS}; do
if ! pkg info ${WANT} > /dev/null; then
if ! ${PKGBIN} info ${WANT} > /dev/null; then
echo ">>> Required build package '${WANT}' is not installed." >&2
exit 1
fi
@ -298,7 +300,7 @@ git_fetch()
{
echo ">>> Fetching ${1}:"
git -C ${1} fetch --all --prune
git -C ${1} fetch --tags --prune
}
git_clone()

Datei anzeigen

@ -4,6 +4,8 @@ serial_hook()
{
# We do not require any custom hooks for the A10, but for
# the sake of demonstration, we keep this little stub. :)
: # prevent syntax error
}
# unset this for generic device handling, i.e. no device suffix