Compare commits

...

5 Commits

Author SHA1 Message Date
Sukru Senli
87ede5e242 questd: fix makefile 2019-01-31 10:02:59 +01:00
Sukru Senli
79c02e1974 prplwrt: demo 2019-01-31 10:01:17 +01:00
Sukru Senli
5bea8c6918 questd: prplwrt demo 2019-01-31 09:57:58 +01:00
Sukru Senli
08ca9e4dc4 questd: prplwrt 2019-01-31 09:57:58 +01:00
Sukru Senli
2b7c67d0e8 questd: intel adaptations 2019-01-31 09:57:58 +01:00

View File

@@ -8,7 +8,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=questd
PKG_VERSION:=3.1.40
PKG_SOURCE_VERSION:=0ee8f66b6ac1a87687b8a1e5fcd6694e2f9d8cae
PKG_SOURCE_VERSION:=dfbb6b5bb496ed4dda569c836a74e1993dc72501
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/questd
@@ -26,8 +26,7 @@ QUESTD_TARGET:=-DIOPSYS_BROADCOM
else ifeq ($(CONFIG_TARGET_iopsys_linksys),y)
QUESTD_TARGET:=-DIOPSYS_MARVELL
else ifeq ($(CONFIG_TARGET_intel_mips),y)
# BUG FIXME the Intel mips target is not handled in questd this is just to get it to compile
QUESTD_TARGET:=-DIOPSYS_BROADCOM
QUESTD_TARGET:=-DIOPSYS_INTEL
else ifeq ($(CONFIG_TARGET_iopsys_ramips),y)
QUESTD_TARGET:=-DIOPSYS_MEDIATEK
QUESTD_CFLAGS:=\
@@ -44,7 +43,7 @@ export QUESTD_CFLAGS
define Package/questd
CATEGORY:=Utilities
DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl
DEPENDS:=+libuci +libubox +ubus +libpthread +TARGET_iopsys_ramips:swconfig +TARGET_iopsys_ramips:libnl-tiny +libopenssl +TARGET_intel_mips:iwinfo_wave
TITLE:=router info daemon
endef
@@ -53,15 +52,21 @@ define Package/questd/description
this information via ubus
endef
ifeq ($(CONFIG_TARGET_intel_mips),y)
define Build/Configure
cp $(PKG_BUILD_DIR)/intel/* $(PKG_BUILD_DIR)/
endef
endif
define Package/questd/install
$(CP) ./files/* $(1)/
$(INSTALL_DIR) $(1)/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/questd $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wificontrol $(1)/sbin/
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/wificontrol $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/graphd $(1)/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uproxyd $(1)/sbin/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/uproxyd $(1)/sbin/
#$(INSTALL_DIR) $(1)/usr/bin
#$(INSTALL_BIN) $(PKG_BUILD_DIR)/netcheck $(1)/usr/bin/
endef
$(eval $(call BuildPackage,questd))