firmware/src/packages/fff/fff-gateway/Makefile
Adrian Schmutzler 9c5b65a770 configuregateway: Only match "function" in subshell
When running OpenWrt master, "type <functionname>" only returns
"<functionname> is a function". Thus, to make the implementation
future-proof and since it is also working with the current state,
change the grep in execute_subshell to match "function".

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
2019-05-31 17:21:10 +02:00

39 lines
674 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-gateway
PKG_RELEASE:=2
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-gateway
include $(INCLUDE_DIR)/package.mk
define Package/fff-gateway
SECTION:=base
CATEGORY:=Freifunk
TITLE:= Freifunk-Franken gateway configuration
URL:=https://www.freifunk-franken.de
DEPENDS:=+fff-boardname +fff-network
endef
define Package/fff-gateway/description
This package configures the gateway
endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile
# nothing
endef
define Package/fff-gateway/install
$(CP) ./files/* $(1)/
endef
$(eval $(call BuildPackage,fff-gateway))