Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 2, 2015
  1. @fabio-porcedda @tpetazzoni

    Makefile: improve detection of make "-s" flag

    fabio-porcedda authored tpetazzoni committed
    Because it's just checking the presence of the "s" character even a
      make --warn-undefined-variables
    is detected as a silent build.
    
    Fix that by filtering out long options.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Arnout Vandecappelle <arnout@mind.be>
    Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Jun 29, 2014
  1. @fabio-porcedda @tpetazzoni

    Makefile: do not add to targets common dependencies

    fabio-porcedda authored tpetazzoni committed
    Remove the rule that adds common dependencies to every target in the
    "TARGETS" variable, because all those targets are packages that use the
    package infrastructure or they depend on targets that use the package
    infrastructure. The package infrastructure already adds common
    dependencies.  Therefore, this rule is useless.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  2. @fabio-porcedda @tpetazzoni

    Makefile: target-finalize: add TARGET_FINALIZE_HOOKS

    fabio-porcedda authored tpetazzoni committed
    Add TARGET_FINALIZE_HOOKS to the "target-finalize" rule to be able to
    add to it commands as needed.
    This is useful for having a nicer output because commands are executed
    after the "target-finalize" initial message, also it is useful to ensure
    an executing order even when top-level parallel makefile is being used.
    
    Also convert "TARGET_PURGE_LOCALES" to a hook that uses
    "TARGET_FINALIZE_HOOKS".
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Jun 22, 2014
  1. @fabio-porcedda @tpetazzoni

    Makefile: test if "dot" exists in "<pkg>-graph-depends"

    fabio-porcedda authored tpetazzoni committed
    To be able to check the "dot" command availability in
    "<pkg>-graph-depends" move the check to the "graph-depends-requirements" rule.
    Also don't use a subshell for the exit command to be sure that the error
    will be returned by the shell.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Yann E. MORIN <yann.morin.1998@free.fr>
    Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
    Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on May 1, 2014
  1. @fabio-porcedda @jacmet

    Makefile: target-purgelocales: fix top-level parallel make support

    fabio-porcedda authored jacmet committed
    The "target-purgelocales" target must be executed after all the other
    targets and before the "target-finalize" target, so create a
    TARGET_PURGE_LOCALES variable containing the commands of the target
    "target-purgelocales" and add it at the beginning of the
    "target-finalize" target.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Arnout Vandecappelle <arnout@mind.be>
    Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: Peter Korsgaard <jacmet@uclibc.org>
    Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Commits on Apr 23, 2014
  1. @fabio-porcedda @tpetazzoni

    Makefile: let show-targets prints also the dependencies

    fabio-porcedda authored tpetazzoni committed
    Because the "show-targets" target print the targets that will be built,
    print also their dependencies.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  2. @fabio-porcedda @tpetazzoni

    Makefile: fix coding style regarding the '=' sign

    fabio-porcedda authored tpetazzoni committed
    As stated in the buildroot user manual add just a single space before
    and after a '=' sign.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Arnout Vandecappelle <arnout@mind.be>
    Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
    Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Apr 20, 2014
  1. @fabio-porcedda @tpetazzoni

    Makefile: target-generatelocales: add toolchain dependency

    fabio-porcedda authored tpetazzoni committed
    The target depends on the toolchain so add it as a dependency.
    This also fix the support to top-level parallel make.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  2. @fabio-porcedda @tpetazzoni

    Makefile: toolchain-eclipse-register: add toolchain dependency

    fabio-porcedda authored tpetazzoni committed
    The "toolchain-eclipse-register" target needs the toolchain so add
    toolchain as a dependency.
    This also fix the support to top-level parallel make.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Apr 16, 2014
  1. @fabio-porcedda @tpetazzoni

    toolchain: add a hidden config option to enable the toolchain package

    fabio-porcedda authored tpetazzoni committed
    The usual way to enable a package using the package infrastructure is to
    use a config option so instead to add the toolchain package to the
    TARGETS variable in the Makefile add a config option like all the other
    toolchain packages.
    
    [Thomas: remove comment that no longer made sense in the main
    Makefile, and add a comment above the new hidden Config.in option to
    explain what it is useful for.]
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Arnout Vandecappelle <arnout@mind.be>
    Cc: Yann E. MORIN <yann.morin.1998@free.fr>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Mar 29, 2014
  1. @fabio-porcedda @tpetazzoni

    Add back rootfs-* dependencies to "source" and "legal-info" targets

    fabio-porcedda authored tpetazzoni committed
    After adding support top-level parallel make the rootfs-* dependencies
    were not anymore considered for the "source" and "legal-info" targets
    because the rootfs-* targets were removed from TARGETS variable and
    placed in the TARGETS_ROOTFS variable so to fix the issue use use both
    "TARGETS" and "TARGETS_ROOTFS" variables.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Cc: Vincent Stehlé <vincent.stehle@freescale.com>
    Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Mar 27, 2014
  1. @fabio-porcedda @jacmet

    Remove "dirs" dependencies

    fabio-porcedda authored jacmet committed
    The package infrastructure add automatically the "dirs" dependency so
    remove it when the package infrastructure is being used.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Commits on Mar 6, 2014
  1. @fabio-porcedda @tpetazzoni

    Makefile: remove BASE_TARGETS variable

    fabio-porcedda authored tpetazzoni committed
    Because now the toolchain dependency is automatically added by the
    package infrastructure the BASE_TARGETS variable is useless so just
    remove it.
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Commits on Feb 20, 2014
  1. @fabio-porcedda @jacmet

    Makefile: fix target-finalize rule

    fabio-porcedda authored jacmet committed
    Fix a bug introduced by the commit a248775
    (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>
Commits on Feb 14, 2014
  1. @fabio-porcedda @jacmet

    Makefile: update comment about top-level parallel Makefile

    fabio-porcedda authored jacmet committed
    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>
  2. @fabio-porcedda @jacmet

    Makefile: add support for top-level parallel make

    fabio-porcedda authored jacmet committed
    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>
  3. @fabio-porcedda @jacmet

    package: add toolchain dependency to every target package

    fabio-porcedda authored jacmet committed
    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>
Commits on Jan 15, 2013
  1. @fabio-porcedda

    Makefile: rename cross target -> toolchain

    fabio-porcedda authored Peter Korsgaard committed
    - Use a more descriptive name, the same of the "toolchain" directory.
    - Add missing dependencies to be able to successfully use the target
      right after the configuration.
    - Move to a better position.
    - Documentation it in the help target.
    - Use toolchain target in the world target
    
    Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
    Reviewed-by: Markos Chandras <markos.chandras at imgtec.com>
    Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
    Acked-by: Samuel Martin <s.martin49 at gmail.com>
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Something went wrong with that request. Please try again.