Changes for clean ez80 ZDS-II compile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3733 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
6be31c51a0
commit
e6135f14e0
@ -63,3 +63,5 @@
|
|||||||
|
|
||||||
6.6 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
6.6 2011-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
|
||||||
|
* Make.defs, namedapp/namedapp.c: Several structural changes made to get a
|
||||||
|
clean compile under the ez80 ZDS-II toolchain (no design changes).
|
||||||
|
@ -36,6 +36,6 @@
|
|||||||
|
|
||||||
define REGISTER
|
define REGISTER
|
||||||
@echo "Register: $1"
|
@echo "Register: $1"
|
||||||
@echo "{ .name = \"$1\", .priority = $2, .stacksize = $3, .main = $4 }," >> "$(APPDIR)/namedapp/namedapp_list.h"
|
@echo "{ \"$1\", $2, $3, $4 }," >> "$(APPDIR)/namedapp/namedapp_list.h"
|
||||||
@echo "EXTERN int $4(int argc, char *argv[]);" >> "$(APPDIR)/namedapp/namedapp_proto.h"
|
@echo "EXTERN int $4(int argc, char *argv[]);" >> "$(APPDIR)/namedapp/namedapp_proto.h"
|
||||||
endef
|
endef
|
||||||
|
@ -67,7 +67,7 @@ extern "C" {
|
|||||||
const struct namedapp_s namedapps[] =
|
const struct namedapp_s namedapps[] =
|
||||||
{
|
{
|
||||||
# include "namedapp_list.h"
|
# include "namedapp_list.h"
|
||||||
{.name = NULL}
|
{ NULL, 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
|
Loading…
x
Reference in New Issue
Block a user