linux-nokia-n900: enable nftables support (MR 2060)
Based on https://wiki.gentoo.org/wiki/Nftables#Kernel
This commit is contained in:
parent
a772f7a5d4
commit
035896c571
2 changed files with 44 additions and 9 deletions
|
@ -2,12 +2,12 @@
|
|||
|
||||
pkgname=linux-nokia-n900
|
||||
pkgver=5.7.0
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Mainline kernel fork for Nokia N900"
|
||||
arch="armv7"
|
||||
url="https://kernel.org/"
|
||||
license="GPL-2.0-only"
|
||||
options="!strip !check !tracedeps pmb:cross-native"
|
||||
options="!strip !check !tracedeps pmb:cross-native pmb:kconfigcheck-nftables"
|
||||
makedepends="bison findutils flex installkernel openssl-dev perl"
|
||||
|
||||
_carch="arm"
|
||||
|
@ -55,7 +55,7 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="45bde01593f6147c8c169b9e46b4b56eee998142552ae0ff82f1dd21b1fd54f3b32f6283f6bd77ea717d374672167849e468c157f235d2f12f7d7816e4623bf6 linux-5.7.tar.xz
|
||||
91fa33ac6abf6908d9054ef651e724ceb825ee004e8931b66437ff442d9755cffc75c52b4b3cec1891b205360a504e4485ab3948cfd9fce4dcb5e99a2f96250d config-nokia-n900.armv7
|
||||
907b3385e394b8494440313236edf0950426253fb0ef9476c69b5e339afa3323ade4d67218e2e9378488375a217320376ea46d4a84e762fc1320839e306f41ea config-nokia-n900.armv7
|
||||
04a39253afd25a7de03dc45ff322161672005406543c44b97d2dc293f202de7de446aee9707a690a290641c55c7bed6e78bbe096ca323dd7d88d3207427c8d31 0001-ARM-dts-n900-increase-charge-current-limit-to-950mA.patch
|
||||
c1055c7a4d2e39ce13db3871d948022b62eb7ebeb898777d197169b3e7c04d705ce7f52f28214754e3cefe99d1dd66f339a1a5770bae1ee970d5926067032061 0002-ARM-dts-n900-remove-rx51-battery.patch
|
||||
93e82f7041e347b63fc32ce54176ee3fe7e8260cc793810bcf0146a3699567b63a0cb7ce8c531b0484390907a25c51bfbeb15b32dddb2220c2481ec1f86e5eb5 0003-power-supply-bq27xxx_battery-ignore-inaccurate-flag.patch"
|
||||
|
|
|
@ -4,13 +4,12 @@
|
|||
#
|
||||
|
||||
#
|
||||
# Compiler: gcc (Alpine 9.3.0) 9.3.0
|
||||
# Compiler: armv7-alpine-linux-musleabihf-gcc (Alpine 10.2.1_git20210328) 10.2.1 20210328
|
||||
#
|
||||
CONFIG_CC_IS_GCC=y
|
||||
CONFIG_GCC_VERSION=90300
|
||||
CONFIG_LD_VERSION=234000000
|
||||
CONFIG_GCC_VERSION=100201
|
||||
CONFIG_LD_VERSION=235020000
|
||||
CONFIG_CLANG_VERSION=0
|
||||
CONFIG_CC_CAN_LINK=y
|
||||
CONFIG_CC_HAS_ASM_GOTO=y
|
||||
CONFIG_CC_HAS_ASM_INLINE=y
|
||||
CONFIG_IRQ_WORK=y
|
||||
|
@ -938,7 +937,35 @@ CONFIG_NF_NAT=m
|
|||
CONFIG_NF_NAT_FTP=m
|
||||
CONFIG_NF_NAT_IRC=m
|
||||
CONFIG_NF_NAT_SIP=m
|
||||
# CONFIG_NF_TABLES is not set
|
||||
CONFIG_NF_NAT_MASQUERADE=y
|
||||
CONFIG_NF_TABLES=m
|
||||
CONFIG_NF_TABLES_INET=y
|
||||
CONFIG_NF_TABLES_NETDEV=y
|
||||
CONFIG_NFT_NUMGEN=m
|
||||
CONFIG_NFT_CT=m
|
||||
CONFIG_NFT_COUNTER=m
|
||||
CONFIG_NFT_CONNLIMIT=m
|
||||
CONFIG_NFT_LOG=m
|
||||
CONFIG_NFT_LIMIT=m
|
||||
CONFIG_NFT_MASQ=m
|
||||
# CONFIG_NFT_REDIR is not set
|
||||
CONFIG_NFT_NAT=m
|
||||
# CONFIG_NFT_TUNNEL is not set
|
||||
# CONFIG_NFT_OBJREF is not set
|
||||
# CONFIG_NFT_QUEUE is not set
|
||||
# CONFIG_NFT_QUOTA is not set
|
||||
# CONFIG_NFT_REJECT is not set
|
||||
# CONFIG_NFT_COMPAT is not set
|
||||
# CONFIG_NFT_HASH is not set
|
||||
# CONFIG_NFT_XFRM is not set
|
||||
# CONFIG_NFT_SOCKET is not set
|
||||
# CONFIG_NFT_OSF is not set
|
||||
# CONFIG_NFT_TPROXY is not set
|
||||
# CONFIG_NFT_SYNPROXY is not set
|
||||
# CONFIG_NF_DUP_NETDEV is not set
|
||||
# CONFIG_NFT_DUP_NETDEV is not set
|
||||
# CONFIG_NFT_FWD_NETDEV is not set
|
||||
# CONFIG_NF_FLOW_TABLE is not set
|
||||
CONFIG_NETFILTER_XTABLES=y
|
||||
|
||||
#
|
||||
|
@ -1031,6 +1058,10 @@ CONFIG_NETFILTER_XT_MATCH_U32=m
|
|||
CONFIG_NF_DEFRAG_IPV4=m
|
||||
# CONFIG_NF_SOCKET_IPV4 is not set
|
||||
# CONFIG_NF_TPROXY_IPV4 is not set
|
||||
CONFIG_NF_TABLES_IPV4=y
|
||||
# CONFIG_NFT_DUP_IPV4 is not set
|
||||
# CONFIG_NFT_FIB_IPV4 is not set
|
||||
# CONFIG_NF_TABLES_ARP is not set
|
||||
# CONFIG_NF_DUP_IPV4 is not set
|
||||
# CONFIG_NF_LOG_ARP is not set
|
||||
# CONFIG_NF_LOG_IPV4 is not set
|
||||
|
@ -1060,8 +1091,11 @@ CONFIG_IP_NF_MANGLE=m
|
|||
#
|
||||
# CONFIG_NF_SOCKET_IPV6 is not set
|
||||
# CONFIG_NF_TPROXY_IPV6 is not set
|
||||
CONFIG_NF_TABLES_IPV6=y
|
||||
# CONFIG_NFT_DUP_IPV6 is not set
|
||||
# CONFIG_NFT_FIB_IPV6 is not set
|
||||
# CONFIG_NF_DUP_IPV6 is not set
|
||||
# CONFIG_NF_REJECT_IPV6 is not set
|
||||
CONFIG_NF_REJECT_IPV6=m
|
||||
# CONFIG_NF_LOG_IPV6 is not set
|
||||
CONFIG_IP6_NF_IPTABLES=m
|
||||
# CONFIG_IP6_NF_MATCH_AH is not set
|
||||
|
@ -1083,6 +1117,7 @@ CONFIG_IP6_NF_FILTER=m
|
|||
# end of IPv6: Netfilter Configuration
|
||||
|
||||
CONFIG_NF_DEFRAG_IPV6=m
|
||||
# CONFIG_NF_TABLES_BRIDGE is not set
|
||||
# CONFIG_NF_CONNTRACK_BRIDGE is not set
|
||||
# CONFIG_BRIDGE_NF_EBTABLES is not set
|
||||
# CONFIG_BPFILTER is not set
|
||||
|
|
Loading…
Reference in a new issue