diff options
author | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
---|---|---|
committer | wbx <wbx@hydrogenium.(none)> | 2009-05-17 14:41:34 +0200 |
commit | 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch) | |
tree | b9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/gdb |
Initial import
Diffstat (limited to 'package/gdb')
-rw-r--r-- | package/gdb/Config.in | 10 | ||||
-rw-r--r-- | package/gdb/Makefile | 29 | ||||
-rw-r--r-- | package/gdb/ipkg/gdb.control | 5 |
3 files changed, 44 insertions, 0 deletions
diff --git a/package/gdb/Config.in b/package/gdb/Config.in new file mode 100644 index 000000000..8ca2081f9 --- /dev/null +++ b/package/gdb/Config.in @@ -0,0 +1,10 @@ +config ADK_PACKAGE_GDB + prompt "gdb............................... GNU debugger" + tristate + default n + select ADK_PACKAGE_LIBNCURSES + select ADK_PACKAGE_LIBTHREAD_DB + depends on !ADK_LINUX_CRIS_FOXBOARD + help + GDB is a program for debugging applications. + diff --git a/package/gdb/Makefile b/package/gdb/Makefile new file mode 100644 index 000000000..dc4b736ff --- /dev/null +++ b/package/gdb/Makefile @@ -0,0 +1,29 @@ +# $Id$ +#- +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${TOPDIR}/rules.mk +include ${TOPDIR}/toolchain/gdb/Makefile.inc +include ${TOPDIR}/mk/package.mk + +$(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${ARCH})) + +TCPPFLAGS+= -L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib +TLDFLAGS+= -L${STAGING_DIR}/usr/lib -L${STAGING_DIR}/lib +TCFLAGS+= ${TCPPFLAGS} -fPIC +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \ + --disable-tui --disable-gdbtk --without-x \ + --without-included-gettext --disable-sim \ + --enable-threads --with-curses --disable-werror \ + --enable-static +BUILD_STYLE= auto +INSTALL_STYLE= auto +XAKE_FLAGS+= LDFLAGS='${TLDFLAGS}' + +post-install: + ${INSTALL_DIR} ${IDIR_GDB}/usr/bin + ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/ + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/gdb/ipkg/gdb.control b/package/gdb/ipkg/gdb.control new file mode 100644 index 000000000..43a0a8ad8 --- /dev/null +++ b/package/gdb/ipkg/gdb.control @@ -0,0 +1,5 @@ +Package: gdb +Priority: optional +Section: devel +Depends: libthread_db +Description: GNU Debugger |