Date:2010-05-02 06:40:48 (7 years 6 months ago)
Author:nico
Commit:04e95f922563aa2efdc70434ed5f1976f3abf7d4
Message:[backfire] merge r21282 (closes: #6918)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: package/base-files/Makefile (4 diffs)

Change Details

package/base-files/Makefile
1010include $(INCLUDE_DIR)/kernel.mk
1111
1212PKG_NAME:=base-files
13PKG_RELEASE:=42
13PKG_RELEASE:=43
1414
1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
1616
...... 
2222    TARGET:=$(TARGET)-$(PROFILE)
2323  endif
2424  LIBGCC_VERSION:=$(GCC_VERSION)
25  ifeq ($(ARCH),x86_64)
26    LIB_SUFFIX:=64
27  endif
28  ifneq ($(findstring mips64,$(ARCH)),)
25  ifneq ($(findstring $(ARCH) , mips64 x86_64 ),)
2926    LIB_SUFFIX:=64
3027  endif
3128else
...... 
395392
396393  define Package/libgcc/install
397394    $(INSTALL_DIR) $(1)/lib
398    $(CP) $(TOOLCHAIN_DIR)/lib$(LIB_SUFFIX)/libgcc_s.so.* $(1)/lib/
395    $(CP) $(TOOLCHAIN_DIR)/lib/libgcc_s.so.* $(1)/lib/
399396  endef
400397
401398  define Package/libssp/install
402399    $(INSTALL_DIR) $(1)/lib
403    $(CP) $(TOOLCHAIN_DIR)/lib$(LIB_SUFFIX)/libssp.so.* $(1)/lib/
400    $(CP) $(TOOLCHAIN_DIR)/lib/libssp.so.* $(1)/lib/
404401  endef
405402
406403  define Package/libstdcpp/install
407404    $(INSTALL_DIR) $(1)/usr/lib
408    $(CP) $(TOOLCHAIN_DIR)/usr/lib$(LIB_SUFFIX)/libstdc++.so.* $(1)/usr/lib/
405    $(CP) $(TOOLCHAIN_DIR)/usr/lib/libstdc++.so.* $(1)/usr/lib/
409406  endef
410407
411408  use_libutil=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),libutil)
...... 
428425
429426  define Package/uClibc/install
430427    $(INSTALL_DIR) $(1)/lib
431    for file in ld$(LIB_SUFFIX)-uClibc libc libcrypt libdl libm libnsl libresolv libuClibc libutil; do \
428    $(CP) \
429        $(TOOLCHAIN_DIR)/lib/ld*-uClibc.so.* \
430        $(TOOLCHAIN_DIR)/lib/ld*-uClibc-$(LIBC_SO_VERSION).so \
431        $(1)/lib/
432    $(CP) \
433        $(TOOLCHAIN_DIR)/lib/libc.so.* \
434        $(TOOLCHAIN_DIR)/lib/libuClibc-$(LIBC_SO_VERSION).so \
435        $(1)/lib/
436    for file in libcrypt libdl libm libnsl libresolv libutil; do \
432437        $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file.so.* $(1)/lib/; \
433438        $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so $(1)/lib/; \
434439    done

Archive Download the corresponding diff file



interactive