Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildroot 2013.11 #70

Open
wants to merge 6,872 commits into
base: master
Choose a base branch
from
Open

Buildroot 2013.11 #70

wants to merge 6,872 commits into from

Conversation

dgburr
Copy link

@dgburr dgburr commented Mar 2, 2014

Hi davilla,

This branch updates buildroot for XIOS devices to the 2013.11 release. I have only tested it on an M3 but I have attempted port the changes to the M1 when necessary. This branch also includes a number of small fixes that were required in order to make it possible for me to build your repository on my machine (e.g. fixes for autopoint and libusb-config).

I have been using a build from this branch on my own device without any problems for the last few days but there are a number of features which I have not tested because I have no need for them (the two which immediately spring to mind are QT and wpa_supplicant).

The dgburr:buildroot-2013.11 branch contains what I consider to be the bare minimum changes required to use the updated version of buildroot. I have been experimenting with some other updates in the dgburr:master branch (e.g. updating XBMC to 12.3 Frodo) that might be useful to push upstream in the future.

tpetazzoni and others added 30 commits November 4, 2013 21:56
The libnl configure script has a --{enable,disable}-cli options that
allows to enable or disable the compilation of the libnl tools. Use
this option instead of compiling everything and then removing the
installed programs.

Note that we also get rid of the uninstall command, which is planned
to be globally removed in Buildroot.

Signed-off-by: Thomas Petazzoni <[email protected]>
Acked-by: "Yann E. MORIN" <[email protected]>
Reviewed-by: Samuel Martin <[email protected]>
Building the libnl tools requires the <dlfcn.h> header, which is not
compatible with static only builds. Therefore, this commit makes the
libnl tools option depend on !BR2_PREFER_STATIC_LIB.

Fixes:

   http://autobuild.buildroot.org/results/573/57340b9bd2db3a523836e02e01cba6f7c17c8ca7/build-end.log

[Peter: fix tools comment dependency]
Signed-off-by: Thomas Petazzoni <[email protected]>
Acked-by: "Yann E. MORIN" <[email protected]>
Acked-by: Samuel Martin <[email protected]>
dhcpcd fails to build on non-MMU platforms, even with the
--disable-fork option:

  bind.o: In function `_daemonise':
  bind.c:(.text+0x62): undefined reference to `_fork'
  collect2: ld returned 1 exit status

Therefore, we make dhcpcd depend on MMU support, and remove the
non-MMU condition in the .mk file. More recent versions of dhcpcd do
support non-MMU properly, but this commit intends to be only a fix.

Signed-off-by: Thomas Petazzoni <[email protected]>
Acked-by: "Yann E. MORIN" <[email protected]>
Acked-by: Samuel Martin <[email protected]>
Enable demo mode for netperf to activates a global "-D" <interval> option.
This option will display interim results at least every time interval.

Signed-off-by: Kelvin Cheung <[email protected]>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
http://autobuild.buildroot.net/results/e3244abc550a95eb69e63b8db203f39b27f3288e/

Turns out omniorb isn't building because of an old cross compile patch.
The last patchset was missing the delete.

Signed-off-by: Matt Weber <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
WebKit has some architecture specific support, and therefore is not
necessarily available for all architectures. Make sure the Qt WebKit
option cannot be selected on those architectures that are not
supported.

Signed-off-by: Thomas Petazzoni <[email protected]>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
The libsigsegv configure step fails to correctly figure out the direction of
stack growth for avr32. This leads to a zero STACK_DIRECTION definition, and
build failures such as the following.

  http://autobuild.buildroot.net/results/a3fe938f9376533b4777d79deb7a2ee83ed5ce33

Signed-off-by: Simon Dawson <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
On avr32, dropwatch needs libiberty to avoid build failures such as

  http://autobuild.buildroot.net/results/cd5/cd5e22fb5c9b0fc5d396bc85a5e253a1a65054da/

Also test built on ARM.

[Peter: pass TARGET_LDFLAGS as well, append -lintl in gettext case]
Signed-off-by: Simon Dawson <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Also tweak the kernel and buildroot config for basic WiFi support.
And fetch the ASoC patches for builtin audio.

Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Further fixes for de-interlacing.

Signed-off-by: "Yann E. MORIN" <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Fixes for camera features (exposure, capture loop, shutter speed),
h264 encoding headers, EXIF thumbnails.

Signed-off-by: "Yann E. MORIN" <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: "Yann E. MORIN" <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
This bump to allign with the tzdata bump in previous commit.

Signed-off-by: "Yann E. MORIN" <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
This is the list needed to run the Linaro pre-built toolchain
on a 64-bit Ubuntu 13.10 system.

