Skip to content

Commit

Permalink
Merge pull request #3625 from klauskiwi/openpower-toolchain-rework
Browse files Browse the repository at this point in the history
Openpower toolchain rework
  • Loading branch information
Klaus Heinrich Kiwi committed May 25, 2020
2 parents f4a4e3f + b64ca28 commit 96d42f7
Show file tree
Hide file tree
Showing 31 changed files with 237 additions and 24 deletions.
33 changes: 33 additions & 0 deletions ci/build-all-defconfigs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ function get_major_release
echo -n "${major}"
}

function sha1sum_dir
{
echo -n "$(find $1 -type f -print0 | sort -z | xargs -0 sha1sum | sed -e 's/ .*//' | tr -d '[:space:]' | sha1sum | sed -e 's/ .*//')"
}

function build_sdk
{
# $1 is the defconfig
Expand Down Expand Up @@ -100,6 +105,16 @@ function build_sdk
--disable ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV \
--enable INSTALL_LIBSTDCPP

# Enable toolchains we'll need to be built as part of the SDK, and make sure we
# consider them to make the sdk unique
buildroot/utils/config --file $SDK_BUILD_DIR/.config --package \
--enable P8_PORE_TOOLCHAIN --enable HOST_P8_PORE_BINUTILS \
--enable PPE42_TOOLCHAIN --enable HOST_PPE42_GCC --enable HOST_PPE42_BINUTILS

HASH_PROPERTIES="$HASH_PROPERTIES $(sha1sum_dir openpower/package/p8-pore-binutils/)"
HASH_PROPERTIES="$HASH_PROPERTIES $(sha1sum_dir openpower/package/ppe42-gcc/)"
HASH_PROPERTIES="$HASH_PROPERTIES $(sha1sum_dir openpower/package/ppe42-binutils/)"

# As we are disabling BR2_LINUX_KERNEL, capture Kernel version if any
# to prevent it from defaulting to the last on olddefconfig
KERNEL_VER=$(buildroot/utils/config --file $SDK_BUILD_DIR/.config --state LINUX_KERNEL_CUSTOM_VERSION_VALUE)
Expand Down Expand Up @@ -250,6 +265,24 @@ for i in ${DEFCONFIGS[@]}; do
buildroot/utils/config --file $O/.config --enable TOOLCHAIN_EXTERNAL_CXX
fi

# Our SDK will always have p8-pore-toolchain enabled, but
# only use it if we require it
P8_PORE_REQUIRED=$(buildroot/utils/config --file $O/.config --package --state P8_PORE_TOOLCHAIN)
if [ "$P8_PORE_REQUIRED" = "y" ]; then
buildroot/utils/config --file $O/.config --enable PACKAGE_P8_PORE_TOOLCHAIN_EXTERNAL \
--set-str P8_PORE_TOOLCHAIN_EXTERNAL_PATH $SDK_DIR/host
fi

# Our SDK will always have ppe42-toolchain enabled, but
# only use it if we require it
PPE42_REQUIRED=$(buildroot/utils/config --file $O/.config --package --state PPE42_TOOLCHAIN)
if [ "$PPE42_REQUIRED" = "y" ]; then
buildroot/utils/config --file $O/.config --enable PACKAGE_PPE42_TOOLCHAIN_EXTERNAL \
--set-str PPE42_TOOLCHAIN_EXTERNAL_PATH $SDK_DIR/host
fi



# The Kernel Headers requested MUST be the same as the one
# provided by the SDK (i.e., it's part of the hash)
HEADERS_VER=$(buildroot/utils/config --file $O/.config --state TOOLCHAIN_HEADERS_AT_LEAST)
Expand Down
1 change: 1 addition & 0 deletions openpower/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
menu "OpenPower"

source "$BR2_EXTERNAL_OP_BUILD_PATH/platform/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/toolchain/Config.in"

menu "OpenPower Packages"
if BR2_OPENPOWER_PLATFORM
Expand Down
2 changes: 1 addition & 1 deletion openpower/configs/firenze_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_XZ=y
BR2_OPENPOWER_PLATFORM=y
BR2_OPENPOWER_POWER8=y
# BR2_PACKAGE_P8_PORE_TOOLCHAIN is not set
# BR2_PACKAGE_HOSTBOOT_P8 is not set
# BR2_PACKAGE_HOSTBOOT_BINARIES is not set
# BR2_PACKAGE_MACHINE_XML is not set
# BR2_PACKAGE_OPENPOWER_PNOR is not set
BR2_OPENPOWER_CONFIG_NAME="openpower-firenze"
BR2_PACKAGE_PETITBOOT=y
BR2_PACKAGE_PETITBOOT_MTD=y
# BR2_PACKAGE_HOST_P8_PORE_BINUTILS is not set
# BR2_PACKAGE_CAPP_UCODE is not set
BR2_PACKAGE_LOADKEYS=y
# BR2_PACKAGE_IMA_CATALOG is not set
3 changes: 1 addition & 2 deletions openpower/configs/opal_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ BR2_TARGET_ROOTFS_CPIO_XZ=y
BR2_TARGET_ROOTFS_INITRAMFS=y
BR2_OPENPOWER_PLATFORM=y
BR2_OPENPOWER_POWER8=y
# BR2_PACKAGE_P8_PORE_TOOLCHAIN is not set
# BR2_PACKAGE_HOST_OPENPOWER_FFS is not set
# BR2_PACKAGE_HOSTBOOT_P8 is not set
# BR2_PACKAGE_HOSTBOOT_BINARIES is not set
Expand All @@ -51,8 +52,6 @@ BR2_OPENPOWER_POWER8=y
BR2_OPENPOWER_CONFIG_NAME="opal"
BR2_PACKAGE_PETITBOOT=y
BR2_PACKAGE_PETITBOOT_MTD=y
# BR2_PACKAGE_HOST_P8_PORE_BINUTILS is not set
# BR2_PACKAGE_OCC_P8 is not set
# BR2_PACKAGE_CAPP_UCODE is not set
BR2_SKIBOOT_DEVICETREE=y
# BR2_PACKAGE_IMA_CATALOG is not set
2 changes: 1 addition & 1 deletion openpower/configs/pseries_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_XZ=y
BR2_OPENPOWER_PLATFORM=y
BR2_OPENPOWER_POWER8=y
# BR2_PACKAGE_P8_PORE_TOOLCHAIN is not set
# BR2_PACKAGE_HOSTBOOT_P8 is not set
# BR2_PACKAGE_HOSTBOOT_BINARIES is not set
# BR2_PACKAGE_MACHINE_XML is not set
# BR2_PACKAGE_OPENPOWER_PNOR is not set
BR2_OPENPOWER_CONFIG_NAME="openpower-firenze"
BR2_PACKAGE_PETITBOOT=y
BR2_PACKAGE_PETITBOOT_MTD=y
# BR2_PACKAGE_HOST_P8_PORE_BINUTILS is not set
# BR2_PACKAGE_CAPP_UCODE is not set
BR2_PACKAGE_LOADKEYS=y
# BR2_PACKAGE_IMA_CATALOG is not set
5 changes: 1 addition & 4 deletions openpower/configs/zz_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_XZ=y
BR2_OPENPOWER_PLATFORM=y
BR2_OPENPOWER_POWER9=y
# BR2_PACKAGE_PPE42_TOOLCHAIN is not set
# BR2_PACKAGE_HOST_OPENPOWER_FFS is not set
# BR2_PACKAGE_HOSTBOOT is not set
# BR2_PACKAGE_HOSTBOOT_BINARIES is not set
Expand All @@ -54,11 +55,7 @@ BR2_OPENPOWER_CONFIG_NAME="openpower-firenze"
# BR2_TARGET_SKIBOOT_XZ is not set
BR2_PACKAGE_PETITBOOT=y
BR2_PACKAGE_PETITBOOT_MTD=y
# BR2_PACKAGE_HCODE is not set
# BR2_PACKAGE_OCC is not set
# BR2_PACKAGE_CAPP_UCODE is not set
BR2_PACKAGE_LOADKEYS=y
# BR2_PACKAGE_HOST_PPE42_BINUTILS is not set
# BR2_PACKAGE_HOST_PPE42_GCC is not set
# BR2_PACKAGE_IMA_CATALOG is not set
# BR2_PACKAGE_HOST_SB_SIGNING_UTILS is not set
4 changes: 4 additions & 0 deletions openpower/external.mk
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# OpenPower Toolchain
include $(sort $(wildcard $(BR2_EXTERNAL_OP_BUILD_PATH)/toolchain/*/*.mk))

# OpenPower Packages
include $(sort $(wildcard $(BR2_EXTERNAL_OP_BUILD_PATH)/package/*.mk))
include $(sort $(wildcard $(BR2_EXTERNAL_OP_BUILD_PATH)/package/*/*.mk))

Expand Down
3 changes: 0 additions & 3 deletions openpower/package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ source "$BR2_EXTERNAL_OP_BUILD_PATH/package/common-p8-xml/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/machine-xml/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/openpower-pnor/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/petitboot/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/p8-pore-binutils/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/hcode/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/occ/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/occ-p8/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/capp-ucode/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/skiboot/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/libflash/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/loadkeys/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/ppe42-binutils/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/ppe42-gcc/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/ima-catalog/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/sbe/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/package/sb-signing-utils/Config.in"
Expand Down
1 change: 1 addition & 0 deletions openpower/package/hcode/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config BR2_PACKAGE_HCODE
bool "hcode"
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
depends on BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
select BR2_CPP
help
Project to build the hcode firmware codebase
Expand Down
2 changes: 1 addition & 1 deletion openpower/package/hcode/hcode.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HCODE_LICENSE = Apache-2.0
HCODE_INSTALL_IMAGES = YES
HCODE_INSTALL_TARGET = NO

HCODE_DEPENDENCIES = host-binutils host-ppe42-gcc hostboot-binaries
HCODE_DEPENDENCIES = host-binutils host-ppe42-toolchain hostboot-binaries

HW_IMAGE_BIN_PATH=output/images/hw_image
HW_IMAGE_BIN=p9n.hw_image.bin
Expand Down
1 change: 1 addition & 0 deletions openpower/package/occ-p8/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config BR2_PACKAGE_OCC_P8
bool "OCC for P8"
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER8)
depends on BR2_PACKAGE_HAS_P8_PORE_TOOLCHAIN
select BR2_CPP
help
Project to build OCC
Expand Down
2 changes: 1 addition & 1 deletion openpower/package/occ-p8/occ-p8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ OCC_P8_INSTALL_TARGET = NO
OCC_P8_STAGING_DIR = $(STAGING_DIR)/occ

