Open akosthekiss opened 6 years ago
A related issue, but not documentation related: calling make
from makefiles is preferably done via $(MAKE)
note make
. Quote from the GNU make manual:
Recursive make commands should always use the variable MAKE, not the explicit command name ‘make’
Explanation can be found here: https://www.gnu.org/software/make/manual/make.html#MAKE-Variable
Affected makefiles: Makefile.{esp8266,mbed,particle,riot,tizenrt,zephyr}
I would like to select again official targets again to focus our resources.
During the scripting of target build test automation for Travis CI (#2102), several issues have been identified:
libc6-dev*
packages and actually couldn't installlibtool-bin
because such a package was not available)./opt/Espressif
directory is described together with thedependencies
step although it belongs to the crosstool-NG building step. Moreover, it should be noted that neither the building of ct-ng nor the execution of ct-ng to build a cross toolchain requires elevated privileges (it can be done somewhere in the user's home directory, not under/opt
only).make
detected recursion and bailed out.BIN_PATH
be specified? Couldn't it have at least a default to be the same asBUILD_DIR
?targets/mbedos5
with the Makefile is not possible.make all
errors because there is nomain
in the code base,make library
errors because launcher sources requirejerry-targetjs.h
that are explicitly not generated for libraries. Then the readme suggests to do a gulp-based build, but that build system uses a pinned JerryScript version (https://github.com/ARMmbed/mbed-js-gulp/blob/master/main.js,const JERRYSCRIPT_REVISION = '5cdb98c75ec231806677a8af0b16d508b1033eb2';
) not master. So that seems never building with latest jerry. The target should always be able to test latest developments.targets/zephyr
right now. For me, Zephyr 1.9.1 and Zephyr SDK 0.9.1 worked. (But even in this release, Zephyr doesn't seem to have the readme-suggestedqemu
make target anymore.)zephyr-project
, although when I clone it out from github, it will be namedzephyr
by default../targets/zephyr/Makefile.zephyr
fails to build the JerryScript library with quite weird errors... unless you set CC to point deep within the Zephyr SDK:zephyr-sdk-0.9.1/sysroots/x86_64-pokysdk-linux/usr/bin/i586-zephyr-elfiamcu/i586-zephyr-elfiamcu-gcc
. Which is not documented anywhere and was a hell to debug. Note: zephyr sets its the build environment for its own build system up by sourcingzephyr-env.sh
, but JerryScript's build system will know nothing about that. AndMakefile.zepyhr
will use$CC
which is usually still set to the native compiler.It would be great if target maintainers could check these out.