2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-05-26 14:08:22 +02:00
|
|
|
#
|
|
|
|
# sunxi-boards
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-05-26 14:08:22 +02:00
|
|
|
|
2015-06-19 21:13:21 +02:00
|
|
|
SUNXI_BOARDS_VERSION = a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
|
2013-12-05 18:20:46 +01:00
|
|
|
SUNXI_BOARDS_SITE = $(call github,linux-sunxi,sunxi-boards,$(SUNXI_BOARDS_VERSION))
|
2013-05-26 14:08:22 +02:00
|
|
|
SUNXI_BOARDS_DEPENDENCIES = host-sunxi-tools
|
|
|
|
SUNXI_BOARDS_INSTALL_IMAGES = YES
|
|
|
|
SUNXI_BOARDS_INSTALL_TARGET = NO
|
|
|
|
SUNXI_BOARDS_FEX_FILE = $(call qstrip,$(BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE))
|
|
|
|
|
|
|
|
define SUNXI_BOARDS_INSTALL_IMAGES_CMDS
|
|
|
|
$(FEX2BIN) $(@D)/sys_config/$(SUNXI_BOARDS_FEX_FILE) \
|
|
|
|
$(BINARIES_DIR)/script.bin
|
|
|
|
endef
|
|
|
|
|
2015-04-26 11:51:15 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_SUNXI_BOARDS)$(BR_BUILDING),yy)
|
2013-05-26 14:08:22 +02:00
|
|
|
# we NEED a board name
|
|
|
|
ifeq ($(SUNXI_BOARDS_FEX_FILE),)
|
|
|
|
$(error No sunxi .fex file specified. Check your BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE settings)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|