mkdir -p $(1)/usr/bin
mkdir -p $(1)/sys
mkdir -p $(1)/www
+ mkdir -p $(1)/root
ln -sf /proc/mounts $(1)/etc/mtab
rm -f $(1)/var
ln -sf /tmp $(1)/var
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)/target-utils/ldd $(1)/bin/