Skip to content

Commit

Permalink
ayufan: dev.mk: add deploy target
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan committed Aug 26, 2019
1 parent 9df89e0 commit 95f6152
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev.mk
Expand Up @@ -21,3 +21,8 @@ $(filter tmp/rkbin/%, $(BL31) $(UBOOT_TPL) $(UBOOT_SPL) $(LOADER_BIN)):
mkdir -p $$(dirname "$@")
curl --fail -L https://github.com/ayufan-rock64/rkbin/raw/master/$(subst tmp/rkbin/,,$@) > $@.tmp
mv $@.tmp $@

deploy: u-boot-package
scp u-boot-rockchip-$(BOARD_TARGET)-$(RELEASE_NAME).deb root@$(TARGET_HOST):
ssh root@$(TARGET_HOST) apt install ./u-boot-rockchip-$(BOARD_TARGET)-$(RELEASE_NAME).deb
ssh root@$(TARGET_HOST) rock64_upgrade_bootloader.sh

0 comments on commit 95f6152

Please sign in to comment.