I need to update the LuaJIT package. Specifically, I need to alter the OPENWRT Makefile for the package to allow for mips64 support. I've created a patch to do this, but is there a place to keep it that automatically is run prior to the make menuconfig? Obviously, the feeds/packages/lang/luajit/patches is there, but it is called and applied during the compile itself.
Below is the patch file
@@ -24,14 +24,14 @@
LuaJIT is a Just-In-Time (JIT) compiler for the Lua programming language. *** Requires GCC Multilib on host system to build! ***
+ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH),x86_64 mips64))
HOST_BITS := -m32