OCC_P8_IMAGE_BIN_PATH = src/image.bin
OCC_P8_DEPENDENCIES = host-binutils host-p8-pore-binutils
OCC_P8_DEPENDENCIES = host-binutils host-p8-pore-toolchain

define OCC_P8_BUILD_CMDS
cd $(@D)/src && \
Expand Down
1 change: 1 addition & 0 deletions openpower/package/occ/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config BR2_PACKAGE_OCC
bool "OCC (POWER9)"
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
depends on BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
select BR2_CPP
help
Project to build OCC
Expand Down
2 changes: 1 addition & 1 deletion openpower/package/occ/occ.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ OCC_STAGING_DIR = $(STAGING_DIR)/occ

OCC_IMAGE_BIN_PATH = obj/image.bin

OCC_DEPENDENCIES = host-binutils host-ppe42-gcc
OCC_DEPENDENCIES = host-binutils host-ppe42-toolchain
ifeq ($(BR2_OCC_GPU_BIN_BUILD),y)
OCC_DEPENDENCIES += hostboot-binaries
endif
Expand Down
7 changes: 6 additions & 1 deletion openpower/package/p8-pore-binutils/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
config BR2_PACKAGE_HOST_P8_PORE_BINUTILS
bool "p8-pore-binutils"
default y if (BR2_OPENPOWER_POWER8)
select BR2_PACKAGE_HAS_P8_PORE_TOOLCHAIN
select BR2_CPP
help
Project to build the P8 PORE binutils

