Skip to content
  1. Sep 22, 2016
    • Thomas Petazzoni's avatar
      DEVELOPERS: change developer for gst1-rtsp-server · 48f39ce0
      Thomas Petazzoni authored
      
      
      Piotr Nakraszewicz no longer works at Imgtec, and Abhilash Tuse
      volunteered to take care of this package.
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      48f39ce0
    • Thomas Petazzoni's avatar
      DEVELOPERS: add entries for recently added/modified code · 64cfd4d9
      Thomas Petazzoni authored
      
      
      This commit updates the DEVELOPERS files with packages or defconfigs
      recently added, plus additional entries for developers who have modified
      packages they are usually taking care of.
      
      Cc: Christian Stewart <christian@paral.in>
      Cc: Cyril Bur <cyrilbur@gmail.com>
      Cc: Danomi Manchego <danomimanchego123@gmail.com>
      Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
      Cc: Fabio Estevam <festevam@gmail.com>
      Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
      Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
      Cc: Luca Ceresoli <luca@lucaceresoli.net>
      Cc: Manuel Vögele <develop@manuel-voegele.de>
      Cc: Mathieu Audat <mathieu.audat@savoirfairelinux.com>
      Cc: Peter Korsgaard <peter@korsgaard.com>
      Cc: Peter Seiderer <ps.report@gmx.net>
      Cc: Piotr Nakraszewicz <piotr.nakraszewicz@imgtec.com>
      Cc: Romain Perier <romain.perier@free-electrons.com>
      Cc: Theo Debrouwere <t.debrouwere@televic.com>
      Cc: Yann E. MORIN <yann.morin.1998@free.fr>
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Reviewed-by: default avatarLuca Ceresoli <luca@lucaceresoli.net>
      Acked-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
      Acked-by: default avatarPeter Seiderer <ps.report@gmx.net>
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      64cfd4d9
    • Thomas Petazzoni's avatar
      linux-tools: fix include path · affaea4b
      Thomas Petazzoni authored
      
      
      The .mk files in linux-tools are named linux-tool-*.mk, not
      linux-ext-*.mk.
      
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      affaea4b
    • Yann E. MORIN's avatar
      docs/manual: update the linux tools section · 73a64016
      Yann E. MORIN authored
      
      
      Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Romain Naour <romain.naour@openwide.fr>
      [Thomas:
       - Adjust the Config.in example to show that we now need to "select
         BR2_PACKAGE_LINUX_TOOLS"
       - Adjust the .mk file example to use $(LINUX_DIR) instead of $(@D)]
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      73a64016
    • Yann E. MORIN's avatar
      linux/tools: make it a real, separate package · 20b14466
      Yann E. MORIN authored
      The kernel source tree also contains the sources for various userland
      tools, of which cpupower, perf or selftests.
      
      Currently, we have support for building those tools as part of the
      kernel build procedure. This looked the correct thing to do so far,
      because, well, they *are* part of the kernel source tree and some
      really have to be the same version as the kernel that will run.
      
      However, this is causing quite a non-trivial-to-break circular
      dependency in some configurations. For example, this defconfig fails to
      build (similar to the one reported by Paul):
      
          BR2_arm=y
          BR2_cortex_a7=y
          BR2_ARM_FPU_NEON_VFPV4=y
          BR2_TOOLCHAIN_EXTERNAL=y
          BR2_INIT_SYSTEMD=y
          BR2_LINUX_KERNEL=y
          BR2_LINUX_KERNEL_CUSTOM_GIT=y
          BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux.git
      
      "
          BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="26f3b72a9c049be10e6af196252283e1f6ab9d1f"
          BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
          BR2_PACKAGE_LINUX_TOOLS_CPUPOWER=y
          BR2_PACKAGE_CRYPTODEV=y
          BR2_PACKAGE_OPENSSL=y
          BR2_PACKAGE_LIBCURL=y
      
      This causes a circular dependency, as explained by Thomas:
      
       - When libcurl is enabled, systemd depends on it
      
       - When OpenSSL is enabled, obviously, will use it for SSL support
      
       - When cryptodev-linux is enabled, OpenSSL will depend on it to use
         crypto accelerators supported in the kernel via cryptodev-linux.
      
       - cryptodev-linux being a kernel module, it depends on linux
      
       - linux by itself (the kernel) does not depend on pciutils, but the
         linux tool "cpupower" (managed in linux-tool-cpupower) depends on
         pciutils
      
       - pciutils depends on udev when available
      
       - udev is provided by systemd.
      
      And indeed, during the build, we can see that make warns (it's only
      reported as a *warning*, not as an actual error):
      
          [...]
          make[1]: Circular /home/ymorin/dev/buildroot/O/build/openssl-1.0.2h/.stamp_configured
          <- cryptodev-linux dependency dropped.
          >>> openssl 1.0.2h Downloading
          [...]
      
      So the build fails later on, when openssl is actually built:
      
          eng_cryptodev.c:57:31: fatal error: crypto/cryptodev.h: No such file or directory
          compilation terminated.
          <builtin>: recipe for target 'eng_cryptodev.o' failed
      
      Furthermore, graph-depends also detects the circular dependency, but
      treats it as a hard-error:
      
          Recursion detected for  : cryptodev-linux
          which is a dependency of: openssl
          which is a dependency of: libcurl
          which is a dependency of: systemd
          which is a dependency of: udev
          which is a dependency of: pciutils
          which is a dependency of: linux
          which is a dependency of: cryptodev-linux
          Makefile:738: recipe for target 'graph-depends' failed
      
      Of course, there is no way to break the loop without losing
      functionality in either one of the involved packages *and* keep
      our infrastructure and packages as-is.
      
      The only solution is to break the loop at the linux-tools level, by
      moving them away into their own package, so that the linux package will
      no longer have the opportunity to depend on another package via a
      dependency of one the tools.
      
      All three linux tools are thus moved away to their own package.
      
      The package infrastructure only knows of three types of packages: those
      in package/ , in boot/ , in toolchain/ and the one in linux/ . So we
      create that new linux-tools package in package/ so that we don't have to
      fiddle with yet another special case in the infra. Still, we want its
      configure options to appear in the kernel's sub-menu.
      
      So, we make it a prompt-less package, with only the tools visible as
      options of that package, but without the usual dependency on their
      master symbol; they only depend on the Linux kernel.
      
      Furthermore, because the kernel is such a huge pile of code, we would
      not be very happy to extract it a second time just for the sake of a few
      tools. We can't extract only the tools/ sub-directory from the kernel
      source either, because some tools have hard-coded path to includes from
      the kernel (arch and stuff).
      
      Instead, we just use the linux source tree as our own build tree, and
      ensure the linux tree is extracted and patched before linux-tools is
      configured and built.
      
      Signed-off-by: default avatar"Yann E. MORIN" <yann.morin.1998@free.fr>
      Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: Paul Ashford <paul.ashford@zurria.co.uk>
      [Thomas:
       - fix typo #(@D) -> $(@D)
       - fix the inclusion of the per-tool .mk files.]
      Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      20b14466
  2. Sep 21, 2016
  3. Sep 20, 2016
Loading