#54 makefile generation problem

v2.3
open
Behavior (41)
5
2012-07-07
2011-08-11
Anonymous
No

The automatic makefile generation fails to add the strings for both (in file: makefile):
FLASH_IMAGE += \ EEPROM_IMAGE += \

I have two VERY similar build configurations, one that does generate those two lines and one that does not.
For the failing configuration: when I disable automatic makefile generation and manually fill in these two values everything works as expected.
I can be contacted at bjoern@johannesson.us for any questions. Thanks for some great work!!

Discussion

  • I can confirm this irritating behaviour. It affects listing and size output too (empty lines removed):

    LSS += \ FLASH_IMAGE += \ EEPROM_IMAGE += \ SIZEDUMMY += \

    Not producing any output is a K.O. bug. :-(

    Obviously it is triggered only sometimes. I was unable to pinpoint it better, but using eclipse links (either file or directory) makes the project unusable from all the errors. Renaming any directory in the eclipse project is problematic too, it messes up several things.

    It may be possible to recover from this problem, but it involves an awful lot of
    cleaning, file deleting, index regeneration and eclipse restarting.

    Symbolic links however are always fine (just goes to show to use the real thing instead the fancy GUI "imitation"... :-) )

     
  • I created a new project last night, not using any eclipse links or virtual folders, and ran into this problem again straight away. The only way to recover from this seems to be to create a new build configuration, copying default values, NOT any of the existing configurations. That also means losing all the settings. I get the impression that some internal values go screwy to which there is no user interface, so the only way to recover is to start again.