1 ################################################################################
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
22 define XLOADER_INSTALL_IMAGES_CMDS
23 $(INSTALL
) -D
-m
0755 $(@D
)/MLO
$(BINARIES_DIR
)/
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
)