From b905ccdcae196d5ae2b6618fb7fc4138648a927c Mon Sep 17 00:00:00 2001 From: Maurizio D'Addona Date: Sun, 10 Jan 2016 08:22:35 +0100 Subject: [PATCH] Add dependecy checking to the download script --- firmware/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/Makefile b/firmware/Makefile index 9e8e772..b2c8f77 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -21,6 +21,10 @@ all: $(OSX_DRV) @./extract-firmware.sh -x "$(OSX_DRV)" $(OSX_DRV): + @echo "" + @echo "Checking dependencies for driver donwload..." + @which curl xzcat cpio + @echo "" @# Ty to wvengen, see: https://github.com/patjak/bcwc_pcie/issues/14#issuecomment-167446787 @echo "Dowloading the driver, please wait..." @(curl -s -L -r "$(RANGE)" "$(URL)" | xzcat -q | cpio --format odc -i -d "./$(FILE)") &> /dev/null || true