- data: unify and simplify Makefiles

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-05-01 18:15:30 +02:00
committed by Thilo Graf
parent b3b7ac5c3e
commit 9ff0df9d8b
5 changed files with 44 additions and 51 deletions

View File

@@ -1,11 +1,17 @@
installdir = $(bindir)
install_DATA = \
install_SCRIPTS = \
backup.sh \
restore.sh \
install.sh
install-data-hook:
chmod 0755 $(DESTDIR)$(bindir)/backup.sh
chmod 0755 $(DESTDIR)$(bindir)/restore.sh
chmod 0755 $(DESTDIR)$(bindir)/install.sh
if BOXMODEL_CS_HD2
install_SCRIPTS += \
backup_flash.sh \
restore_flash.sh
endif
if BOXTYPE_ARMBOX
install_SCRIPTS += \
restore_flash.sh
endif