summaryrefslogtreecommitdiffstats
path: root/rules/iptables.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2023-03-20 16:54:08 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2023-03-22 20:16:35 +0100
commit7195165005a3e007e0bbb498bd8a17b010617cbb (patch)
tree5c1aded3bfab27b581d51aaa4ea0aa1470dbbfac /rules/iptables.make
parent9ae79494df902d8386c01b8945b0d963ab795522 (diff)
downloadptxdist-7195165005a3e007e0bbb498bd8a17b010617cbb.tar.gz
ptxdist-7195165005a3e007e0bbb498bd8a17b010617cbb.tar.xz
iptables: stop using $(CROSS_LIB_DIR)
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/iptables.make')
-rw-r--r--rules/iptables.make8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/iptables.make b/rules/iptables.make
index b9dd5d90b..c32320254 100644
--- a/rules/iptables.make
+++ b/rules/iptables.make
@@ -49,7 +49,7 @@ IPTABLES_CONF_OPT := \
--disable-connlabel \
--disable-profiling \
--with-kernel=$(KERNEL_HEADERS_DIR) \
- --with-xtlibdir=/usr/$(CROSS_LIB_DIR)
+ --with-xtlibdir=/usr/lib
# ----------------------------------------------------------------------------
# Install
@@ -80,15 +80,15 @@ $(STATEDIR)/iptables.targetinstall:
ifdef PTXCONF_IPTABLES_LIBIPQ
@$(call install_lib, iptables, 0, 0, 0644, libipq)
endif
- @$(call install_glob, iptables, 0, 0, -, /usr/$(CROSS_LIB_DIR), */libxt_*.so,)
+ @$(call install_glob, iptables, 0, 0, -, /usr/lib, */libxt_*.so,)
ifdef PTXCONF_IPTABLES_IPV6
- @$(call install_glob, iptables, 0, 0, -, /usr/$(CROSS_LIB_DIR), */libip6t_*.so,)
+ @$(call install_glob, iptables, 0, 0, -, /usr/lib, */libip6t_*.so,)
@$(call install_lib, iptables, 0, 0, 0644, libip6tc)
endif
ifdef PTXCONF_IPTABLES_IPV4
- @$(call install_glob, iptables, 0, 0, -, /usr/$(CROSS_LIB_DIR), */libipt_*.so,)
+ @$(call install_glob, iptables, 0, 0, -, /usr/lib, */libipt_*.so,)
@$(call install_lib, iptables, 0, 0, 0644, libip4tc)
endif