diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-09-16 10:21:53 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-09-16 10:21:53 +0000 |
commit | 32ba50b798ba3048969f8185f44b531045490a1d (patch) | |
tree | c0261c8f283beafa269420c591b43d54087a6654 /package/base-files/Makefile | |
parent | b7871c2d930a36781912158913218d71a174f10f (diff) | |
download | master-187ad058-32ba50b798ba3048969f8185f44b531045490a1d.tar.gz master-187ad058-32ba50b798ba3048969f8185f44b531045490a1d.tar.bz2 master-187ad058-32ba50b798ba3048969f8185f44b531045490a1d.zip |
Put back ldd and ldconfig (#1543)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8786 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r-- | package/base-files/Makefile | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 9b8478dfc8..1433d34228 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -104,6 +104,16 @@ $(call Package/uclibc/Default) TITLE:=C library embedded systems endef +define Package/ldd +$(call Package/uclibc/Default) + TITLE:=LDD trace utility +endef + +define Package/ldconfig +$(call Package/uclibc/Default) + TITLE:=Shared library path configuration +endef + define Build/Prepare mkdir -p $(PKG_BUILD_DIR) endef @@ -191,14 +201,22 @@ define Package/uclibc/install done endef +define Package/InstallDev + $(INSTALL_DIR) $(STAGING_DIR)/lib + for file in ld-uClibc libc libcrypt libdl libm libnsl libresolv librt libuClibc libutil; do \ + $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file.so.* $(STAGING_DIR)/lib/; \ + $(CP) $(TOOLCHAIN_DIR)/lib/$$$$file-$(UCLIBC_VERSION).so $(STAGING_DIR)/lib/; \ + done +endef + define Package/ldd/install $(INSTALL_DIR) $(1)/bin/ - $(CP) $(TOOLCHAIN_DIR)/utils/ldd $(1)/bin/ + $(CP) $(TOOLCHAIN_DIR)/target-utils/ldd $(1)/bin/ endef define Package/ldconfig/install $(INSTALL_DIR) $(1)/bin/ - $(CP) $(TOOLCHAIN_DIR)/utils/ldconfig $(1)/bin/ + $(CP) $(TOOLCHAIN_DIR)/target-utils/ldconfig $(1)/bin/ endef ifneq ($(DUMP),1) @@ -211,3 +229,5 @@ $(eval $(call BuildPackage,libssp)) $(eval $(call BuildPackage,libstdcpp)) $(eval $(call BuildPackage,libpthread)) $(eval $(call BuildPackage,uclibc)) +$(eval $(call BuildPackage,ldd)) +$(eval $(call BuildPackage,ldconfig)) |