if BR2_PACKAGE_HOST_P8_PORE_BINUTILS
config BR2_PACKAGE_PROVIDES_P8_PORE_TOOLCHAIN
default "p8-pore-binutils"
endif
5 changes: 3 additions & 2 deletions openpower/package/p8-pore-binutils/p8-pore-binutils.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ P8_PORE_BINUTILS_VERSION ?= 91069b732e4c253055cd94fff6ad179116563df9
P8_PORE_BINUTILS_SITE ?= $(call github,open-power,p8-pore-binutils,$(P8_PORE_BINUTILS_VERSION))
P8_PORE_BINUTILS_LICENSE = GPLv3+
P8_PORE_BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB
P8_PORE_BINUTILS_PROVIDES = p8-pore-toolchain
HOST_P8_PORE_BINUTILS_DEPENDENCIES = host-binutils

P8_PORE_BINUTILS_DIR = $(STAGING_DIR)/p8-pore-binutils
P8_PORE_BINUTILS_BIN = $(STAGING_DIR)/p8-pore-binutils/linux
P8_PORE_BINUTILS_DIR = $(HOST_DIR)/$(P8_PORE_TOOLCHAIN_DIR)
P8_PORE_BINUTILS_BIN = $(HOST_DIR)/$(P8_PORE_TOOLCHAIN_BIN)

