Skip to contentSkip to conversation

netfilter, kbuild: use canonical method to specify objs.

PATCH Applied Jike Song 2 participants 2 messages Jun 2, 2017 – Jun 19, 2017

Subsystems (2)
lore
Share & tools
lore

Jike Song

author
#0 lore raw

PATCH 1/1 netfilter, kbuild: use canonical method to specify objs.

Should use ":=" instead of "+=".

---
 net/netfilter/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
net/netfilter/Makefile +3 -4
index c9b78e7..9133809 100644
@@ -70,10 +70,9 @@ obj-$(CONFIG_NETFILTER_SYNPROXY) += nf_synproxy_core.o
 obj-$(CONFIG_NF_DUP_NETDEV)	+= nf_dup_netdev.o
 
 # nf_tables
-nf_tables-objs += nf_tables_core.o nf_tables_api.o nf_tables_trace.o
-nf_tables-objs += nft_immediate.o nft_cmp.o nft_range.o
-nf_tables-objs += nft_bitwise.o nft_byteorder.o nft_payload.o
-nf_tables-objs += nft_lookup.o nft_dynset.o
+nf_tables-objs := nf_tables_core.o nf_tables_api.o nf_tables_trace.o \
+		  nft_immediate.o nft_cmp.o nft_range.o nft_bitwise.o \
+		  nft_byteorder.o nft_payload.o nft_lookup.o nft_dynset.o
 
 obj-$(CONFIG_NF_TABLES)		+= nf_tables.o
 obj-$(CONFIG_NF_TABLES_INET)	+= nf_tables_inet.o
Signature · 1 line
1.9.3
maintainer Applied
#1 lore raw
Quoted 1 line · Jike Song

Should use ":=" instead of "+=".

Applied, thanks.