X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Fpackage-defaults.mk;h=ef51710b9d8d84c8b357d96e2c7156cba83b4c42;hb=009984c949f2c30769320e0265b1973e10c104b2;hp=2cfce7a92dc418ea54b20a207459a1d2088f29da;hpb=614a348b8f39f3e27bd895871d5bb2d73a8f6591;p=openwrt%2Fsvn-archive%2Farchive.git diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 2cfce7a92d..ef51710b9d 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -23,7 +23,16 @@ define Package/Default else VERSION:=$(PKG_RELEASE) endif - PKGARCH:=$(BOARD) + ifneq ($(PKG_FLAGS),) + PKGFLAGS:=$(PKG_FLAGS) + else + PKGFLAGS:= + endif + ifneq ($(ARCH_PACKAGES),) + PKGARCH:=$(ARCH_PACKAGES) + else + PKGARCH:=$(BOARD) + endif PRIORITY:=optional DEFAULT:= MENU:= @@ -33,6 +42,7 @@ define Package/Default KCONFIG:= BUILDONLY:= URL:= + VARIANT:= endef Build/Patch:=$(Build/Patch/Default) @@ -117,7 +127,7 @@ define Build/Install/Default $(MAKE_VARS) \ $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \ $(MAKE_INSTALL_FLAGS) \ - $(1) install; + $(if $(1), $(1), install); endef define Build/Dist/Default