define HOST_P8_PORE_BINUTILS_BUILD_CMDS
cd $(@D) && \
Expand Down
19 changes: 19 additions & 0 deletions openpower/package/p8-pore-toolchain-external/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
config BR2_PACKAGE_P8_PORE_TOOLCHAIN_EXTERNAL
bool "p8-pore-toolchain-external"
select BR2_PACKAGE_HAS_P8_PORE_TOOLCHAIN
help
Use an external P8 PORE toolchain

if BR2_PACKAGE_P8_PORE_TOOLCHAIN_EXTERNAL
config BR2_PACKAGE_PROVIDES_P8_PORE_TOOLCHAIN
default "p8-pore-toolchain-external"

config BR2_P8_PORE_TOOLCHAIN_EXTERNAL_PATH
string "External P8 PORE toolchain path"
help
Pathname to where the external P8 PORE toolchain
is installed. The binutils are expected to be
fully contained within the
"sysroot/p8-pore-toolchain" directory
endif

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
################################################################################
#
# p8-pore-toolchain-external
#
################################################################################
P8_PORE_TOOLCHAIN_EXTERNAL_REDISTRIBUTE = NO
P8_PORE_TOOLCHAIN_EXTERNAL_SITE =
P8_PORE_TOOLCHAIN_EXTERNAL_SOURCE =
P8_PORE_TOOLCHAIN_EXTERNAL_PROVIDES = p8-pore-toolchain
P8_PORE_TOOLCHAIN_EXTERNAL_PATH = \
$(call qstrip,$(BR2_P8_PORE_TOOLCHAIN_EXTERNAL_PATH))/$(P8_PORE_TOOLCHAIN_DIR)

define HOST_P8_PORE_TOOLCHAIN_EXTERNAL_CONFIGURE_CMDS
test -e $(P8_PORE_TOOLCHAIN_EXTERNAL_PATH)
endef

define HOST_P8_PORE_TOOLCHAIN_EXTERNAL_INSTALL_CMDS
ln -snf $(P8_PORE_TOOLCHAIN_EXTERNAL_PATH) $(HOST_DIR)/$(P8_PORE_TOOLCHAIN_DIR)

endef

$(eval $(host-generic-package))
1 change: 0 additions & 1 deletion openpower/package/ppe42-binutils/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
config BR2_PACKAGE_HOST_PPE42_BINUTILS
bool "ppe42-binutils"
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
select BR2_CPP
help
Project to build the PPE42 PORE binutils
4 changes: 2 additions & 2 deletions openpower/package/ppe42-binutils/ppe42-binutils.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ PPE42_BINUTILS_LICENSE = GPLv3+

PPE42_BINUTILS_DEPENDENCIES = host-binutils

PPE42_BINUTILS_DIR = $(STAGING_DIR)/ppe42-binutils
PPE42_BINUTILS_BIN = $(STAGING_DIR)/ppe42-binutils/linux
PPE42_BINUTILS_DIR = $(HOST_DIR)/$(PPE42_TOOLCHAIN_DIR)
PPE42_BINUTILS_BIN = $(HOST_DIR)/$(PPE42_TOOLCHAIN_BIN)

define HOST_PPE42_BINUTILS_BUILD_CMDS
cd $(@D) && \
Expand Down
8 changes: 7 additions & 1 deletion openpower/package/ppe42-gcc/Config.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
config BR2_PACKAGE_HOST_PPE42_GCC
bool "ppe42-gcc"
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
select BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
select BR2_PACKAGE_PPE42_BINUTILS
select BR2_CPP
help
Project to build the PPE42 gcc

