-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3625 from klauskiwi/openpower-toolchain-rework
Openpower toolchain rework
- Loading branch information
Showing
31 changed files
with
237 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
22 changes: 22 additions & 0 deletions
22
openpower/package/p8-pore-toolchain-external/p8-pore-toolchain-external.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
23 changes: 23 additions & 0 deletions
23
openpower/package/ppe42-toolchain-external/ppe42-toolchain-external.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.