Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 1 | ################################################################################ |
| 2 | # |
| 3 | # hostboot |
| 4 | # |
| 5 | ################################################################################ |
| 6 | |
Patrick Williams | 50595fa | 2014-07-22 14:05:52 -0500 | [diff] [blame^] | 7 | HOSTBOOT_VERSION = 31615f402551eaa9d77b94d2c79ed5110e825e85 |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 8 | HOSTBOOT_SITE = $(call github,open-power,hostboot,$(HOSTBOOT_VERSION)) |
| 9 | HOSTBOOT_LICENSE = Apache-2.0 |
| 10 | HOSTBOOT_DEPENDENCIES = host-binutils |
| 11 | |
| 12 | HOSTBOOT_INSTALL_IMAGES = YES |
| 13 | HOSTBOOT_INSTALL_TARGET = NO |
| 14 | |
| 15 | HOSTBOOT_ENV_VARS=$(TARGET_MAKE_ENV) \ |
| 16 | CONFIG_FILE=$(BR2_EXTERNAL)/configs/hostboot/$(BR2_HOSTBOOT_CONFIG_FILE) \ |
| 17 | OPENPOWER_BUILD=1 CROSS_PREFIX=$(TARGET_CROSS) HOST_PREFIX="" HOST_BINUTILS_DIR=$(HOST_BINUTILS_DIR) |
| 18 | |
| 19 | define HOSTBOOT_BUILD_CMDS |
Brian Silver | 6a3264f | 2014-07-07 13:04:22 -0500 | [diff] [blame] | 20 | $(HOSTBOOT_ENV_VARS) bash -c 'cd $(@D) && source ./env.bash && $(MAKE)' |
Bill Hoffa | 5f93f1d | 2014-06-26 21:02:48 -0500 | [diff] [blame] | 21 | endef |
| 22 | |
| 23 | define HOSTBOOT_INSTALL_IMAGES_CMDS |
| 24 | cd $(@D) && $(@D)/src/build/tools/hbDistribute --openpower $(STAGING_DIR)/hostboot_build_images/ |
| 25 | endef |
| 26 | |
| 27 | $(eval $(generic-package)) |