Merge pull request #4 from mortzu/master

Add support for x86 target
This commit is contained in:
Jan-Philipp Litza 2015-08-08 15:31:43 +02:00
commit d64c6db53f
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh
#! /usr/bin/env sh
FIRMWARE_URL="http://downloads.bremen.freifunk.net/firmware/"
LOCAL_SUFFIX="bremen"
@ -99,12 +99,13 @@ fi
cd "$GLUON_DIR"
make update ${debug:+V=s}
for target in ar71xx-generic ar71xx-nand mpc85xx-generic; do
for target in ar71xx-generic ar71xx-nand mpc85xx-generic x86-generic; do
make clean GLUON_TARGET="$target" ${debug:+V=s}
make -j${proc_num} GLUON_TARGET="$target" ${debug:+V=s}
done
make manifest
cd ..
if [ -n "$KEYFILE" -a -r "$KEYFILE" ]; then
"${GLUON_DIR}/contrib/sign.sh" "$KEYFILE" "${GLUON_DIR}/images/sysupgrade/${GLUON_BRANCH}.manifest"
"${GLUON_DIR}/contrib/sign.sh" "$KEYFILE" "${GLUON_DIR}/images/sysupgrade/${GLUON_BRANCH}.manifest"
fi