aboutsummaryrefslogtreecommitdiff
path: root/support
Commit message (Collapse)AuthorAgeFilesLines
* package: remove the empty trailing linesGravatar Jerzy Grzegorek2013-09-131-1/+0
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pkg-stats: update set of files to skipGravatar Jerzy Grzegorek2013-09-111-7/+10
| | | | | | | | | In BR sub-directory boot/ linux/ and package/ there are a few .mk files which aren't <package>.mk files. These files shouldn't be taken into account in package statistics. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xzcat: treat as host prerequisite and build if neededGravatar Thomas De Schampheleire2013-09-062-0/+21
| | | | | | | | | | | | | | If xzcat is not present on the host system, buildroot bails out early asking the developer to install it (xzcat is now a DL_TOOLS_DEPENDENCY) Conversely, when BR2_TARGET_ROOTFS_CPIO_XZ is enabled, then host-xz is a build dependency, and no manual action is required from the developer. Because the second approach is nicer, also build host-xz when xzcat is not available, using the host-prerequisite and suitable-host-pkg mechanisms, already used for tar. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Fix build reproducibility in Make 3.82Gravatar Jérôme Pouiller2013-09-061-1/+1
| | | | | | | | | | | | Make 3.82 no longer sort the result of wildcards (see http://comments.gmane.org/gmane.comp.gnu.make.bugs/4260). This may break build reproducibility. This patch sort results of wildcards to ensure reproducibility. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* trivial: remove odd references to 'buildroot2'Gravatar Thomas De Schampheleire2013-09-051-1/+1
| | | | | | | | In the past there may have been a very good reason to refer to 'buildroot2', but these days it's just odd. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* setlocalversion: sync with Linux kernel version (2.6.34)Gravatar Peter Korsgaard2013-09-041-15/+25
| | | | | | | | | | | | | | | Brings a number of fixes, and most importantly no longer tries to figure out if the tree contains uncommitted changes when using svn, as that can be very slow. This only syncs with setlocalversion as of 2.6.34 as later kernel versions aren't directly compatible with our use cases since 09155120c (kbuild: Clean up and speed up the localversion logic). We still have one delta from the kernel version (setlocalversion: fix i18n issue with svn), as that has only later been fixed in the kernel version. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Gravatar Peter Korsgaard2013-08-312-8/+6
|\
| * host-ccache: turn into a proper dependencyGravatar Thomas De Schampheleire2013-08-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch moves the host-ccache build target from BASE_TARGETS in Makefile to an actual host prerequisite in support/dependencies. This causes host-ccache to be built as part of the dependencies, before any real package is built. Since the dependencies are built without ccache anyway, there is no need to set HOST_CCACHE_CONF_ENV anymore. Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * dependencies: build without ccacheGravatar Thomas De Schampheleire2013-08-101-0/+2
| | | | | | | | | | | | | | | | This patch forces the plain host compiler to be used during the building of dependencies, without ccache as it is not yet built. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
| * host-mkpasswd: new packageGravatar Thomas De Schampheleire2013-08-101-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the addition of root password setting support in buildroot, there have been a few bug reports in this area ([1], [2]). In these cases, the system mkpasswd did either not work, or did not provide the options we expect, like -m <method>. This patch adds a mkpasswd host package, based on the sources from whois. When a non-empty root password is set, this package is used as a dependency. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> [1] http://lists.busybox.net/pipermail/buildroot/2013-July/075771.html [2] http://lists.busybox.net/pipermail/buildroot/2013-July/075869.html [Thomas P: use $(INSTALL) instead of install, put -lcrypt at the end of build command line to allow gcc to find the crypt() function in lcrypt.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | gen-manual-lists.py: fixup after 2440385 (config: reorder top-level menu)Gravatar Peter Korsgaard2013-08-301-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | apply-patches: run patch in batch modeGravatar Arnout Vandecappelle2013-08-271-1/+1
|/ | | | | | | | | | | | | | If the file to be patched is missing, then `patch' will interactively ask for a file to be patched. This is annoying in e.g. the autobuilders because they have to wait for a timeout instead of failing. Giving the '-t' (batch mode) option to patch fixes this: it will skip the missing file, and return a non-zero exit code. So the build cleanly fails. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* fix white spacesGravatar Jerzy Grzegorek2013-07-201-1/+1
| | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add 'bc' in the mandatory dependenciesGravatar Thomas Petazzoni2013-07-051-1/+1
| | | | | | | | | | | | | | | Since a few kernel releases, having 'bc' installed is mandatory to build the kernel. See commit https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=70730bca1331fc50c3caacaea00439de1325bd6e of the kernel. Since this tool is generally available by default in distributions, and we're unlikely to see version-specific problems with it, we just check for it to be installed in support/dependencies/dependencies.sh. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove BR2_HAVE_DEVFILESGravatar Thomas Petazzoni2013-07-041-20/+0
| | | | | | | | | | | | This finally removes the BR2_HAVE_DEVFILES option, that was used to install/keep development files on target. With the recent migration of the internal backend to the package infrastructure, we had anyway lost the ability to build gcc for the target, and install the uClibc development files on the target. [Peter: also remove support/scripts/copy.sh] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80 in remaining makefilesGravatar Alexandre Belloni2013-06-201-4/+4
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* apply-patches.sh: ensure a fixed (and simple) sorting order is usedGravatar Peter Korsgaard2013-06-121-0/+3
| | | | | | So we always apply patches in the samme order. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Merge branch 'next'Gravatar Peter Korsgaard2013-06-021-0/+1
|\
| * skeleton: add default login port to /etc/securettyGravatar Tzu-Jung Lee2013-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We ran into a "Login incorrect" problem when running the same rootfs image across platforms with different loging ports ttyS0/1/2/3. Simply assignning "console" to BR2_TARGET_GENERIC_GETTY_PORT, which in turn modifies the /etc/inittab, is not enough because the "console" device was missing in the /etc/securetty. While current securetty has enumerated a lot of ttys, this patch should save some efforts to enumerate more. [Peter: guard with single quotes] Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Remove useless CVS related filesGravatar Thomas Petazzoni2013-05-271-5/+0
| | | | | | | | | | | | | | Fixes bug #5912. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | Revert "dependencies: check that SSL certificates are installed"Gravatar Baruch Siach2013-05-261-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit d66cd067f3dc3d5e2479e1e8c05f24fd82329f7a. SSL certificates are no always installed in /etc/ssl/certs. For example, on CentOS 5.6 the default OpenSSL certificates directory is /etc/pki/tls/certs, and wget can download using https without any problem. Moreover, the existence of /etc/ssl/certs does not guarantee the presence of a CA certificates bundle even on Debian. On my current Debian testing installation the openssl package itself creates an empty /etc/ssl/certs directory. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | graph-depends: ignore the 'target-purgelocales' targetGravatar Danomi Manchego2013-05-161-0/+1
| | | | | | | | | | | | | | | | Otherwise, graph-depends tries to call 'make target-purgelocales-show-depends', which does not exist, as 'target-purgelocales' is not an actual package. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | graph-depends: fix program path in commentGravatar Luca Ceresoli2013-05-151-1/+1
| | | | | | | | | | | | Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* | graph-depends: ignore the 'target-generic-dont-remount-rw' targetGravatar Luca Ceresoli2013-05-151-0/+1
|/ | | | | | | | | | | The graph-depends script tries to call 'make target-generic-dont-remount-rw', which doesn't exist since 'target-generic-dont-remount-rw' is not a package. See also the comments for commit 72bd61e5b8c2094378. Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* arc: Add arc, arcbe to gnuconfigGravatar Mischa Jonker2013-05-041-2/+2
| | | | | Signed-off-by: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support/scripts: add gen-manual-lists.pyGravatar Samuel Martin2013-05-041-0/+379
| | | | | | | | | | | Script generating the target and host package tables, and the deprecated stuff list as well. These tables and lists are generated parsing the Config.in files. Signed-off-by: Samuel Martin <s.martin49@gmail.com> [yann.morin.1998@free.fr: no leading dot, no menu path for host-utils] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support: add kconfiglib python moduleGravatar Samuel Martin2013-05-042-0/+3802
| | | | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> [yann.morin.1998@free.fr: rename readme so it is obvious it's about kconfiglib] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: add ability for packages to create usersGravatar Yann E. MORIN2013-04-251-0/+409
| | | | | | | | | | | | | | | | Packages that install daemons may need those daemons to run as a non-root, or an otherwise non-system (eg. 'daemon'), user. Add infrastructure for packages to create users, by declaring the FOO_USERS variable that contain a makedev-syntax-like description of the user(s) to add. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Samuel Martin <s.martin49@gmail.com> Cc: Cam Hutchison <camh@xdna.net> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support/kconfig: use kconfig-provided way of setting the CONFIG_ prefixGravatar Yann E. MORIN2013-04-2110-205/+54
| | | | | | | | | | | | | | It's now been a while since it has been possible to build the kconfig parser to understand a prefix other than CONFIG_, and even no prefix at all, by setting the CONFIG_ macro (#define) at biuld time. Just use that, insted of patching, it will make it easier for us in the future. Our patches have been refreshed at the same time. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support/kconfig: upgrade to 3.9-rc2Gravatar Thomas Petazzoni2013-04-1147-1248/+2076
| | | | | | | | | | | | | | | | | Our kconfig code is updated to the version of kernel 3.9-rc2. No major issues during the migration, except: * Some conflicts when applying 03-change-config-option-prefix.patch due to upstream kernel changes. * The need of adding a new patch, 15-fix-qconf-moc-rule.patch, to fix the make rule that generates the moc file for the Qt-based interface. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* apply-patches.sh: applying xz-ed patchesGravatar Jerzy Grzegorek2013-03-261-2/+4
| | | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> [yann.morin.1998@free.fr: space-damage] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: check that SSL certificates are installedGravatar Thomas Petazzoni2013-03-241-0/+9
| | | | | | | | | | | Some packages are hosted on https:// servers, and wget only works on these if the SSL certificates are installed. For example, downloading the kernel sources from kernel.org requires those SSL certificates to be installed. [Peter: fix typo] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: check that a full perl installation is availableGravatar Thomas Petazzoni2013-03-241-0/+8
| | | | | | | | | | The host-autoconf build process requires a full Perl installation, or at least a Perl installation that has the Data::Dumper module installed. On a basic Debian system, only 'perl-base' is installed, but Data::Dumper is in the 'perl' package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: test all programs before bailing outGravatar Thomas Petazzoni2013-03-241-1/+6
| | | | | | | | | The current dependencies code abort as soon as one program is missing. It is quite annoying when multiple programs are missing. Instead, bail out if needed after testing all programs. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: add details about which distro package to installGravatar Thomas Petazzoni2013-03-241-1/+7
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: remove useless newlinesGravatar Thomas Petazzoni2013-03-241-4/+2
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* dependencies: remove a few useless mandatory dependenciesGravatar Thomas Petazzoni2013-03-241-6/+2
| | | | | | | | | | | | | awk, bison, flex, makeinfo, gettext should be built as dependencies of packages when needed. In practice, even the toolchain build doesn't need any of these, and only a few packages do require them. It is not needed to list gzip and bzip2 since they are already checked through ${DL_TOOLS}: whenever a package needs gzip or bzip2 for its extraction, the dependency is added. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* graph-depends: ignore the 'target-post-image' targetGravatar Thomas Petazzoni2013-03-061-0/+1
| | | | | | | | | | | | Since the introduction of the post-image mechanism, the graph-depends script is broken: it tries to call 'make target-post-image-show-depends', which doesn't exist since 'target-post-image' is not a package. So we should simply ignore this 'target-post-image'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package/customize: removeGravatar Thomas Petazzoni2013-02-081-1/+0
| | | | | | | | | | | | This mechanism of root filesystem customization has been deprecated since a long time, so let's remove it now. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* eclipse support: document script and add checksGravatar Thomas Petazzoni2013-01-141-0/+48
| | | | | | | | | | As requested by Peter, add a bit of documentation in the eclipse-register-toolchain script, and add a few more checks (even though this script is not intended to be executed manually, which is also now mentionned in the documentation). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Integration with Buildroot Toolchain Eclipse pluginGravatar Thomas Petazzoni2013-01-141-0/+28
| | | | | | | | | | | | | | | | | | The Eclipse plugin at https://github.com/mbats/eclipse-buildroot-toolchain-plugin allows users of Eclipse to easily use the toolchain available in Buildroot. To do so, this plugin reads ~/.buildroot-eclipse.toolchains, which contains the list of Buildroot toolchains available on the system, and then offer those toolchains to compile Eclipse projects. In order to interface with this plugin, this commit adds an option that allows the user to tell whether (s)he wants the Buildroot project toolchain to be visible under this Eclipse plugin. It simply adds a line in this ~/.buildroot-eclipse.toolchains file. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support/dependencies: use newly-introduced BUILDROOT_CONFIGGravatar Yann E. MORIN2013-01-132-6/+5
| | | | | | | No need to recreate a path we already have. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Infrastructure to warn the user about missing 32 bits librariesGravatar Thomas Petazzoni2013-01-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many users trying to use external toolchains on x86-64 machines get a very confusing message: "Can't execute cross-compiler" They get this message because they forgot to install the 32 bits compatibility libraries that are needed to run binaries compiled for x86 on x86-64 machines. Since this is the case for both external toolchains and certain binary-only tools like SAM-BA, we add a new Kconfig option BR2_HOSTARCH_NEEDS_IA32_LIBS, that packages must select if they need the 32 bits compatibility libraries. When this option is enabled, dependencies.sh checks that the 32 bits dynamic library loader is present on the system, and if not, it stops and shows an error. The path and name of the 32 bits dynamic loader is hardcoded because it is very unlikely to change, as it would break the ABI for all binaries. Also, it is worth noting that the check will be done even if we're running on a 32 bits machine. This is harmless, as 32 bits machines necessarily have the 32 bits dynamic loader installed, so the error will never show up in this case. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* xorg-release: ignore some X.org packagesGravatar Thomas Petazzoni2013-01-051-0/+11
| | | | | | | | | | | | | | | | Following Gustavo's removal of two X.org drivers for old hardware unlikely to be used in embedded contexts, the xorg-release script now reports those two X.org packages as "to be added": they exist in X.org, but not in Buildroot. So, we add a small list, XORG_EXCEPTIONS, in our xorg-release script, to list the X.org packages we don't want to hear about. Of course, packages that exist in X.org, and that are not part of this exception list, and are not packaged in Buildroot are still listed as "to be added". Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* support/scripts: add xorg-release.py scriptGravatar Thomas Petazzoni2013-01-051-0/+165
| | | | | | | | | | | This script generates a report on the packaging status of X.org releases in Buildroot. It does so by downloading the list of tarballs that are part of a given X.org release, and compare that with the packages that are available in Buildroot. [Peter: drop .py suffix, make executable] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* graph-depends: add to exclusion listGravatar Yann E. MORIN2013-01-021-0/+1
| | | | | | | | | | | | | | | | Add the root-password internal target to the exclusion list. Fixes failures like: Getting dependencies for [... 'target-root-passwd' ...] Error getting dependencies [... 'target-root-passwd' ...] Which is easily singled out with: $ make target-root-passwd-show-depends make[1]: *** No rule to make target `target-root-passwd-show-depends'. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* graph-depends: remove support for "unknown" packagesGravatar Thomas Petazzoni2013-01-021-12/+1
| | | | | | | | | | | | The "unknown" packages mechanism was used to render packages that did not implement the make <pkg>-show-depends target, i.e the packages that were not yet converted to one of the package infrastructures. Since now all packages have been converted, we can remove this "unknown" packages feature. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* graph-depends: update copyrightGravatar Thomas Petazzoni2013-01-021-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* graph-depends: fix commentGravatar Thomas Petazzoni2013-01-021-5/+0
| | | | | | | | Since 9bc7b1d4ae694b818f941410d1ff59316a2bba6e, all X.org .mk files are parsed unconditionally, even if BR2_PACKAGE_XORG7 is disabled. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* graph-depends: optimize execution speedGravatar Thomas Petazzoni2013-01-021-45/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | Until now, graph-depends was calling "make <pkg>-show-depends" individually for eack package, which was very slow. Now, it calls "make <pkg1>-show-depends <pkg2>-show-depends ... <pkgN>-show-depends" for all packages it knows, and then does that recursively. It reduces the number of make invocations to the deepest dependency chain in the current configuration, instead of having a number of make invocations equal to the number of enabled packages. For a configuration with xvkbd enabled (which brings a significant number of X.org dependencies) and a tar root filesystem, the time to execute graph-depends was: real 5m14.944s user 4m53.590s sys 0m14.069s After our optimizations, it is now: real 0m33.096s user 0m30.878s sys 0m1.472s Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>