mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-20 01:20:35 +08:00
Compare commits
8 Commits
sysmngr_co
...
fredrik_uc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21f81a918f | ||
|
|
c5048d8ea3 | ||
|
|
33580c651a | ||
|
|
a7b955d5dc | ||
|
|
67f627bce9 | ||
|
|
cb1cd287e2 | ||
|
|
4c4ceacd10 | ||
|
|
fc7df2af6d |
54
uci-diff/Makefile
Normal file
54
uci-diff/Makefile
Normal file
@@ -0,0 +1,54 @@
|
||||
#
|
||||
# Copyright (C) 2016 Inteno
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
include $(INCLUDE_DIR)/kernel.mk
|
||||
include $(INCLUDE_DIR)/version.mk
|
||||
include $(INCLUDE_DIR)/feeds.mk
|
||||
|
||||
PKG_NAME:=uci-diff
|
||||
PKG_VERSION:=1
|
||||
|
||||
PKG_SOURCE_VERSION:=aed64062ac44010b6d7335a248c7cdeb922bea13
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=git@private.inteno.se:uci-diff
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
LDFLAGS+= \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib \
|
||||
-Wl,-rpath-link=$(STAGING_DIR)/lib
|
||||
|
||||
define Package/uci-diff
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libuci +libubox +ubus +libjson-c +libblobmsg-json
|
||||
TITLE:=uci-diff
|
||||
endef
|
||||
|
||||
define Package/uci-diff/description
|
||||
uci-diff
|
||||
endef
|
||||
|
||||
define Package/uci-diff/install
|
||||
$(CP) ./files/* $(1)/
|
||||
$(INSTALL_DIR) $(1)/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/uci-diff $(1)/sbin/
|
||||
endef
|
||||
|
||||
#define Host/Compile
|
||||
# $(MAKE) -C $(HOST_BUILD_DIR) CC="$(HOSTCC)" all
|
||||
#endef
|
||||
|
||||
define Host/Install
|
||||
$(INSTALL_DIR) $(1)/bin
|
||||
$(INSTALL_BIN) $(HOST_BUILD_DIR)/uci-diff $(STAGING_DIR_HOST)/bin/uci-diff
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,uci-diff))
|
||||
$(eval $(call HostBuild))
|
||||
43
uci-diff/files/etc/uci-diff/default/wireless
Normal file
43
uci-diff/files/etc/uci-diff/default/wireless
Normal file
@@ -0,0 +1,43 @@
|
||||
{"wireless": {
|
||||
"wifi-device": {
|
||||
"type": "broadcom",
|
||||
"country": "EU/13",
|
||||
"band": "a",
|
||||
"bandwidth": "80",
|
||||
"hwmode": "11ac",
|
||||
"channel": "auto",
|
||||
"scantimer": "0",
|
||||
"wmm": "1",
|
||||
"wmm_noack": "0",
|
||||
"wmm_apsd": "1",
|
||||
"txpower": "100",
|
||||
"rateset": "default",
|
||||
"frag": "2346",
|
||||
"rts": "2347",
|
||||
"dtim_period": "1",
|
||||
"beacon_int": "100",
|
||||
"rxchainps": "0",
|
||||
"rxchainps_qt": "10",
|
||||
"rxchainps_pps": "10",
|
||||
"rifs": "0",
|
||||
"rifs_advert": "0",
|
||||
"maxassoc": "32",
|
||||
"doth": "1",
|
||||
"dfsc": "1",
|
||||
"disabled": "1"
|
||||
},
|
||||
"wifi-iface": {
|
||||
"device": "wl0",
|
||||
"network": "lan",
|
||||
"mode": "ap",
|
||||
"ssid": "Inteno-4BC8",
|
||||
"encryption": "mixed-psk",
|
||||
"cipher": "auto",
|
||||
"key": "1234567890",
|
||||
"gtk_rekey": "3600",
|
||||
"macfilter": "0",
|
||||
"wps_pbc": "1",
|
||||
"wmf_bss_enable": "1",
|
||||
"bss_max": "16"
|
||||
}
|
||||
}}
|
||||
22
uci-diff/files/etc/uci-diff/inteno/wireless
Normal file
22
uci-diff/files/etc/uci-diff/inteno/wireless
Normal file
@@ -0,0 +1,22 @@
|
||||
{"wireless": {
|
||||
"wl0": {
|
||||
".name": "wl0",
|
||||
".type": "wifi-device",
|
||||
"channel": 100
|
||||
},
|
||||
"wl1": {
|
||||
".name": "wl1",
|
||||
".type": "wifi-device",
|
||||
"wmm": 0
|
||||
},
|
||||
"wi0-0": {
|
||||
".type": "wifi-iface",
|
||||
"device": "wi0-0",
|
||||
"ssid": "Fredrik"
|
||||
},
|
||||
"wi1-0": {
|
||||
".type": "wifi-iface",
|
||||
"device": "wi1-0",
|
||||
"ssid": "blah"
|
||||
}
|
||||
}}
|
||||
Reference in New Issue
Block a user