firmware/general/package/majestic-hi3516cv300/majestic-hi3516cv300.mk

29 lines
1.0 KiB
Makefile
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

################################################################################
#
# majestic-hi3516cv300
#
################################################################################
MAJESTIC_HI3516CV300_VERSION = current
MAJESTIC_HI3516CV300_SOURCE = majestic.hi3516cv300.lite.master.tar.bz2
MAJESTIC_HI3516CV300_SITE = https://openipc.s3-eu-west-1.amazonaws.com
MAJESTIC_HI3516CV300_LICENSE = MIT
MAJESTIC_HI3516CV300_LICENSE_FILES = LICENSE
ifeq ($(BR2_PACKAGE_MAJESTIC_ULTIMATE),y)
MAJESTIC_HI3516СV300_SOURCE = majestic.hi3516сv300.ultimate.master.tar.bz2
else
MAJESTIC_HI3516СV300_SOURCE = majestic.hi3516сv300.lite.master.tar.bz2
endif
define MAJESTIC_HI3516CV300_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 -d $(TARGET_DIR)/etc
$(INSTALL) -m 644 $(@D)/majestic-mini.yaml $(TARGET_DIR)/etc/majestic.yaml
$(INSTALL) -m 644 $(@D)/majestic.yaml $(TARGET_DIR)/etc/majestic.full
$(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin
$(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/majestic
endef
$(eval $(generic-package))