diff --git a/data/scripts/Makefile.am b/data/scripts/Makefile.am index fef882834..3a2732895 100644 --- a/data/scripts/Makefile.am +++ b/data/scripts/Makefile.am @@ -11,6 +11,10 @@ install_DATA += \ backup_flash.sh \ restore_flash.sh endif +if BOXTYPE_ARMBOX +install_DATA += \ + restore_flash.sh +endif install-data-hook: chmod 0755 $(DESTDIR)$(bindir)/backup.sh @@ -21,3 +25,6 @@ if BOXMODEL_CS_HD2 chmod 0755 $(DESTDIR)$(bindir)/backup_flash.sh chmod 0755 $(DESTDIR)$(bindir)/restore_flash.sh endif +if BOXTYPE_ARMBOX + chmod 0755 $(DESTDIR)$(bindir)/restore_flash.sh +endif