PKG_NAME:=gdb
PKG_VERSION:=6.8
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNU/gdb
PKG_MD5SUM:=c9da266b884fb8fa54df786dfaadbc7a
+PKG_BUILD_PARALLEL:=0
+
include $(INCLUDE_DIR)/package.mk
define Package/gdb/Default
define Package/gdb
$(call Package/gdb/Default)
TITLE:=GNU Debugger
- DEPENDS+=+libreadline +libncurses
+ DEPENDS+=+libreadline +libncurses +PACKAGE_libexpat:libexpat
endef
define Package/gdb/description
# XXX: add --disable-werror to prevent build failure with arm
CONFIGURE_ARGS+= \
--with-system-readline \
+ --without-libexpat-prefix \
--disable-werror
CONFIGURE_VARS+= \
ac_cv_search_tgetent="$(TARGET_LDFLAGS) -lncurses -lreadline"
define Build/Compile
- $(MAKE) -C $(PKG_BUILD_DIR) \
+ $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
CPPFLAGS="$(TARGET_CPPFLAGS)" \
all