else
VERSION:=$(PKG_RELEASE)
endif
- PKGARCH:=$(ARCH)
+ 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)
--localstatedir=/var \
--mandir=$(CONFIGURE_PREFIX)/man \
--infodir=$(CONFIGURE_PREFIX)/info \
- $(DISABLE_NLS)
+ $(DISABLE_NLS) \
+ $(DISABLE_LARGEFILE) \
+ $(DISABLE_IPV6)
CONFIGURE_VARS = \
$(TARGET_CONFIGURE_OPTS) \
CXXFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \
CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \
- PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
- PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)"
CONFIGURE_PATH = .
CONFIGURE_CMD = ./configure
$(MAKE_INSTALL_FLAGS) \
$(1) install;
endef
+
+define Build/Dist/Default
+ $(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" dist)
+endef
+
+define Build/DistCheck/Default
+ $(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" distcheck)
+endef