-define Build/Install
- (cd $(STAGING_DIR)/bin; \
- install -c $(PKG_BUILD_DIR)/gdb/gdb $(TARGET_CROSS)gdb; \
- ln -fs $(TARGET_CROSS)gdb $(GNU_TARGET_NAME)-gdb; \
- );
+define Host/Install
+ mkdir -p $(TOOLCHAIN_DIR)/usr/bin
+ $(INSTALL_BIN) $(HOST_BUILD_DIR)/gdb/gdb $(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CROSS)gdb
+ ln -fs $(TARGET_CROSS)gdb $(TOOLCHAIN_DIR)/usr/bin/$(GNU_TARGET_NAME)-gdb
+ strip $(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CROSS)gdb