forked from freifunk-franken/firmware
Fabian Bläse
4bf14292f7
*-ssl variants of mosquitto require libopenssl, which increases the storage requirement by almost 1 MB, even when compressed with squashfs. Because we currently do not need TLS support for fff-mqtt, switch to the nossl variant to save space and allow building for devices with 8 MiB flash. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Christian Dresel <freifunk@dresel.systems>
34 lines
604 B
Makefile
34 lines
604 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-mqtt
|
|
PKG_RELEASE:=$(COMMITCOUNT)
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-mqtt
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/fff-mqtt
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken mqtt configuration
|
|
URL:=https://www.freifunk-franken.de
|
|
DEPENDS:= \
|
|
+fff-config \
|
|
+libmosquitto-nossl \
|
|
+mosquitto-client-nossl
|
|
endef
|
|
|
|
define Package/fff-mqtt/description
|
|
This package provides mosquitto and settings
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/fff-mqtt/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,fff-mqtt))
|