forked from freifunk-franken/firmware
The ubnt-power-m-xw identifier was introduced in0447d0c709
("fff-boardname: introduce new ubnt boards") assuming that the Ubiquiti Powerbeam M2 XW had a separate model identifier in /var/sysinfo/model (otherwise, it was derived from loco-m-xw image). However, OpenWrt has never known about a PowerBeam device. Consequently, on devices nothing changed, and all PowerBeam devices were still recognized as Nanostation Loco M XW. Thus, this patch removes all references to a ubnt-power-m-xw, as it's never been working anyway. Note that this also implies that any user of a PowerBeam would have used the wrong antenna_gain values of the Loco M XW by default (and will continue to do so). However, actually the Loco M XW has never been tested or supported officially for this firmware. The image was only used for the support of the Powerbeam M2 XW in68314ea943
("Add support for Powerbeam M2 XW"). However, since the firmware is expected to work and seems to be installed on several devices already, we won't remove the image for now. For further reference: The board and model names set in ar71xx are found in the OpenWrt file target/linux/ar71xx/base-files/lib/ar71xx.sh Fixes:0447d0c709
("fff-boardname: introduce new ubnt boards") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Reviewed-by: Christian Dresel <fff@chrisi01.de> Reviewed-by: Fabian Bläse <fabian@blaese.de>
39 lines
706 B
Makefile
39 lines
706 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-boardname
|
|
PKG_RELEASE:=7
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken boardname
|
|
URL:=http://www.freifunk-franken.de
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This is the Freifunk Franken Firmware boardname package.
|
|
This packages configures the boardname in the board config.
|
|
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)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|