Sebastien Lorquet sebastien@lorquet.fr [nuttx]
2016-06-09 10:18:12 UTC
Hello
I see that some apps, that uses Application,mk, uses APPNAME as the application
name, but the variable PROGNAME is also used.
What is the difference between the two?
For example, in sched_note I understand that APPNAME is the name of the app but
PROGNAME is the name of the generated binary file for app builds.
On the contrary examples/wget only defines PROGNAME but no APPNAME
Is that an error? How to deal with it? Change every makefile that references
Application.mk, or, in the same file, define APPNAME=PROGNAME if APPNAME is not
defined?
My ideal view is:
- all makefiles shall define APPNAME
- Application.mk computes PROGNAME if it is not already defined in individual
makefiles.
What do you think?
I see that some apps, that uses Application,mk, uses APPNAME as the application
name, but the variable PROGNAME is also used.
What is the difference between the two?
For example, in sched_note I understand that APPNAME is the name of the app but
PROGNAME is the name of the generated binary file for app builds.
On the contrary examples/wget only defines PROGNAME but no APPNAME
Is that an error? How to deal with it? Change every makefile that references
Application.mk, or, in the same file, define APPNAME=PROGNAME if APPNAME is not
defined?
My ideal view is:
- all makefiles shall define APPNAME
- Application.mk computes PROGNAME if it is not already defined in individual
makefiles.
What do you think?
--
Sébastien Lorquet
Sébastien Lorquet