Skip to content
Snippets Groups Projects
  • Juan Carrano's avatar
    ae524e91
    Makefile.include: flash: do not peek into MAKECMDGOALS. · ae524e91
    Juan Carrano authored
    When flash-only was introduced (in #8373), the `flash` rule was
    made conditionally dependent on `all` by looking for `flash-only`
    in MAKECMDGOALS. This was done to avoid code duplication.
    
    There's a cleaner way, by using canned recipes. When we upgrade the
    requirements to gnu make 4, the flash recipe can be defined as ?=.
    ae524e91
    History
    Makefile.include: flash: do not peek into MAKECMDGOALS.
    Juan Carrano authored
    When flash-only was introduced (in #8373), the `flash` rule was
    made conditionally dependent on `all` by looking for `flash-only`
    in MAKECMDGOALS. This was done to avoid code duplication.
    
    There's a cleaner way, by using canned recipes. When we upgrade the
    requirements to gnu make 4, the flash recipe can be defined as ?=.