X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/356535ffd7bc1343ce6bc2fc367f788cc2c1bd24..96bea49d845d31e8ceb59a010125f62d48bad8ef:/package/base-files/Makefile diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 04a63b749..16c6dc1eb 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -94,7 +94,7 @@ define Build/Compile endef define Package/base-files$(TARGET)/install - $(CP) ./default/* $(1)/ + $(CP) ./files/* $(1)/ if [ -d $(PLATFORM_DIR)/base-files/. ]; then \ $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \ fi @@ -125,18 +125,18 @@ define Package/base-files$(TARGET)/install endef define Package/libgcc/install - install -m0755 -d $(1)/lib + $(INSTALL_DIR) $(1)/lib $(CP) $(STAGING_DIR)/lib/libgcc_s.so.* $(1)/lib/ endef define Package/libpthread/install - install -m0755 -d $(1)/lib + $(INSTALL_DIR) $(1)/lib $(CP) $(STAGING_DIR)/lib/libpthread.so.* $(1)/lib/ $(CP) $(STAGING_DIR)/lib/libpthread-$(UCLIBC_VERSION).so $(1)/lib/ endef define Package/uclibc/install - install -m0755 -d $(1)/lib + $(INSTALL_DIR) $(1)/lib for file in ld-uClibc libc libcrypt libdl libm libnsl libresolv librt libuClibc libutil; do \ $(CP) $(STAGING_DIR)/lib/$$$$file.so.* $(1)/lib/; \ $(CP) $(STAGING_DIR)/lib/$$$$file-$(UCLIBC_VERSION).so $(1)/lib/; \