diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-03 12:39:57 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-06-03 12:39:57 +0200 |
commit | 934bbf7d019e561209802f6a679b3672ce58ef1a (patch) | |
tree | a558a8344aabfdf98d4a8bf0a1776bcc500bad39 /mqtt-test/main/component.mk | |
parent | 1ab751428b65cab4d31f323eb3c31789321a0db6 (diff) | |
download | modern-esp-sandbox-934bbf7d019e561209802f6a679b3672ce58ef1a.tar.gz modern-esp-sandbox-934bbf7d019e561209802f6a679b3672ce58ef1a.tar.bz2 modern-esp-sandbox-934bbf7d019e561209802f6a679b3672ce58ef1a.tar.xz modern-esp-sandbox-934bbf7d019e561209802f6a679b3672ce58ef1a.zip |
wip. Making room for other apps.
Diffstat (limited to 'mqtt-test/main/component.mk')
-rw-r--r-- | mqtt-test/main/component.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mqtt-test/main/component.mk b/mqtt-test/main/component.mk new file mode 100644 index 0000000..e102e7e --- /dev/null +++ b/mqtt-test/main/component.mk @@ -0,0 +1,14 @@ +define FIX = +ifdef $(1) +CFLAGS += '-D$(1)="$$($(1))"' +CPPFLAGS += '-D$(1)="$$($(1))"' +#$$(info USING $(1)=$$($(1))) +endif +endef + +$(eval $(call FIX,WIFI_SSID)) +$(eval $(call FIX,WIFI_PASSWORD)) +$(eval $(call FIX,MQTT_HOST)) +$(eval $(call FIX,MQTT_PORT)) + +fix: |