X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/37b9bb7ce2cf4ba218bb726180ccba01adb2d88f..22ecf6d623f8aa9393891bfd4ac7b0ffc461a59c:/include/package-defaults.mk diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 649f409f5..1d29119d8 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -23,10 +23,15 @@ define Package/Default else VERSION:=$(PKG_RELEASE) endif - ifneq ($(CONFIG_TARGET_adm5120),y) - PKGARCH:=$(BOARD) + ifneq ($(PKG_FLAGS),) + PKGFLAGS:=$(PKG_FLAGS) + else + PKGFLAGS:= + endif + ifneq ($(ARCH_PACKAGES),) + PKGARCH:=$(ARCH_PACKAGES) else - PKGARCH:=$(BOARD)_$(ARCH) + PKGARCH:=$(BOARD) endif PRIORITY:=optional DEFAULT:=