firmware/src/packages/fff/fff-support/Makefile
Adrian Schmutzler fbc7dab6de fff-support: Add device name and firmware version to MOTD
This adds a line containing the device name and the current
firmware version to the MOTD shown after logging in via SSH, e.g.

> TP-Link TL-WR1043N/ND v2 @ jubtl9_20190320

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
2019-07-22 22:47:51 +02:00

42 lines
862 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=fff-support
PKG_RELEASE:=4
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=base
CATEGORY:=Freifunk
TITLE:=Freifunk-Franken Support Scripts
URL:=http://www.freifunk-franken.de
DEPENDS:=+@BUSYBOX_CONFIG_ASH +fff-config +fff-hoodutils
endef
define Package/$(PKG_NAME)/description
This is the Freifunk Franken Firmware support package.
This packages provides smaller convenience scripts,
not essential to the operation of the Firmware
endef
define Build/Prepare
echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef
define Build/Configure
# nothing
endef
define Build/Compile
# nothing
endef
define Package/$(PKG_NAME)/install
$(CP) ./files/* $(1)/
test -d ./$(BOARD) && $(CP) ./$(BOARD)/* $(1)/ || true
endef
$(eval $(call BuildPackage,$(PKG_NAME)))