X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f52d66ff00b24111f87c274d3d7085ef2e1d27b1..71a4f236661616ac54546b6658a15a84d2ff7cf9:/package/gdbserver/Makefile?ds=inline diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile index c07eaf992..5f19a5fb4 100644 --- a/package/gdbserver/Makefile +++ b/package/gdbserver/Makefile @@ -11,10 +11,7 @@ PKG_NAME:=gdbserver PKG_VERSION:=6.3 PKG_RELEASE:=1 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install - -GDB_DIR:=$(TOOLCHAIN_BUILD_DIR)/gdb-$(PKG_VERSION) +GDB_DIR:=$(BUILD_DIR_TOOLCHAIN)/gdb-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk @@ -23,8 +20,11 @@ define Package/gdbserver CATEGORY:=Utilities DEPENDS:=@GDB@ TITLE:=Remote Server for the GNU Debugger - DESCRIPTION:=GDBSERVER is a program that allows you to run GDB on a different machine\\\ -than the one which is running the program being debugged. +endef + +define Package/gdbserver/description + GDBSERVER is a program that allows you to run GDB on a different machine + than the one which is running the program being debugged. endef define Build/Configure @@ -61,7 +61,7 @@ define Build/Compile endef define Package/gdbserver/install - install -m0755 -d $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/ endef