diff options
Diffstat (limited to 'main/component.mk')
-rw-r--r-- | main/component.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/component.mk b/main/component.mk index e69de29..500a63f 100644 --- a/main/component.mk +++ b/main/component.mk @@ -0,0 +1,9 @@ + +ifdef WIFI_SSID +CFLAGS += '-DWIFI_SSID="$(WIFI_SSID)"' +CPPFLAGS += '-DWIFI_SSID="$(WIFI_SSID)"' +endif +ifdef WIFI_PASSWORD +CFLAGS += '-DWIFI_PASSWORD="$(WIFI_PASSWORD)"' +CPPFLAGS += '-DWIFI_PASSWORD="$(WIFI_PASSWORD)"' +endif |