else
VERSION:=$(PKG_RELEASE)
endif
- PKGARCH:=$(BOARD)
+ ifneq ($(CONFIG_TARGET_adm5120),y)
+ PKGARCH:=$(BOARD)
+ else
+ PKGARCH:=$(BOARD)_$(ARCH)
+ endif
PRIORITY:=optional
DEFAULT:=
MENU:=
KCONFIG:=
BUILDONLY:=
URL:=
+ VARIANT:=
endef
Build/Patch:=$(Build/Patch/Default)
--mandir=$(CONFIGURE_PREFIX)/man \
--infodir=$(CONFIGURE_PREFIX)/info \
$(DISABLE_NLS) \
- $(DISABLE_LARGEFILE)
+ $(DISABLE_LARGEFILE) \
+ $(DISABLE_IPV6)
CONFIGURE_VARS = \
$(TARGET_CONFIGURE_OPTS) \
$(2) \
$(CONFIGURE_CMD) \
$(CONFIGURE_ARGS) \
- $(1) \
- $(DISABLE_IPV6); \
+ $(1); \
fi; \
)
endef
$(MAKE_VARS) \
$(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \
$(MAKE_INSTALL_FLAGS) \
- $(1) install;
+ $(if $(1), $(1), install);
endef
define Build/Dist/Default