Closed biloucat closed 8 years ago
Thanks for your reply.
We will add ret = sysinfo(&info);
into minimalPkg.c. Sorry for make this mistake.
In pkgscripts framework, we can cross-compile source code by
include /env.mak
SynoBuildConf/build
, we compile the minimalPkg first and then execute command make ${MAKE_FLAG}
. If Makefile
still uses minimalPkg as executable name, make ${MAKE_FLAG}
will not really compile the binary. So we change the example executable name to minimalPkg_2
so that make ${MAKE_FLAG}
will use the cross-compiler to compile the source.In order to avoid other user confusing the executable name, we will adjust executable name and add the comment before it.
Thanks, but who to contact to update the developer guide ?
Thanks for your reply.
We will update the developer guide later.
the line ret = sysinfo(&info); is missing in minimalPkg.c why "EXEC= minimalPkg_2 in Makefile ??? should not be EXEC= minimalPkg ???