+ ln -sf /tmp/resolv.conf $(1)/etc/resolv.conf
+ $(call Package/base-files/install-target,$(1))
+ for conffile in $(1)/etc/config/*; do \
+ if [ -f "$$$$conffile" ]; then \
+ grep "$$$$conffile" $(1)/CONTROL/conffiles || \
+ echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \
+ fi \
+ done
+endef
+
+define Package/libgcc/install
+ $(INSTALL_DIR) $(1)/lib
+ $(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/
+endef
+
+ifeq ($(word 1,$(subst ., ,$(LIBGCC_VERSION))),4)
+ define Package/libssp/install
+ $(INSTALL_DIR) $(1)/lib
+ $(CP) $(STAGING_DIR)/lib/libssp.so.* $(1)/lib/
+ endef
+endif
+
+define Package/libstdcpp/install
+ $(INSTALL_DIR) $(1)/lib
+ $(CP) $(STAGING_DIR)/lib/libstdc++.so.* $(1)/lib/
+endef
+
+define Package/libpthread/install
+ $(INSTALL_DIR) $(1)/lib
+ $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/
+ $(CP) $(STAGING_DIR)/lib/libpthread-$(UCLIBC_VERSION).so $(1)/lib/