Merge Official Source

This commit is contained in:
CN_SZTL 2020-04-10 20:02:44 +08:00
commit 6838fdef7e
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
4 changed files with 16 additions and 1 deletions

4
.gitignore vendored
View File

@ -16,6 +16,10 @@
/overlay
/package/feeds
/package/openwrt-packages
scripts/config/mconf_check
scripts/config/zconf.hash.c
scripts/config/zconf.lex.c
scripts/config/zconf.tab.c
/*.patch
key-build*
*.orig

View File

@ -867,6 +867,16 @@ define KernelPackage/sched-ctinfo
endef
$(eval $(call KernelPackage,sched-ctinfo))
define KernelPackage/sched-police
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Traffic shaper police support
DEPENDS:=+kmod-sched-core
KCONFIG:=CONFIG_NET_ACT_POLICE
FILES:=$(LINUX_DIR)/net/sched/act_police.ko
AUTOLOAD:=$(call AutoLoad,71, act_police)
endef
$(eval $(call KernelPackage,sched-police))
define KernelPackage/sched-ipset
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Traffic shaper ipset support

View File

@ -90,6 +90,7 @@ dlink,dwr-922-e2)
dlink,dwr-960)
ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x2e"
ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
;;
dovado,tiny-ac)
set_wifi_led "$boardname:orange:wifi"
;;

View File

@ -21,7 +21,7 @@ HOST_BUILD_PARALLEL:=1
include $(INCLUDE_DIR)/host-build.mk
ifneq ($(shell $(HOSTCC) --version | grep clang),)
HOST_CFLAGS += -D__GNUC_PREREQ\(...\)=0
HOST_CFLAGS += -D__GNUC_PREREQ\(...\)=0 -Dloff_t=off_t
endif
HOST_CFLAGS += $(FPIC)