mac80211: fix encryption fallback for sta mode, add frequency/bssid selection support
[openwrt.git] / package / gdb / Makefile
1 # Copyright (C) 2006-2009 OpenWrt.org
2 #
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=gdb
10 PKG_VERSION:=6.8
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=@GNU/gdb
15 PKG_MD5SUM:=c9da266b884fb8fa54df786dfaadbc7a
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/gdb/Default
20 SECTION:=utils
21 CATEGORY:=Utilities
22 DEPENDS:= @!avr32
23 endef
24
25 define Package/gdb
26 $(call Package/gdb/Default)
27 TITLE:=GNU Debugger
28 DEPENDS+= +libreadline +libncurses
29 endef
30
31 define Package/gdb/description
32 GNU debugger
33 endef
34
35 define Package/gdbserver
36 $(call Package/gdb/Default)
37 TITLE:=Remote server for GNU Debugger
38 endef
39
40 define Package/gdbserver/description
41 GDBSERVER is a program that allows you to run GDB on a different machine
42 than the one which is running the program being debugged.
43 endef
44
45 CONFIGURE_ARGS+= \
46 --with-system-readline
47
48 CONFIGURE_VARS+= \
49 ac_cv_search_tgetent="$(TARGET_LDFLAGS) -lncurses -lreadline"
50
51 define Build/Compile
52 $(MAKE) -C $(PKG_BUILD_DIR) \
53 DESTDIR="$(PKG_INSTALL_DIR)" \
54 CPPFLAGS="$(TARGET_CPPFLAGS)" \
55 all install-gdb
56 endef
57
58 define Package/gdb/install
59 $(INSTALL_DIR) $(1)/usr/bin
60 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdb $(1)/usr/bin/
61 endef
62
63 define Package/gdbserver/install
64 $(INSTALL_DIR) $(1)/usr/bin
65 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/
66 endef
67
68 $(eval $(call BuildPackage,gdb))
69 $(eval $(call BuildPackage,gdbserver))
70
This page took 0.060652 seconds and 5 git commands to generate.