- Feb 05, 2018
-
-
Eric Le Bihan authored
To test the support for the Rust language, the following tests are added: - building Rust compiler and Cargo from source. - installing a pre-built Rust compiler and building Cargo from source. For each test, a Rust test program is built and installed in the root file system of a ARM vexpress QEMU system. The test is declared OK if the program can be run properly from the test system. Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
Add instructions for adding a package which uses Cargo as build system. [Peter: fix indentation] Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
This new package provides Cargo, the Rust official package manager. Cargo is written in Rust and uses Cargo as its build system. It also depends on other Rust packages. Normally, a previously installed version of Cargo would be used to: 1. Fetch the dependencies. 2. Build the new version of Cargo, using the available Rust compiler. But the fetching step prevents offline builds. So instead two features of Cargo are leveraged: vendoring [1] and local registry. First, a tarball of the build dependencies generated using `cargo vendor` is fetched along with Cargo source code. Then, the build process is as follows: 1. The tarball of the build dependencies is uncompressed in a local registry. 2. A snapshot of Cargo, provided by cargo-bin, builds the final version of Cargo. 3. A configuration file telling Cargo how to cross-compile programs for the target is generated and installed. Currently, only the host variant is provided. [1] https://github.com/alexcrichton/cargo-vendor [Peter: use src.fedoraproject.org, fix comment] Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
Allow build of host variant of libhttpparser. Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
Allow build of host variant of libssh2, which depends on host-openssl. Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
This new package provides rustc, the compiler for the Rust programming language, built from source. Currently, only the host variant is built. The Rust compiler uses LLVM as its backend: a copy of LLVM source code is provided and CMake is used to build it. It is possible to use a pre-built external copy. When LLVM/clang will be available in Buildroot, it would be possible to benefit from this feature and thus decrease build time. LLVM is configured to generate code for x86, ARM, PowerPC and MIPS architectures. The Rust compiler uses Cargo as its build system and is written in Rust. Therefore this package depends on cargo-bin and rust-bin. The internal build process is as follows: 1. stage0 compiler, provided by rust-bin, is used to build stage1 compiler. 2. stage1 compiler builds the final Rust compiler (stage2 compiler) and the standard library for the host architecture. 3. the standard library for the target architecture is built. The target architecture to support is given by the GNU/LLVM target triple. Rust supports some predefined targets [1]. As the build system expects the triple to be in the form of <arch>-unknown-<system> and Buildroot toolchain wrapper uses <arch>-buildroot-<system>, the package Makefile uses $(RUST_TARGET_NAME) defined in the rustc package and uses it instead of $(GNU_TARGET_NAME). When compiling Rust code with this compiler, the generated program only depends on the target C library, as it is statically linked to the Rust standard library and any other code from Rust packages (a.k.a. "crates"). If the jemalloc package is selected, support for this memory allocator will be enabled in the target standard library. The menuconfig entry for rustc is also updated to expose this provider. [1] https://forge.rust-lang.org/platform-support.html Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
This new package fetches a binary version of Cargo, suitable to bootstrap the host variants of the Rust compiler and Cargo, the package manager. Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
This package provides a pre-built version of rustc, the compiler for the Rust programming language, fetched from the upstream project. A pre-built version of the standard library for the host as well as one for the chosen target are also fetched and installed. Only the host variant is provided to allow the user to cross-compile Rust programs and run them on the target. This package could also be used to provide a bootstrap compiler when building Rust from source. So, in order to add it as a build dependency, the compiler and standard libraries are only installed in $(HOST_DIR) if the package is explicitly selected. The menuconfig entry for rustc is also updated to expose this provider. Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Eric Le Bihan authored
The compiler for the Rust programming language is called rustc. There is only one reference implementation for it, based on LLVM, from the Rust project [1]. It can generate code for various architectures so it can be labeled as a cross-compiler. But, as for GCC, building it from source takes time. So it would be sensible to have at least one package which provides it as a pre-built version, fetched from the upstream project. Later another package can be added, to build it from source code. In addition to the compiler, the standard library for the host and/or the target should also be fetched/built. So, add a virtual package named rustc to enable support for multiple providers. Currently, only the host variant will be available to allow the user to cross-compile Rust programs for the target. [1] http://rust-lang.org Signed-off-by:
Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Bernd Kuhls authored
Configure summary without this patch and without alsa-lib built before: Extra tools required for testing and examples : [...] Have ALSA : ................... no and with this patch Extra tools required for testing and examples : [...] Have ALSA : ................... yes Signed-off-by:
Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Fabio Estevam authored
Bump U-Boot to 2018.01 version and kernel to 4.15.1. Signed-off-by:
Fabio Estevam <festevam@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Korsgaard authored
As pointed out by Joel Stanley: https://patchwork.ozlabs.org/patch/863011/ Github now longer provides the exact same tarball for the or1k musl-5.4.0 tarball, breaking the build. Even more, musl-5.4.0 is the name of a git branch, not a tag. Fix both problems by changing to the or1k-musl-5.4.0-20170218 tag, which points to the exact same git commit. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com> Tested-by:
Joel Stanley <joel@jms.id.au> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Thomas Petazzoni authored
This reverts commit 23320259, which causes a lot of build failures. Part of the Python build process tries to use os.replace(), which is only available since Python 3.3. It should work if the host-python being built was used, but unfortunately the system Python ends up being used, causing the build failure. Fixes: http://autobuild.buildroot.net/results/ed95a7ded6bd6c17bd0820b3a96862487b71eb2b/ Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Romain Naour authored
The licence file is in css/ directory. Fixes: http://autobuild.buildroot.net/results/0d4/0d4b9488d1aa80e8d290e4dfe1937c3879eceea4 Signed-off-by:
Romain Naour <romain.naour@gmail.com> Cc: Adam Duskett <aduskett@gmail.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
- Feb 04, 2018
-
-
Peter Korsgaard authored
Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Bernd Kuhls authored
Upstream changed to URL of the source tarball and removed SHA1SUMS. Added license hash. Signed-off-by:
Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Zoltan Gyarmati authored
As in the inital 3.17 version bump patch the iSync config option was not added, the iSync driver was implicitly enabled in the gpsd config as default, and due to a bug in the gpsd build setup, this caused several autobuild issues which are fixed by this. This commit adds both the Buildroot config option and the gpsd patch which was also sent to and accepted in upstream. Fixes: http://autobuild.buildroot.net/results/555b4bdd1707aa21e6d3014e30b635c96c5efffc http://autobuild.buildroot.net/results/cfc14a2c471c63ecc4c95c12b8e00ed7656acfd2 http://autobuild.buildroot.net/results/2104e15526bd6f467f0d56dee10b5fa46e2c71dd http://autobuild.buildroot.net/results/610b3f898b396c1def682b809482408c2c4555bc ... and many more. Signed-off-by:
Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com> Reviewed-by:
Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
Scott Fan authored
According to the following guide: https://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code#iMX_6_Based_Modules_ApalisColibri_iMX6 The official final 2.7 version released at 2018-01-04, see the following link: https://developer.toradex.com/software/linux/linux-software/release-details Signed-off-by:
Scott Fan <fancp2007@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Currently, we refer to the latest version of the image, which means we can't guarantee any reproducibility. Also, it measn we can't have a separate images for the maintenance branches (especially the LTS) and master. Update the comment in the Dockerfile to create and push tagged images. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Since we're now using a specific base image tag, we need to also use a specific, stable repository to get additional packages from for this image. As such, use the Debian snapshot that matches the base image. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
Currently, we are using debian:stable, which is subject to change with time, as new stable versions of Debian are released/updated. Use the latest tagged stable release, stretch-20171210 as of today, as the base distribution to use. This will ease reproducible builds in the future. Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
This image is not built very often, and when it is, it is important to see what's going on, so don't be silent when installing packages from the distro, and since that can take a bit of time it thus serves as progress report... Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Yann E. MORIN authored
The official documentation [0] suggests limiting the number of layers generated from a dockerfile. A layer is created for each RUN (and COPY and ADD) command. But we are only ever interested in the final image, so the intermediate layers are useless to us. Limit the number of RUN commands to limit the number of generated layers. [0] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#minimize-the-number-of-layers Reported-by:
Peter Korsgaard <peter@korsgaard.com> Signed-off-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Danomi Manchego authored
Signed-off-by:
Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Danomi Manchego authored
Signed-off-by:
Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gwenhael Goavec-Merou authored
Fixes line size in Config.in, trailing whitespace after # and empty line Fixes: - https://gitlab.com/buildroot.org/buildroot/-/jobs/50971692 Signed-off-by:
Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
Fixes trailing whitespace after MIT Fixes: - https://gitlab.com/buildroot.org/buildroot/-/jobs/50971692 Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Acked-by:
"Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Adam Duskett authored
If OpenSSL is selected, --enable-openssl-random should be explicitly enabled for consistency with the disable case. [Peter: tweak commit text] Signed-off-by:
Adam Duskett <aduskett@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Carlos Santos authored
Otherwise, explicitly disable it, so that the configure script does not misdetect a system-installed libedit for example. Also, add a profile snippet enabling line editing, Emacs style. [Peter: move DASH_INSTALL_PROFILE inside conditional, ensure /etc/profile.d exists] Change-Id: I68c6dbbafa95e266860329cb9c7ff5519fda5bf8 Signed-off-by:
Carlos Santos <casantos@datacom.ind.br> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Joseph Kogut authored
GConf fails to build when BR2_STATIC_LIBS=y. Fixes: http://autobuild.buildroot.net/results/ad8a9b082006f0334010c9c4dc5a90c2071df121/ Signed-off-by:
Joseph Kogut <joseph.kogut@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Gwenhael Goavec-Merou authored
Remi is a GUI library for Python applications which transpiles an application's interface into HTML to be rendered in a web browser. This removes platform-specific dependencies and lets you easily develop cross-platform applications in Python! https://github.com/dddomodossola/remi/tree/master Signed-off-by:
Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com> Reviewed-by:
Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Pierre CROKAERT authored
Fix gdk-pixbuf broken by host package moved to /lib instead of /usr/lib Regression occured following commit 19ba17ee (Globally replace $(HOST_DIR)/usr/lib with $(HOST_DIR)/lib). The host package loader.cache now refer to $(HOST_DIR)/lib, and the target one should refer to /usr/lib. Fix it by adjusting the sed invocation. [Peter: extend commit message] Signed-off-by:
Pierre CROKAERT <pct@crookies.net> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
- Feb 03, 2018
-
-
Peter Korsgaard authored
These versions are very old and no longer supported according to https://www.kernel.org/category/releases.html , so drop them and add legacy entries. Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Petr Vorel authored
Signed-off-by:
Petr Vorel <petr.vorel@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Petr Vorel authored
handle new dependency to Jansson (since 1.10.0). [Peter: unconditionally disable ovs support as suggested by Thomas] Signed-off-by:
Petr Vorel <petr.vorel@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Peter Seiderer authored
The isc assertions from the bundled bind dns library are using the __FILE__ macro for debug messages (see dhcp-4.3.5/bind/bind-9.9.9-P3/lib/isc/include/isc/assertions.h). Disabling the assertions gains: - reproducible builds (no build time paths in the executable) - space saving on the target: dhcpd: 1.9M -> 1.6M dhcrelay: 1.6M -> 1.3M Signed-off-by:
Peter Seiderer <ps.report@gmx.net> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Fabrice Fontaine authored
safec fork with all C11 Annex K functions This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them. https://rurban.github.io/safeclib/ Signed-off-by:
Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Carlos Santos authored
Signed-off-by:
Carlos Santos <casantos@datacom.ind.br> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-
Andrey Yurovsky authored
Version 1.0.4-5 is no longer available, replace with 1.0.4-6 so ustr can continue to be built. [Peter: use snapshot.debian.org as suggested by Baruch] Signed-off-by:
Andrey Yurovsky <yurovsky@gmail.com> Signed-off-by:
Peter Korsgaard <peter@korsgaard.com>
-