python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / boot / xloader / xloader.mk
blobc68dc81a520c4305973f8980b413844f1b2278c4
1 ################################################################################
3 # x-loader
5 ################################################################################
7 XLOADER_VERSION = 6f3a26101303051e0f91b6213735b68ce804e94e
8 XLOADER_SITE = git://gitorious.org/x-loader/x-loader.git
9 XLOADER_BOARD_NAME = $(call qstrip,$(BR2_TARGET_XLOADER_BOARDNAME))
11 XLOADER_LICENSE = GPLv2+
12 XLOADER_LICENSE_FILES = README
14 XLOADER_INSTALL_IMAGES = YES
16 define XLOADER_BUILD_CMDS
17 $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) $(XLOADER_BOARD_NAME)_config
18 $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) all
19 $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) ift
20 endef
22 define XLOADER_INSTALL_IMAGES_CMDS
23 $(INSTALL) -D -m 0755 $(@D)/MLO $(BINARIES_DIR)/
24 endef
26 $(eval $(generic-package))
28 ifeq ($(BR2_TARGET_XLOADER)$(BR_BUILDING),yy)
29 ifeq ($(XLOADER_BOARD_NAME),)
30 $(error NO x-loader board name set. Check your BR2_BOOT_XLOADER_BOARDNAME setting)
31 endif
32 endif