mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 14:03:29 +08:00
af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
33 lines
963 B
Makefile
33 lines
963 B
Makefile
################################################################################
|
|
#
|
|
# x-loader
|
|
#
|
|
################################################################################
|
|
|
|
XLOADER_VERSION = 6f3a26101303051e0f91b6213735b68ce804e94e
|
|
XLOADER_SITE = git://gitorious.org/x-loader/x-loader.git
|
|
XLOADER_BOARD_NAME = $(call qstrip,$(BR2_TARGET_XLOADER_BOARDNAME))
|
|
|
|
XLOADER_LICENSE = GPL-2.0+
|
|
XLOADER_LICENSE_FILES = README
|
|
|
|
XLOADER_INSTALL_IMAGES = YES
|
|
|
|
define XLOADER_BUILD_CMDS
|
|
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) $(XLOADER_BOARD_NAME)_config
|
|
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) all
|
|
$(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) ift
|
|
endef
|
|
|
|
define XLOADER_INSTALL_IMAGES_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/MLO $(BINARIES_DIR)/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|
|
|
|
ifeq ($(BR2_TARGET_XLOADER)$(BR_BUILDING),yy)
|
|
ifeq ($(XLOADER_BOARD_NAME),)
|
|
$(error NO x-loader board name set. Check your BR2_BOOT_XLOADER_BOARDNAME setting)
|
|
endif
|
|
endif
|