Signed-off-by: Frank Hunleth <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Romain Naour <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
cURL's homepage is curl.haxx.se and not curl.haxx.nu

Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
* The PID file is not created unless the '-m' option is passed to
  start-stop-daemon.

* Remove the mark '-m 0' option as it's not supported by busybox's
  syslogd.

* Syslogd and Klogd forks to background by default giving as a result
  that the pid stored in the PID file is not correct. Let the
  background job be done by 'start-stop-daemon' by passing '-n'
  (foreground) to the daemons and '-b' to start-stop-daemon. This
  way the pid stored in the PID files is correct.

Signed-off-by: Javier Viguera <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Fixes a memory leak in RSA blinding.

Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Gustavo Zacarias <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
As suggested by Alexander Lukichev and Thomas Petazzoni on the mailing list,
only one of the two avr32 microarchitectures is relevant for Buildroot:
avr32 Linux implies the avr32b microarchitecure, as used in the ap7000.

Signed-off-by: Simon Dawson <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
jacmet and others added 30 commits November 30, 2013 09:50
Signed-off-by: Peter Korsgaard <[email protected]>
Release 2011.11

Conflicts:
	fs/Config.in
	linux/linux.mk
	package/Config.in
	package/Makefile.package.in
	package/avahi/avahi.mk
	package/busybox/busybox.mk
	package/dbus/dbus.mk
	package/e2fsprogs/Config.in
	package/e2fsprogs/e2fsprogs.mk
	package/fakeroot/fakeroot.mk
	package/iproute2/iproute2.mk
	package/jpeg/jpeg.mk
	package/makedevs/makedevs.mk
	package/ntfs-3g/ntfs-3g.mk
	package/ntp/ntp.mk
	package/proftpd/proftpd.mk
	package/python/python-2.7-013-fix-linux-3-compilation.patch
	package/qt/Config.in
	package/qt/qt.mk
	package/sdl/sdl.mk
	package/sdl_image/sdl_image.mk
	package/tiff/tiff.mk
	package/udev/Config.in
	package/udev/S10udev
	package/udev/udev.mk
	package/usbmount/Config.in
	package/usbmount/usbmount-rules-fix.patch
	package/usbmount/usbmount.mk
	package/util-linux/Config.in
	package/util-linux/util-linux-uclibc-build-fix.patch
	package/util-linux/util-linux.mk
	package/wpa_supplicant/wpa_supplicant.mk
