generate symbol to makefile

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
szalokicsiga
Newbie
Posts: 24
Joined: Thu Oct 13, 2016 2:49 pm

generate symbol to makefile

Post by szalokicsiga » Fri Dec 02, 2016 8:52 am

Hi!

Is it possible to generate a symbol to the generated makefile from e.g. the OIL file?
I would like to change the name of the .elf file. Now it is working like this: TARGET := $(TARGET_NAME).elf
And I would need something like this: TARGET := $(PROJECT_NAME).elf, but for that I need this variable generating.

Thank you!

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: generate symbol to makefile

Post by paolo.gai » Fri Dec 02, 2016 9:10 am

I guess you need to change directly the makefile... There is no way to change that name as of today from the OIL file.

PJ

szalokicsiga
Newbie
Posts: 24
Joined: Thu Oct 13, 2016 2:49 pm

Re: generate symbol to makefile

Post by szalokicsiga » Fri Dec 02, 2016 12:09 pm

Thank you, solved it!

Now I need one more thing. At the oil generation phase, is it possible to set, that eecfg.h and eecfg.c should be generated into an other folder? (so not into Debug folder)
I cannot find it, where is it defined, to be generated into the Debug folder.

Thank you

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: generate symbol to makefile

Post by paolo.gai » Fri Dec 02, 2016 12:28 pm

You can use a batch file and generate through the command line version of RT-Druid...

Can you share some info on the kind of application you are developing? Is it for research, or are you working in a company?

Ciao,

Paolo

szalokicsiga
Newbie
Posts: 24
Joined: Thu Oct 13, 2016 2:49 pm

Re: generate symbol to makefile

Post by szalokicsiga » Mon Dec 05, 2016 1:31 pm

I'm working in a company.

Post Reply