# HG changeset patch # User Giulio Moro # Date 1466375485 -3600 # Node ID 0567af952cfa60c3f7d14d10289090b87d6553ca # Parent 7f9032f43f410c968a5b9a12d0dc6a4021bafaba# Parent 1d66b4e8ced9667c3b0f8aea84d7ffb15a51a692 merge diff -r 1d66b4e8ced9 -r 0567af952cfa Makefile --- a/Makefile Sun Jun 19 23:20:34 2016 +0100 +++ b/Makefile Sun Jun 19 23:31:25 2016 +0100 @@ -154,7 +154,7 @@ # syntax = check syntax syntax: ## Only checks syntax syntax: SYNTAX_FLAG := -fsyntax-only -syntax: SYNTAX +syntax: Bela # Rule for Bela core C++ files build/core/%.o: ./core/%.cpp @@ -208,9 +208,6 @@ @echo ' ...done' # Other Targets: -# This rule compiles c and c++ source files without output or linking -SYNTAX: $(C_OBJS) $(CPP_OBJS) - projectclean:## Remove the PROJECT's build objects & binary -$(RM) $(PROJECT_DIR)/build/* $(OUTPUT_FILE) -@echo ' ' diff -r 1d66b4e8ced9 -r 0567af952cfa examples/core/link_core.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/core/link_core.sh Sun Jun 19 23:31:25 2016 +0100 @@ -0,0 +1,2 @@ +ln -s /root/Bela/core/ /root/Bela/examples/core/source +ln -s /root/Bela/include/ /root/Bela/examples/core/include \ No newline at end of file diff -r 1d66b4e8ced9 -r 0567af952cfa examples/core/render.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/core/render.cpp Sun Jun 19 23:31:25 2016 +0100 @@ -0,0 +1,16 @@ +#include + +bool setup(BelaContext *context, void *userData) +{ + return true; +} + +void render(BelaContext *context, void *userData) +{ + +} + +void cleanup(BelaContext *context, void *userData) +{ + +} \ No newline at end of file diff -r 1d66b4e8ced9 -r 0567af952cfa scripts/update_board --- a/scripts/update_board Sun Jun 19 23:20:34 2016 +0100 +++ b/scripts/update_board Sun Jun 19 23:31:25 2016 +0100 @@ -170,6 +170,14 @@ error_handler $? "\nError while generating Doxygen documentation\n" fi +printf "Building example projects..." +ssh $BBB_ADDRESS "sh $BBB_BELA_HOME/examples/core/link_core.sh" +error_handler $? "\nError while building example projects\n" + +printf "Cleaning build environment..." +ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory coreclean" +error_handler $? "\nError cleaning core\n" + #------------- #Installing IDE [ $ALWAYS_YES -eq 0 ] && ALWAYS_YES_FLAG= || ALWAYS_YES_FLAG="-y"