X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/37b9bb7ce2cf4ba218bb726180ccba01adb2d88f..748cabc8d44cb8d3cd0e11e9f7d5aafc18bd2faa:/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:=