Skip to content

Commit

Permalink
linux-mqtt: Don't hardcode graph maps file
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnor committed Sep 24, 2017
1 parent 8f3781a commit 2509ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -98,9 +98,9 @@ build-linux-embedding:

build-linux-mqtt:
rm -rf $(BUILD_DIR)/linux-mqtt
node microflo.js generate examples/Repeat.fbp $(BUILD_DIR)/linux-mqtt/ --target linux-mqtt --library $(LIBRARY)
node microflo.js generate examples/Repeat.fbp $(BUILD_DIR)/linux-mqtt/ --enable-maps --target linux-mqtt --library $(LIBRARY)
cd $(BUILD_DIR)/linux-mqtt/ && g++ -o repeat main.cpp -std=c++0x -lmosquitto $(COMMON_CFLAGS) -DLINUX -Werror -lrt -lutil
node microflo.js generate $(LINUX_GRAPH) $(BUILD_DIR)/linux-mqtt/ --target linux-mqtt --library $(LIBRARY)
node microflo.js generate $(LINUX_GRAPH) $(BUILD_DIR)/linux-mqtt/ --enable-maps --target linux-mqtt --library $(LIBRARY)
cd $(BUILD_DIR)/linux-mqtt/ && g++ -o firmware main.cpp -std=c++0x -lmosquitto $(COMMON_CFLAGS) -DLINUX -Werror -lrt -lutil

build-tests:
Expand Down
1 change: 0 additions & 1 deletion microflo/linux_mqtt_main.hpp
Expand Up @@ -8,7 +8,6 @@
#include "microflo.h"
#include "linux_mqtt.hpp"

#include "main_maps.h" // generated graph metadata
#include "microflo.hpp"
#include "linux.hpp"

Expand Down

0 comments on commit 2509ec2

Please sign in to comment.