While the OpenWrt package repos are usually compatible, anything that requires kernel modules will require retrieval of the “kmod” packages from the matching GL.iNet repo. There is also the possibility that the libraries that the package call do not have the same version (“ABI”) and they won’t work.