diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2013-06-02 16:33:05 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-06-02 16:33:05 +0200 |
commit | 1ba51d2fbddd5650f8caea0a327b9031238ad843 (patch) | |
tree | 05d5df7b487e76597b34cb0b1fc9543525169a62 /package/sunxi-boards/sunxi-boards.mk | |
parent | 0c94aa549cc8cf483bc8c3443a2b1f772d5d180b (diff) | |
parent | fb2f3d58bde6aaac12b62eeb16492c93329b8713 (diff) | |
download | buildroot-novena-1ba51d2fbddd5650f8caea0a327b9031238ad843.tar.gz buildroot-novena-1ba51d2fbddd5650f8caea0a327b9031238ad843.zip |
Merge branch 'next'
Diffstat (limited to 'package/sunxi-boards/sunxi-boards.mk')
-rw-r--r-- | package/sunxi-boards/sunxi-boards.mk | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/sunxi-boards/sunxi-boards.mk b/package/sunxi-boards/sunxi-boards.mk new file mode 100644 index 000000000..38fc3e1fb --- /dev/null +++ b/package/sunxi-boards/sunxi-boards.mk @@ -0,0 +1,28 @@ +############################################################# +# +# sunxi-boards +# +############################################################# + +SUNXI_BOARDS_VERSION = 88d663db44f65b73ef65c4148a28c6fa3665d2b6 +SUNXI_BOARDS_SITE = https://github.com/linux-sunxi/sunxi-boards/tarball/master +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 + +ifeq ($(BR2_PACKAGE_SUNXI_BOARDS),y) +# we NEED a board name +ifeq ($(filter source,$(MAKECMDGOALS)),) +ifeq ($(SUNXI_BOARDS_FEX_FILE),) +$(error No sunxi .fex file specified. Check your BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE settings) +endif +endif +endif + +$(eval $(generic-package)) |