summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: ensure system is built even if no filesystem image is selectedThomas Petazzoni2014-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The parallel build patch series has significantly reworked how some of the core dependencies are expressed. We now have the following dependencies: all: world world: target-post-image target-post-image: $(TARGETS_ROOTFS) with TARGETS_ROOTFS containing the list of root filesystem image targets, each having the following dependencies: $$(BINARIES_DIR)/rootfs.$(1): target-finalize $$(ROOTFS_$(2)_DEPENDENCIES) The bottom line is that the "target-finalize" target, which in turns ensures that all packages are built, is only triggered if at least one filesystem image is enabled. As we want to support builds with no filesystem image selected, this is not acceptable. As a fix, we change the target-post-image target to: target-post-image: $(TARGETS_ROOTFS) target-finalize This way, target-finalize will be triggered even if TARGETS_ROOTFS is empty. This is still correct for parallel build, as the individual root filesystem image targets still depend on target-finalize. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Fabio Porcedda <fabio.porcedda@gmail.com>
* Merge branch 'next'Peter Korsgaard2014-02-281-17/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile package/dmraid/Config.in package/gdb/Config.in.host package/linux-headers/linux-headers.mk package/python/python.mk package/python3/python3.mk package/rt-tests/Config.in package/sdl/sdl.mk package/systemd/systemd-01-fix-getty-unit.patch package/systemd/systemd-02-fix-page-size.patch package/systemd/systemd-03-uclibc-fix.patch package/udev/Config.in package/udisks/Config.in package/vlc/vlc.mk system/Config.in Quite some merge conflicts, hopefully I didn't screw up anything. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * Makefile: fix target-finalize ruleFabio Porcedda2014-02-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug introduced by the commit a24877586a566e052897e50e6a0c2f53cfb029f5 (Makefile: add support for top-level parallel make). That commit put a new rule inside the target-finalize rule so it was erroneously splitted in two parts. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * core: remove .py/.pyc for PythonThomas Petazzoni2014-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The main Buildroot Makefile was removing *.py or *.pyc if Python 2 was enabled, but for Python 3, this action was taken care of by a post install target hook of python3.mk, which means it wouldn't work with external modules (the .py/.pyc removal would be done before external Python modules are installed). We fix this by making the global *.py/*.pyc removal in the main Makefile work for both Python 2 and Python 3. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * Makefile: update comment about top-level parallel MakefileFabio Porcedda2014-02-141-1/+14
| | | | | | | | | | | | | | | | | | After the latest patches top-level parallel Makefile is working but there is still an issue when a package has an unspecified optional dependency so change the comment to explain that. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * Makefile: add support for top-level parallel makeFabio Porcedda2014-02-141-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to use top-level parallel make we must not depend in a rule on the order of evaluation of the prerequisites, so instead of relyng on the left to right ordering of evaluation of the prerequisites add an explicit rule to describe the dependencies. Add explicit rules to describe the following dependency chain: $(TARGETS) -> target-finalize -> rootfs-* -> target-post-image Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package: add toolchain dependency to every target packageFabio Porcedda2014-02-141-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit makes the dependency from the target toolchain explicit. This way we can buid from command line a package that use inner-generic-package right after the configuration phase, example: make clean <package-name> Also remove TARGETS_ALL because the only purpose was to add toolchain dependency so it's superseded by this commit. To prevent circular dependency add the new variable <pkgname>_ADD_TOOLCHAIN_DEPENDENCY to avoid adding the toolchain dependency for toolchain packages. This is also a step forward supporting top-level parallel make. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * kickoff 2014.05 development cyclePeter Korsgaard2014-02-111-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | Update for 2014.02Peter Korsgaard2014-02-271-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | Update for 2014.02-rc3Peter Korsgaard2014-02-251-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | graphs: rename user-facing variablesYann E. MORIN2014-02-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the GRAPH_OUT and GRAPH_ALT variables according to our recently-agreed naming scheme for user-facing variables: - GRAPH_OUT -> BR2_GRAPH_OUT - GRAPH_ALT -> BR2_GRAPH_ALT The documentation part of the rename is handled by Thomas as part of his manual fixing spree. ;-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | Makefile: internally use absolute paths to BR2_EXTERNALYann E. MORIN2014-02-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a relative path for BR2_EXTERNAL, and using an external defconfig, such as in (from a Buildroot top-dir): make O=.. BR2_EXTERNAL=.. foo_defconfig is broken. It is unclear why the %_defconfig rule recurses in that case. This patch internaly makes BR2_EXTERNAL canonical (ie. makes it an absolute path), and checks the directory exists. [Peter: s/relatively/relative/ as suggested by Thomas] Reported-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Romain Naour <romain.naour@openwide.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | Update for 2014.02-rc2Peter Korsgaard2014-02-201-1/+1
| | | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | trivial: update buildroot e-mail address to buildroot@buildroot.orgThomas De Schampheleire2014-02-121-0/+1
|/ | | | | | | | | As the e-mail address buildroot@buildroot.org is now enabled, update the e-mail addresses in the source tree from @uclibc.org and @busybox.net to our own proper domain. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Update for 2014.02-rc1Peter Korsgaard2014-02-111-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra: replace BUILDROOT_CONFIG with BR2_CONFIGArnout Vandecappelle2014-02-091-10/+10
| | | | | | | | | | | | | | | To make the naming consistent (all user-visible options should be prefixed with BR2_). An entry is added to Makefile.legacy to warn users who have set BUILDROOT_CONFIG but not BR2_CONFIG. Still export BUILDROOT_CONFIG but pointing to some phony value, to make sure that scripts that still use it fail in a predictable way. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra: replace BUILDROOT_DL_DIR with BR2_DL_DIR.Arnout Vandecappelle2014-02-091-0/+7
| | | | | | | | | | | To make the naming consistent (all user-visible options should be prefixed BR2_). An entry is added to Makefile.legacy to warn users who have set BUILDROOT_DL_DIR but not BR2_DL_DIR. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove support for documentation on targetThomas De Schampheleire2014-02-081-2/+0
| | | | | | | | This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* ccache: replace BUILDROOT_CACHE_DIR with BR_CACHE_DIR.Arnout Vandecappelle2014-02-051-2/+2
| | | | | | | | To make the naming consistent (qstripped variant of a config option should be named BR_XXX). Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Strip *.so* and not only executable filesThomas Petazzoni2014-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | Our current stripping strategy requires that shared libraries have the executable permission. However, this is by far not something recognized as a standard behavior: Debian/Ubuntu distributions for example do not have executable permissions on their libraries. Therefore, pushing to upstream packages fixes that add the executable permissions is not easy. As a result, this commit improves the stripping logic so that it not only strips the files that are executable, but also the ones that match '*.so*', which should match both the shared libraries and the dlopen()'able plugins, as long as they have a .so extension. Thanks to this addition, a number of manual "chmod +x" done by various packages can be removed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Makefile: also use ignore-times argument to rsync when copying rootfs overlaysPeter Korsgaard2014-02-041-1/+1
| | | | | | Missed from previous patch. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Makefile: change rsync used in overlays to always transfer filesDanomi Manchego2014-02-041-1/+1
| | | | | | | | | | | | | | If two files with the same relative paths exist in multiple overlay skeletons, and they have the same modification time and size, then rsync might not copy the later file on top of the earlier file. This patch fixes this by adding the -I option to the rsync commands used in the overlay skeleton file installations. ("man rsync" indicates that this option turns off the file-size/mod-date "quick check" behavior, causing all files to be updated - more like the cp commands that we had originally.) [Peter: use --ignore-times to make it obvious what the option does] Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Makefile: Add /usr/lib/locale to target-purgelocalesValentine Barshak2014-02-041-1/+1
| | | | | | | | Some packages install locales to /usr/lib/locale. Parse and purge unneeded ones there too. Signed-off-by: Valentine Barshak <gvaxon@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* fs: ensure $(TARGET_DIR_WARNING_FILE) is writableYann E. MORIN2014-01-281-1/+1
| | | | | | | | | | | | | | If the Buildroot tree is read-only, then $(TARGET_DIR_WARNING_FILE) is copied read-only into target/ but we may want to remove it during the build process. This poses no real problem, since target/ itself is guaranteed to be writable, but for good measure, force $(TARGET_DIR_WARNING_FILE) to be writable itself. Reported-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* target: ensure target/ dir is writableNathan Lynch2014-01-281-2/+2
| | | | | | | | | | | | | | | | If the source target skeleton is read-only (eg. because Buildroot's source dir is), modifications to the output target (such as creating /etc/hostname and /etc/issue) fail. (This can happen if the Buildroot source dir is NFS-mounted read-only to be shared between different machines, for example). Signed-off-by: Nathan Lynch <ntl@pobox.com> [yann.morin.1998@free.fr: we use rsync now, not cp; --chmod=Du+w suggested by Arnout; clarify commit log] 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>
* Makefile: Unexport TAR_OPTIONSNix2014-01-271-0/+1
| | | | | | | | | | | | | | GNU tar > 1.13.17 interprets TAR_OPTIONS as an environment variable containing options to be prepended to the set on the command line. Since we use the same variable, if the user's environment already contains TAR_OPTIONS, our use of the same variable name modifies the environment and causes untars to misbehave when TAR_OPTIONS causes a -xf to be prepended to the tar command line, likely converting a subsequent flag into a spurious filename. Signed-off-by: Nick Alcock <nick.alcock@oracle.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "prevent recursion in %_defconfig rules"Yann E. MORIN2014-01-171-4/+0
| | | | | | | | | | | | | | | | This reverts commit 94dd02f5d0ce89549a82a99c56602e1c4a73bae7. The change breaks defconfigs from BR2_EXTERNAL, both for in-tree and out-of-tree builds. Besides, the problem reported in 94dd02f could not be reproduced. I can read French, and I suspect a relative path was used for either BR2_EXTERNAL or O. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* luarocks: new infrastructureFrancois Perrad2014-01-131-0/+1
| | | | | | | | Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: apply Thomas' comments] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* prevent recursion in %_defconfig rulesJeremy Rosen2014-01-131-0/+4
| | | | | Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Makefile: support running graph-depends from out-of-treeYann E. MORIN2014-01-091-1/+2
| | | | | | | Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Update copyright yearPeter Korsgaard2014-01-081-1/+1
| | | | | | Happy new year! Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* graphs: support generating png graphsYann E. MORIN2013-12-291-3/+6
| | | | | | | | | | | | | | PDF files can not be easily embedded in other documents (eg. ODT, or HTML). Add support for generating PNG graphs, by setting the GRAPH_OUT=pdf|png on the command line: make GRAPH_OUT=png graph-build graph-depends The default is still to generate PDF graphs. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Makefile: expose 'graph-depends' to generate a graph of the dependency treeYann E. MORIN2013-12-291-0/+7
| | | | | | | | | | | | | | Generate the graph of the complete dependency tree by calling: make graph-depends It's also possible to generate the graph-depends for a single package: make PKG-graph-depends The graphs are generated in $(O)/graphs/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Makefile: expose target 'graph-build' to generate the build-time graphsYann E. MORIN2013-12-291-0/+12
| | | | | | | | | | | | | | | Generate the build-time graphs by calling: make graph-build This generates the graphs in $(O)/graphs/ It is possible to use the alternate color-scheme by setting the variable GRAPH_ALT=1 on the command line: make GRAPH_ALT=1 graph-build Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Makefile: ignore .config for defconfigYann E. MORIN2013-12-271-1/+1
| | | | | | | | | | Currently, we do not include .config for all '%_defconfig' targets, but we forgot to also exclude plain 'defconfig'. Reported-by: Fabio Porcedda <fabio.porcedda@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Makefile: don't use parallel make when calling back into buildrootPeter Korsgaard2013-12-161-3/+3
| | | | | | | | | | | | The source-check / external-deps make targets ends up calling recursively into buildroot's Makefile, causing make to display a warning: make[2]: warning: -jN forced in submake: disabling jobserver mode. We don't support toplevel parallel make, so get rid of the warning using MAKE1 instead. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* core: allow external defconfigs to be usedThomas Petazzoni2013-12-081-0/+11
| | | | | | | | | | | | | | | | | | This commit allows the user to store defconfigs in $BR2_EXTERNAL/configs/. To achieve this: * It adds a new %_defconfig that looks in $BR2_EXTERNAL/configs/ for the corresponding defconfig file. * Updates the help target to also list external defconfigs. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Tested-by: "Samuel Martin" <s.martin49@gmail.com> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* core: allow external Config.in/makefile code to be integratedThomas Petazzoni2013-12-081-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit allows the BR2_EXTERNAL directory to contain Config.in and Makefile code, which gets integrated into the Buildroot build logic: - Buildroot automatically includes the $BR2_EXTERNAL/Config.in in the top-level configuration menu. - Buildroot automatically includes the BR2_EXTERNAL/external.mk in the build logic, so it can for example be used to include other .mk files that define package recipes. This is typically intended to be used to create target packages in the BR2_EXTERNAL directory, but can also be used for bootloaders, host packages, or other custom make logic. We also add a dummy Config.in file in support/dummy-external/ to ensure that the source "$BR2_EXTERNAL/Config.in" line will point to an existing file even when BR2_EXTERNAL is not used by the user. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Tested-by: "Samuel Martin" <s.martin49@gmail.com> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* core: introduce the BR2_EXTERNAL variableThomas Petazzoni2013-12-081-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces the BR2_EXTERNAL environment variable, which will allow to keep Buildroot customization (board-specific configuration files or root filesystem overlays, package Config.in and makefiles, as well as defconfigs) outside of the Buildroot tree. This commit only introduces the variable itself, and ensures that it is available within Config.in options. This allows us to use $BR2_EXTERNAL in a 'source' statement in Config.in. Following patches extend the usage of BR2_EXTERNAL to other areas (packages and defconfigs). In details, this commit: * Introduces the BR2_EXTERNAL Kconfig option. This option has no prompt, and is therefore not visible to the user and also not stored in the .config file. It is automatically set to the value of the BR2_EXTERNAL environment variable. The only purpose of this BR2_EXTERNAL Kconfig option is to allow $BR2_EXTERNAL to be properly expanded when used inside Kconfig source statements. * Calculates the BR2_EXTERNAL value to use. If passed on the command line, then this value is taken in priority, and saved to a .br-external hidden file in the output directory. If not passed on the command line, then we read the .br-external file from the output directory. This allows the user to not pass the BR2_EXTERNAL value at each make invocation. If no BR2_EXTERNAL value is passed, we define it to support/dummy-external, so that the kconfig code finds an existing $(BR2_EXTERNAL)/package/Config.in file to include. * Passes the BR2_EXTERNAL into the *config environment, so that its value is found when parsing/evaluating Config.in files and .config values. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Tested-by: "Samuel Martin" <s.martin49@gmail.com> Acked-by: "Samuel Martin" <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra: remove package clean commandsThomas De Schampheleire2013-12-081-2/+1
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package: add objcopy and ranlib to HOST_CONFIGURE_OPTSThomas Petazzoni2013-12-011-0/+8
| | | | | | | | | This commit adds the OBJCOPY and RANLIB variables to HOST_CONFIGURE_OPTS, since grub legacy will need these defined in order to build properly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* legal info: split sources for host and targetThomas De Schampheleire2013-11-171-4/+5
| | | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* legal info: split license texts for host and targetThomas De Schampheleire2013-11-171-3/+5
| | | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* legal info: split manifest for host and targetThomas De Schampheleire2013-11-171-3/+5
| | | | | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Tested-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* post-{build, images} hooks: export BUILD_DIR tooYann E. MORIN2013-11-131-2/+2
| | | | | | | | | | | | | | Also export BUILD_DIR for post-{build,images} hooks, so they do have a place to store generated files. Note: this will be more einteresting for the instrumentation of steps, to come in a later patch. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* kickoff 2014.02 development cyclePeter Korsgaard2013-11-131-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Update for 2013.11-rc1Peter Korsgaard2013-11-121-1/+1
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* infra: centralize rsync exclude list for VCS filesThomas De Schampheleire2013-11-111-6/+8
| | | | | | | | | | | | | | | | | | | | | | | Buildroot has three places where rsync is used: 1. to copy the target skeleton 2. to copy the rootfs overlay(s) 3. to copy overridden package sources In all of these cases, we want to exclude version control files by default. Place 1 and 2 used an identical set of explicit --exclude options, while place 3 used the option --cvs-exclude. This last option, however, not only excludes version control files, but also binary files (.o, .so) and any file or directory named 'core' (a problem for the linux kernel that has several directories with this name). Moreover, the exact list of excluded files when using --cvs-exclude depends on the version of rsync. This patch creates one global variable RSYNC_VCS_EXCLUSIONS that can be used by the various rsync commands. It excludes the version control files of svn, git, hg, cvs and bzr. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Generation of locales: made call to tr more robust and added LOWERCASE macroThierry Bultel2013-11-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | When calling 'tr' without quoting braces, bash can make really weird things if there are existing 'single-letter-named' directories eg: thierry@thierry-desktop:~$ echo AAA | tr [A-Z] [a-z] aaa thierry@thierry-desktop:~$ mkdir m thierry@thierry-desktop:~$ echo AAA | tr [A-Z] [a-z] AAA The (quick) analysis is that the callee (tr) argvs then contain 'm' thus the translation does not work Using quotes works around it: thierry@thierry-desktop:~$ echo AAA | tr '[A-Z]' '[a-z]' aaa Signed-off-by: Thierry Bultel <thierry.bultel@wanadoo.fr> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* manual generation: rename manual-txt into manual-textThomas De Schampheleire2013-11-011-2/+2
| | | | | | | | | | The output extension and the generation messages refer to 'text', but the make target was confusingly 'txt'. This patch changes the make target for consistency. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud