mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 03:41:29 +00:00
Fix broken compile with external Toolchain. Commit32aaaaa7d3("xtables-addons: pass correct flags to compile and install") simplified and dropped the custom Compile/Install in favor of the default one. Problem is that it dropped DESTDIR resulting in the package having problem on finishing install. The commit then was reworked withc83b8787a5("xtables-addons: adapt build to EXTERNAL_TOOLCHAIN" that reintroduced DESTDIR and also introduced a useless custom flag to fix wrong ARCH. ARCH is fixed by kernel.mk and doesn't depend on external Toolchain or not. For ARCH that require fixing, kernel.mk should be fixed instead of adding custom function to packages Makefile. Drop the custom ARCH handling and use Compile/Install everytime. Fixes:32aaaaa7d3("xtables-addons: pass correct flags to compile and install") Fixes:c83b8787a5("xtables-addons: adapt build to EXTERNAL_TOOLCHAIN") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>