My custom package is not showing up due to $ARCH

Hi;

trunk; from a few days ago...

Playing around with Amlogic S912 (aarch64) support.

Package is not showing up in menuconfig.

tmp/.config-package.in shows:
depends on arm||i386||mips||mips64||mips64el||mipsel||x86_64

tried adding:
DEPENDS:=@arm||i386||mips||mips64||mips64el||mipsel||x86_64||aarch64
to Makefile. No change to tmp/.config-package.in

Where can I set the $ARCH depends for my (not kernel) package, or, where is depends on arm||i386||mips||mips64||mips64el||mipsel||x86_64 being set (some default?)

What am I missing?

Thanks;
Bill

Additional info:
if I manually edit tmp/.config-package.in, package entry to:
depends on arm||i386||mips||mips64||mips64el||mipsel||x86_64||aarch64

package shows up in menuconfig and make for package can start

It's in the Makefile, where-ever you are keeping the. What package?

If it's a OpenWrt package, it'll be in feeds/packages/.

Example: feeds/packages/lang/luajit/Makefile

define Package/luajit
 SUBMENU:=Lua
 SECTION:=lang
 CATEGORY:=Languages
 TITLE:=LuaJIT
 URL:=https://www.luajit.org
 DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64)
endef

You would edit it there. Be sure to do a touch Makefile before you do a make menuconfig so you can ensure it'll pickup the change.

You would change DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64) to DEPENDS:=@(i386||x86_64||arm||armeb||aarch64||powerpc||mips||mipsel||mips64||aarch64) in this example

Thanks Grommish;

That was it.
FYI, porting most of www.rossco.org (x86_64) to aarch64 to take advantage of inexpensive Amlogic TV boxes for IOT and generic server apps.

...B

hi do you still save this file?

https://forum.archive.openwrt.org/viewtopic.php?id=71993

Nope, long gone. I'm using trunk. You doing aarch64?