X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b787e266f8cc5fd851ecc9672c6a3e124ebc7064..fd7d7215c62c223031426b1b84e96cd4186bd148:/package/gdbserver/Makefile diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile index 0f976fff6..17dbbe8b0 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:=$(TOOL_BUILD_DIR)/gdb-$(PKG_VERSION) +GDB_DIR:=$(TOOLCHAIN_BUILD_DIR)/gdb-$(PKG_VERSION) include $(INCLUDE_DIR)/package.mk @@ -61,7 +58,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