#78 target USER_OBJS in generated makefile

Next release
closed
None
5
2014-01-22
2014-01-22
faberd
No

I've (re)found the same problem as ticket "#39 Wrong Linker Label in Makefile generation".
The USER_OBJS is not replaced in the generated makefile with my build target.
The makefile is generated with these lines:

EXECUTABLES += \ USER_OBJS \

and

USER_OBJS: $(OBJS) $(USER_OBJS)

However the dependency list of the all target does list my build target properly.

all: myapp.elf

When building make gives the error "No rule to make target myapp.elf', needed byall'. Stop."

I'm using eclipse 4.3.1 with GNU ARM plugin v0.5.5 on Ubuntu 12.04 LTS

Discussion

  • Liviu Ionescu (ilg)

    ... GNU ARM plugin v0.5.5

    please upgrade to the new version, v0.5 is no longer supported.

     
  • Liviu Ionescu (ilg)

    • status: open --> closed
    • assigned_to: Liviu Ionescu (ilg)
     
  • faberd

    faberd - 2014-01-22

    I've installed the plugin according to http://gnuarmeclipse.livius.net/blog/plugins-install/, which still gives me 0.5.5. What is the recommended way to install/migrate to the new version? (I'm assuming you mean v1.1?)

     
  • Liviu Ionescu (ilg)

    still gives me 0.5.5

    I don't know what you mean by this, but if you checked all features in the update site, you should have all plug-ins installed.

    There is no direct way to migrate from 0.5 to 1.x, the plug-in is completely different, you need to recreate the project and copy the source files.