if BR2_PACKAGE_HOST_PPE42_GCC
config BR2_PACKAGE_PROVIDES_PPE42_TOOLCHAIN
default "ppe42-gcc"
endif
5 changes: 3 additions & 2 deletions openpower/package/ppe42-gcc/ppe42-gcc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ PPE42_GCC_LICENSE = GPLv3+

PPE42_GCC_DEPENDENCIES = ppe42-binutils gmp mpfr mpc
HOST_PPE42_GCC_DEPENDENCIES = host-ppe42-binutils host-gmp host-mpfr host-mpc
PPE42_GCC_PROVIDES = ppe42-toolchain

PPE42_GCC_DIR = $(STAGING_DIR)/ppe42-binutils
PPE42_GCC_BIN = $(STAGING_DIR)/ppe42-binutils/linux
PPE42_GCC_DIR = $(HOST_DIR)/$(PPE42_TOOLCHAIN_DIR)
PPE42_GCC_BIN = $(HOST_DIR)/$(PPE42_TOOLCHAIN_BIN)

define HOST_PPE42_GCC_BUILD_CMDS
cd $(@D) && \
Expand Down
18 changes: 18 additions & 0 deletions openpower/package/ppe42-toolchain-external/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
config BR2_PACKAGE_PPE42_TOOLCHAIN_EXTERNAL
bool "ppe42-toolchain-external"
select BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
help
Use an external PPE42 toolchain

if BR2_PACKAGE_PPE42_TOOLCHAIN_EXTERNAL
config BR2_PACKAGE_PROVIDES_PPE42_TOOLCHAIN
default "ppe42-toolchain-external"

config BR2_PPE42_TOOLCHAIN_EXTERNAL_PATH
string "External PPE42 toolchain path"
help
Pathname to where the external PPE42 toolchain is
installed. The compiler is expected to be fully
contained within the "sysroot/ppe42-toolchain"
directory
endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
################################################################################
#
# ppe42-toolchain-external
#
################################################################################
PPE42_TOOLCHAIN_EXTERNAL_REDISTRIBUTE = NO
PPE42_TOOLCHAIN_EXTERNAL_SITE =
PPE42_TOOLCHAIN_EXTERNAL_SOURCE =
PPE42_TOOLCHAIN_EXTERNAL_PROVIDES = ppe42-toolchain
PPE42_TOOLCHAIN_EXTERNAL_PATH = \
$(call qstrip,$(BR2_PPE42_TOOLCHAIN_EXTERNAL_PATH))/$(PPE42_TOOLCHAIN_DIR)

define HOST_PPE42_TOOLCHAIN_EXTERNAL_CONFIGURE_CMDS
test -e $(PPE42_TOOLCHAIN_EXTERNAL_PATH)
endef

define HOST_PPE42_TOOLCHAIN_EXTERNAL_INSTALL_CMDS
ln -snf $(PPE42_TOOLCHAIN_EXTERNAL_PATH) $(HOST_DIR)/$(PPE42_TOOLCHAIN_DIR)

endef

$(eval $(host-generic-package))

1 change: 1 addition & 0 deletions openpower/package/sbe/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ config BR2_PACKAGE_SBE
default y if (BR2_OPENPOWER_PLATFORM && BR2_OPENPOWER_POWER9)
select BR2_CPP
depends on BR2_PACKAGE_HCODE
depends on BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
help
Project to build the sbe firmware codebase

Expand Down
2 changes: 1 addition & 1 deletion openpower/package/sbe/sbe.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SBE_VERSION = $(call qstrip,$(BR2_SBE_VERSION))
SBE_SITE = $(call github,open-power,sbe,$(SBE_VERSION))

SBE_LICENSE = Apache-2.0
SBE_DEPENDENCIES = host-ppe42-gcc hcode
SBE_DEPENDENCIES = host-ppe42-toolchain hcode

SBE_INSTALL_IMAGES = YES
SBE_INSTALL_TARGET = NO
Expand Down
6 changes: 6 additions & 0 deletions openpower/toolchain/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
menu "OpenPower Toolchain"

source "$BR2_EXTERNAL_OP_BUILD_PATH/toolchain/ppe42-toolchain/Config.in"
source "$BR2_EXTERNAL_OP_BUILD_PATH/toolchain/p8-pore-toolchain/Config.in"

endmenu

0 comments on commit 96d42f7

Please sign in to comment.