smartflash needs to run as root.

This commit is contained in:
Stefan `Sec` Zehl 2012-01-26 22:45:17 +01:00
parent f6dc1f793d
commit e99b549531
1 changed files with 13 additions and 6 deletions

View File

@ -1,9 +1,16 @@
dwim: build setup
default: build setup
all: dwim run
all: build setup run
build:
cd ../../firmware && make clean && make && make l0dables
redo: rebuild setup run
build: cleanbuild rebuild
cleanbuild:
cd ../../firmware && make clean
rebuild:
cd ../../firmware && make && make l0dables
setup:
cp ../../firmware/firmware.bin .
@ -18,10 +25,10 @@ setup:
cd ../crypto && make clean && make generate-keys
cp ../crypto/generate-keys .
@echo
@echo Now run ./smartflash
@echo "Now run ./smartflash (as root)"
run:
./smartflash
sudo ./smartflash
clean:
rm -f firmware.bin generate-keys