packages/fff: remove unneeded Build/Prepare and Build/Configure

Build/Prepare and Build/Configure are not required for packages
which only contain local files and do not need any compilation.

Remove them.

Note that Build/Compile needs to be present and empty to overwrite
the defaults, though.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
Adrian Schmutzler 2020-12-17 17:55:48 +01:00
parent 3214388680
commit b69469a0b9
27 changed files with 2 additions and 206 deletions

View File

@ -21,8 +21,8 @@ define Package/fff-alfred-monitoring-proxy/description
https://monitoring.freifunk-franken.de/ https://monitoring.freifunk-franken.de/
endef endef
define Build/Prepare define Build/Compile
echo "all: " > $(PKG_BUILD_DIR)/Makefile # nothing
endef endef
define Package/fff-alfred-monitoring-proxy/install define Package/fff-alfred-monitoring-proxy/install

View File

@ -20,14 +20,6 @@ define Package/$(PKG_NAME)/description
This packages configures the Alfred on the device. This packages configures the Alfred on the device.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/fff-babeld/description
This package provides an example babeld configuration. This package provides an example babeld configuration.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -23,14 +23,6 @@ define Package/$(PKG_NAME)/description
It is used to configure batman-adv. It is used to configure batman-adv.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -19,14 +19,6 @@ define Package/$(PKG_NAME)/description
This packages configures the boardname in the board config. This packages configures the boardname in the board config.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/$(PKG_NAME)/description
This packages provides utilities for a central FFF config file. This packages provides utilities for a central FFF config file.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/fff-dhcp/description
It is used to configure dnsmasq for use as gateway. It is used to configure dnsmasq for use as gateway.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -26,14 +26,6 @@ define Package/$(PKG_NAME)/description
It is used to configure fastd. It is used to configure fastd.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -24,14 +24,6 @@ define Package/$(PKG_NAME)/description
It is used to configure firewall. It is used to configure firewall.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -21,14 +21,6 @@ define Package/$(PKG_NAME)/description
This package load and configures the current hood This package load and configures the current hood
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/$(PKG_NAME)/description
may be used outside of configurehood may be used outside of configurehood
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -23,14 +23,6 @@ define Package/fff-layer3-config/description
This package provides the means for configuring the gateway This package provides the means for configuring the gateway
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -44,14 +44,6 @@ define Package/fff-layer3/description
This package provides the packages and settings for the layer 3 firmware This package provides the packages and settings for the layer 3 firmware
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -19,14 +19,6 @@ define Package/$(PKG_NAME)/description
This package configures the network interfaces This package configures the network interfaces
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -23,14 +23,6 @@ define Package/fff-node/description
This package configures the node This package configures the node
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -22,14 +22,6 @@ define Package/$(PKG_NAME)/description
netmon.freifunk-franken.de netmon.freifunk-franken.de
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/fff-ra/description
It is used to configure odhcpd to send Router Advertisements for use as gateway. It is used to configure odhcpd to send Router Advertisements for use as gateway.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -24,10 +24,6 @@ define Build/Prepare
$(CP) ./src/* $(PKG_BUILD_DIR)/ $(CP) ./src/* $(PKG_BUILD_DIR)/
endef endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
CFLAGS="$(TARGET_CFLAGS)" CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS)" CPPFLAGS="$(TARGET_CPPFLAGS)" $(MAKE) -C $(PKG_BUILD_DIR) $(TARGET_CONFIGURE_OPTS)
endef endef

View File

@ -19,14 +19,6 @@ define Package/$(PKG_NAME)/description
This meta-package configures simple-tc for FFF This meta-package configures simple-tc for FFF
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -21,14 +21,6 @@ define Package/$(PKG_NAME)/description
not essential to the operation of the Firmware not essential to the operation of the Firmware
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/$(PKG_NAME)/description
This packages provides an semi automated sysupgrade script. This packages provides an semi automated sysupgrade script.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -19,14 +19,6 @@ define Package/$(PKG_NAME)/description
This packages configures the timeserver on the device. This packages configures the timeserver on the device.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/$(PKG_NAME)/description
It is used to configure and start the uradvd daemon. It is used to configure and start the uradvd daemon.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -20,14 +20,6 @@ define Package/$(PKG_NAME)/description
(currently only via fastd) (currently only via fastd)
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -21,14 +21,6 @@ define Package/$(PKG_NAME)/description
This is the Webinterface for the Freifunk Franken Firmware This is the Webinterface for the Freifunk Franken Firmware
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -22,14 +22,6 @@ define Package/fff-wireguard/description
This package provides configuration scripts for wireguard tunnels. This package provides configuration scripts for wireguard tunnels.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef

View File

@ -19,14 +19,6 @@ define Package/$(PKG_NAME)/description
This package configures the wireless interfaces. This package configures the wireless interfaces.
endef endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile define Build/Compile
# nothing # nothing
endef endef