* The defconfig files now use the BR2_LINUX_KERNEL_CUSTOM_GIT* functionality and specify busybox 1.18 (1.17 doesn't get enabled by default since it now requires BR2_DEPRECATED).  Also reordered some keys in order to match the match the order of the generated .config file.
* Restore include files which got merged out
* Restore fake 'cp' target since it differs from the new 'file' target ('cp' creates a tarball, 'file' copies a pre-existing one)
* Remove duplicate patches for e2fsprogs and usbmount
* Change lirc and recovery_aml to use 'linux' instead of 'linux26'
* Restore host rules which got merged out
* Restore libjpeg-turbo in place of libjpeg
* Add patch from https://bugzilla.libsdl.org/show_bug.cgi?id=1769 to allow the host version of SDL to compile with recent xorg headers.  This patch was committed upstream to the 1.2 branch on 2013-06-06 but the most recent 1.2 release appears to be 1.2.15 (2012-01-20).
* Run autogen.sh in order to get updated configure script
Remove the third party 'samba30' package and switch xbmc to use the mainline 'samba' package instead.  The samba30 package was not copying the libsmbclient.so.0 symlink into the target and so xbmc could not start.
libamcodec.so should be a relative link, not absolute
The host version of autopoint was being used because AUTOPOINT is
not defined, leading to build failures such as this (with util-linux
2.20.1):

autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using
autopoint: *** Stop.
Fix compilation of the lirc package in cases where
the build host has a different version of libusb-config
…dy-2011.11

Conflicts:
	configs/amlogic_xios_m3-xbmc_defconfig
Fix xios-skin package: it seems that newer versions of buildroot require
that the package name matches the directory name
Buildroot 2011.11 provides packages for bluez_utils and yajl so the
thirdparty versions need to be removed
Conflicts:
	package/connman/S45connman
	package/connman/connman.mk
	package/iproute2/iproute2.mk
	package/jpeg/jpeg.mk
	package/ntfs-3g/ntfs-3g.mk
	package/pkg-gentargets.mk
	package/proftpd/proftpd.mk
	package/tiff/tiff.mk
	package/udev/Config.in
	package/udev/udev.mk
	toolchain/toolchain-common.in
	toolchain/toolchain-external/ext-tool.mk
Conflicts:
	package/connman/S45connman
	package/connman/connman.mk
	package/iproute2/iproute2.mk
	package/jpeg/jpeg.mk
	package/ntfs-3g/ntfs-3g.mk
	package/pkg-gentargets.mk
	package/proftpd/proftpd.mk
	package/tiff/tiff.mk
	package/udev/Config.in
	package/udev/udev.mk
	toolchain/toolchain-common.in
	toolchain/toolchain-external/ext-tool.mk
* Buildroot 2012.05 provides a package for boost so remove the thirdparty version
* BR2_KERNEL_MIRROR is supposed to point to kernel.org, not github
* Add m4-1.4.16-no-gets.patch
* Regenerate udev patches against udev-182
* toolchainfile.cmake is now generated in $(HOST_DIR)/usr/share/buildroot/
* Remove sdl-fix__XGetRequest_undefined.patch because it is now included upstream
* Host version of sdl needs a host version of alsa-lib
* Build static host version of libpython
If the toolchain is changed then binutils may have a different prefix
The previous versions of GDB and Busybox no longer exist on buildroot
2012.05
Conflicts:
	Config.in
	Makefile
	linux/linux.mk
	package/alsa-lib/alsa-lib.mk
	package/hostapd/hostapd.mk
	package/sdl/sdl.mk
	package/sdl_image/sdl_image.mk
	package/tiff/tiff.mk
	package/wpa_supplicant/wpa_supplicant.mk
	system/skeleton/etc/resolv.conf
* Switch to custom toolchain since BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1 has been removed but the kernel does not appear to work with anything else
* Use generic-package instead of GENTARGETS in thirdparty packages
* Use autotools-package instead of AUTOTARGETS in thirdparty packages
* Use cmake-package instead of CMAKETARGETS in thirdparty packages
* Don't use explicitly named sourceforge mirrors because BR2_SOURCEFORGE_MIRROR was eliminated in 2012.08
Conflicts:
	.gitignore
	fs/Config.in
	linux/linux.mk
	package/Config.in
	package/avahi/busybox-udhcpc-default.script
	package/jpeg/jpeg.mk
	package/mysql_client/Config.in
	package/pkg-download.mk
	package/proftpd/proftpd.mk
	package/qt/qt.mk
	package/sdl/sdl.mk
	package/sdl_image/sdl_image.mk
	package/wpa_supplicant/wpa_supplicant.mk
	toolchain/gdb/Config.in
* Remove dbus-1-glib-fix-marshalling-regression.patch since it is now included upstream
* Remove m4-1.4.15-fgets.patch since it is now included upstream
* Remove usbmount-use-udev-environment-instead-of-blkid.patch because it would make the usbmount-0001-if-devinfo-is-empty-ensure-variable-is-empty.patch and usbmount-0003-usbmount-use-fs-label-as-mount-point.patch patches redundant
* Fix qt-4.7.4-simplegl.patch after update to QT 4.8.5
* Remove third party packages (libcec, libssh2, tvheadend) to prevent them from clashing with the mainline versions
* depmod moved from /usr/sbin to /sbin
* Use jpeg-turbo package
Adapt changeset 51eb0ad497e3009789be017a75eb5370c7d78c24f for the M1
Changeset 81f69d7 incorrectly removed BR2_PACKAGE_UTIL_LINUX_MOUNT.  We also need to define BR2_PACKAGE_UTIL_LINUX_BINARIES for it to be selectable.
Changeset 8156575 incorrectly removed the BR2_EXT_TOOL_DIRS_EXTRA functionality, which meant that /usr/lib/gconv and /usr/share/zoneinfo were not being copied to the target.
Newer versions of buildroot provide the tzdata package to copy the time zone data, so we don't need to use BR2_EXT_TOOL_DIRS_EXTRA to copy /usr/share/zoneinfo
The tzdata package does not copy the zone.tab file that xbmc uses.
This reverts commit 1df7dda.
udev 174 and later creates the control socket in /run/udev/control so we need to add /run to our skeleton filesystem
* Restore usbmount-use-udev-environment-instead-of-blkid.patch (incorrectly removed in 81f69d7)
* Remove usbmount-0001-if-devinfo-is-empty-ensure-variable-is-empty.patch because usbmount-use-udev-environment-instead-of-blkid.patch makes it redundant
* Update usbmount-0003-usbmount-use-fs-label-as-mount-point.patch to use udev environment instead of blkid
* Put scripts in /etc/usbmount/[u]mount.d instead of /etc/usbmount/usbmount.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.