mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
Merge Official Source
This commit is contained in:
commit
6838fdef7e
4
.gitignore
vendored
4
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
;;
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user