package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / sunxi-boards / sunxi-boards.mk
blob83b3842caa935e8768444972fc71f9e130da0405
1 ################################################################################
3 # sunxi-boards
5 ################################################################################
7 SUNXI_BOARDS_VERSION = a6a4e94066f4ec6b26fc7060dc453a6bcf26a504
8 SUNXI_BOARDS_SITE = $(call github,linux-sunxi,sunxi-boards,$(SUNXI_BOARDS_VERSION))
9 SUNXI_BOARDS_DEPENDENCIES = host-sunxi-tools
10 SUNXI_BOARDS_INSTALL_IMAGES = YES
11 SUNXI_BOARDS_INSTALL_TARGET = NO
12 SUNXI_BOARDS_FEX_FILE = $(call qstrip,$(BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE))
14 define SUNXI_BOARDS_INSTALL_IMAGES_CMDS
15 $(FEX2BIN) $(@D)/sys_config/$(SUNXI_BOARDS_FEX_FILE) \
16 $(BINARIES_DIR)/script.bin
17 endef
19 ifeq ($(BR2_PACKAGE_SUNXI_BOARDS)$(BR_BUILDING),yy)
20 # we NEED a board name
21 ifeq ($(SUNXI_BOARDS_FEX_FILE),)
22 $(error No sunxi .fex file specified. Check your BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE settings)
23 endif
24 endif
26 $(eval $(generic-package))