Date:2010-10-10 17:33:43 (13 years 5 months ago)
Author:kyak
Commit:b7e90476dfb8ffbb2d7704fb4ce44f873089dcde
Message:gcc: don't strip shared libraries (now shared build works, too)

Files: gcc-mips/Makefile (2 diffs)

Change Details

gcc-mips/Makefile
2424SEP:=,
2525TARGET_LANGUAGES:="c$(if $(CONFIG_INSTALL_LIBSTDCPP),$(SEP)c++)$(if $(CONFIG_INSTALL_LIBGCJ),$(SEP)java)"
2626EXTRA_TARGET=$(if $(CONFIG_EXTRA_TARGET_ARCH),--enable-biarch --enable-targets=$(call qstrip,$(CONFIG_EXTRA_TARGET_ARCH_NAME))-linux-uclibc)
27RSTRIP:=:
28STRIP:=:
2729
2830define Package/gcc-mips
2931  SECTION:=devel
...... 
7678endef
7779
7880define Package/gcc-mips/install
79    $(INSTALL_DIR) $(1)/usr/lib/ $(1)/usr/bin/ $(1)/usr/include/
81    $(INSTALL_DIR) $(1)/usr/lib/ $(1)/usr/bin/ $(1)/usr/include/ $(1)/lib/
8082    cp -r $(PKG_INSTALL_DIR)/* $(1)
81    cp -r $(TOOLCHAIN_DIR)/usr/include/* $(1)/usr/include/
82    cp -r $(TOOLCHAIN_DIR)/usr/lib/* $(1)/usr/lib/
83    cp -rf $(TOOLCHAIN_DIR)/usr/include/* $(1)/usr/include/
84    cp -rf $(TOOLCHAIN_DIR)/usr/lib/* $(1)/usr/lib/
85    cp -rf $(TOOLCHAIN_DIR)/lib/* $(1)/lib
8386endef
8487
8588$(eval $(call BuildPackage,gcc-mips))

Archive Download the corresponding diff file



interactive