blob: 4ced88411ed72583b7241e9e066ab479e83b403b [file] [log] [blame]
Jan Kundrátfc16f062018-08-09 19:58:55 +02001define CZECHLIGHT_CLEARFOG_LEDS_INSTALL_TARGET_CMDS
2 mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
3 $(INSTALL) -D -m 0644 \
4 $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-clearfog-leds/czechlight-clearfog-leds.service \
5 $(TARGET_DIR)/usr/lib/systemd/system/
6 ln -sf ../czechlight-clearfog-leds.service $(TARGET_DIR)/usr/lib/systemd/system/multi-user.target.wants/
Jan Kundrát55fb0642020-03-27 18:44:19 +01007 cp \
8 $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-clearfog-leds/clearfog-test-leds.sh \
9 $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-clearfog-leds/init-leds-edfa.sh \
10 $(BR2_EXTERNAL_CZECHLIGHT_PATH)/package/czechlight-clearfog-leds/init-leds-sfp.sh \
Jan Kundrát288f6af2018-09-21 14:58:04 +020011 $(TARGET_DIR)/usr/bin/
Jan Kundrátfc16f062018-08-09 19:58:55 +020012endef
13
14$(eval $(generic-package))