Skip to content
Snippets Groups Projects
  • Gaëtan Harter's avatar
    7c85e6e0
    Makefile.base: fix AR keeping removed source files objects · 7c85e6e0
    Gaëtan Harter authored
    AR incrementally adds file without removing files.
    If a c file is deleted or disabled(submodule removal) it is not removed from
    archive and still ends up in the final elf file.
    
    This fix removes the need to do 'make clean' for this case.
    
    However it will break cases where an APPLICATION and a MODULE or two modules
    have the same name and only worked because source files names where different.
    7c85e6e0
    History
    Makefile.base: fix AR keeping removed source files objects
    Gaëtan Harter authored
    AR incrementally adds file without removing files.
    If a c file is deleted or disabled(submodule removal) it is not removed from
    archive and still ends up in the final elf file.
    
    This fix removes the need to do 'make clean' for this case.
    
    However it will break cases where an APPLICATION and a MODULE or two modules
    have the same name and only worked because source files names where different.