summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-buildroot
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-10-08 20:17:02 +0200
committerPeter Korsgaard <peter@korsgaard.com>2013-10-09 14:29:38 +0200
commit9934630fae4c4649eeb15a8235a810cb9d18038c (patch)
tree8cc7ea8a2d167bcd231583a48a048c4dd10b1ccf /toolchain/toolchain-buildroot
parent8b0905bf2ffa55976c92cdb2f0cf9bdb6c6a6847 (diff)
downloadbuildroot-9934630fae4c4649eeb15a8235a810cb9d18038c.tar.gz
buildroot-9934630fae4c4649eeb15a8235a810cb9d18038c.zip
toolchain-buildroot: convert to the package infrastructure
This commit converts the toolchain-buildroot logic to the package infrastructure. The package is fairly simple as it only defines BUILDROOT_LIBC, and depends on host-gcc-final to get the overall internal toolchain build logic started. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'toolchain/toolchain-buildroot')
-rw-r--r--toolchain/toolchain-buildroot/toolchain-buildroot.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolchain/toolchain-buildroot/toolchain-buildroot.mk b/toolchain/toolchain-buildroot/toolchain-buildroot.mk
new file mode 100644
index 0000000000..ced430e59e
--- /dev/null
+++ b/toolchain/toolchain-buildroot/toolchain-buildroot.mk
@@ -0,0 +1,17 @@
+################################################################################
+#
+# toolchain-buildroot
+#
+################################################################################
+
+TOOLCHAIN_BUILDROOT_SOURCE =
+
+BUILDROOT_LIBC = $(call qstrip,$(BR2_TOOLCHAIN_BUILDROOT_LIBC))
+
+# Trigerring the build of the host-gcc-final will automatically do the
+# build of binutils, uClibc, kernel headers and all the intermediate
+# gcc steps.
+
+TOOLCHAIN_BUILDROOT_DEPENDENCIES = host-gcc-final
+
+$(eval $(generic-package))
OpenPOWER on IntegriCloud