From e12142fde1def7d531214eca75656d62d1fe8976 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Tue, 15 Mar 2011 10:19:52 -0500 Subject: [PATCH] add ti-connectivity firmware from linux-firmware git tree, should eventuall get all firmware from it.. Signed-off-by: Robert Nelson --- mk_mmc.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mk_mmc.sh b/mk_mmc.sh index ebaaaec..3a32e47 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -207,6 +207,16 @@ if [ "${FIRMWARE}" ] ; then echo "Downloading Firmware" echo "" +if ls ${DIR}/dl/linux-firmware/.git/ >/dev/null 2>&1;then + cd ${DIR}/dl/linux-firmware + git pull + cd - +else + cd ${DIR}/dl/ + git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git + cd - +fi + case "$DIST" in maverick) rm -f ${TEMPDIR}/dl/index.html || true @@ -289,6 +299,7 @@ case "$DIST" in sudo dpkg -x ${DIR}/dl/${DIST}/${MAVERICK_FW} ${TEMPDIR}/initrd-tree sudo dpkg -x ${DIR}/dl/${DIST}/${MAVERICK_NONF_FW} ${TEMPDIR}/initrd-tree sudo cp -v ${DIR}/dl/${DIST}/${AR9170_FW} ${TEMPDIR}/initrd-tree/lib/firmware/ + sudo cp -vr ${DIR}/dl/linux-firmware/ti-connectivity ${TEMPDIR}/initrd-tree/lib/firmware/ ;; squeeze) #from: http://packages.debian.org/source/squeeze/firmware-nonfree @@ -297,6 +308,7 @@ case "$DIST" in sudo dpkg -x ${DIR}/dl/${DIST}/${LIBERTAS_FW} ${TEMPDIR}/initrd-tree sudo dpkg -x ${DIR}/dl/${DIST}/${ZD1211_FW} ${TEMPDIR}/initrd-tree sudo cp -v ${DIR}/dl/${DIST}/${AR9170_FW} ${TEMPDIR}/initrd-tree/lib/firmware/ + sudo cp -vr ${DIR}/dl/linux-firmware/ti-connectivity ${TEMPDIR}/initrd-tree/lib/firmware/ ;; esac