X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b787e266f8cc5fd851ecc9672c6a3e124ebc7064..7e450a1c869a5b227e3c91c4e71049059f1193e6:/package/gdbserver/Makefile?ds=inline diff --git a/package/gdbserver/Makefile b/package/gdbserver/Makefile index 0f976fff6..d4d149102 100644 --- a/package/gdbserver/Makefile +++ b/package/gdbserver/Makefile @@ -14,7 +14,7 @@ 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 +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