Adrian Schmutzler
b0fc342d01
PKG_BUILD_DIR has the following default values set in include/package.mk, in case no BUILD_VARIANT is set: With PKG_VERSION set: $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) Without PKG_VERSION: $(BUILD_DIR)/$(PKG_NAME) Consequently, all PKG_BUILD_DIR definitions in our packages are redundant. Remove them. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
30 lines
583 B
Makefile
30 lines
583 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-network
|
|
PKG_RELEASE:=26
|
|
|
|
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:=+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)))
|