Create virtual packages for OpenPower toolchain
Create a "toolchain" category, plus "p8-pore-toolchain" and
"ppe42-toolchain" virtual-packages, with the goal of lowering the
coupling between these toolchain and target packages.
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
diff --git a/openpower/toolchain/Config.in b/openpower/toolchain/Config.in
new file mode 100644
index 0000000..dc5b205
--- /dev/null
+++ b/openpower/toolchain/Config.in
@@ -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
diff --git a/openpower/toolchain/p8-pore-toolchain/Config.in b/openpower/toolchain/p8-pore-toolchain/Config.in
new file mode 100644
index 0000000..40dd48d
--- /dev/null
+++ b/openpower/toolchain/p8-pore-toolchain/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_P8_PORE_TOOLCHAIN
+ bool
+
+config BR2_PACKAGE_PROVIDES_P8_PORE_TOOLCHAIN
+ depends on BR2_PACKAGE_HAS_P8_PORE_TOOLCHAIN
+ string
diff --git a/openpower/toolchain/p8-pore-toolchain/p8-pore-toolchain.mk b/openpower/toolchain/p8-pore-toolchain/p8-pore-toolchain.mk
new file mode 100644
index 0000000..b618004
--- /dev/null
+++ b/openpower/toolchain/p8-pore-toolchain/p8-pore-toolchain.mk
@@ -0,0 +1,7 @@
+################################################################################
+#
+# p8-pore-toolchain
+#
+################################################################################
+
+$(eval $(host-virtual-package))
diff --git a/openpower/toolchain/ppe42-toolchain/Config.in b/openpower/toolchain/ppe42-toolchain/Config.in
new file mode 100644
index 0000000..baf4375
--- /dev/null
+++ b/openpower/toolchain/ppe42-toolchain/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
+ bool
+
+config BR2_PACKAGE_PROVIDES_PPE42_TOOLCHAIN
+ depends on BR2_PACKAGE_HAS_PPE42_TOOLCHAIN
+ string
diff --git a/openpower/toolchain/ppe42-toolchain/ppe42-toolchain.mk b/openpower/toolchain/ppe42-toolchain/ppe42-toolchain.mk
new file mode 100644
index 0000000..f841657
--- /dev/null
+++ b/openpower/toolchain/ppe42-toolchain/ppe42-toolchain.mk
@@ -0,0 +1,7 @@
+################################################################################
+#
+# ppe42-toolchain
+#
+################################################################################
+
+$(eval $(host-virtual-package))