forked from freifunk-franken/firmware
Adrian Schmutzler
68c7d75a1b
In the latest release, OpenWrt provides the label MAC address for many devices. All of our devices should be covered. In can be retrieved by the function get_mac_label from /lib/functions/system.sh Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
33 lines
606 B
Makefile
33 lines
606 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-network
|
|
PKG_RELEASE:=39
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken network configuration
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:= \
|
|
+owipcalc \
|
|
+fff-boardname \
|
|
+fff-firewall
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This package configures the network interfaces
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
test -d ./$(ARCH) && $(CP) ./$(ARCH)/* $(1)/etc/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|