Let the toolchain set the directory structure that we want, and do not force a
particular layout.

Signed-off-by: Florian Fainelli <f.faine...@gmail.com>
---
 package/base-files/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index ef62db29bd17..bc5805546e17 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -140,12 +140,16 @@ define Package/base-files/install
        mkdir -p $(1)/etc/rc.d
        mkdir -p $(1)/overlay
        mkdir -p $(1)/lib/firmware
+ifneq ($(CONFIG_EXTERNAL_TOOLCHAIN),y)
        $(if $(LIB_SUFFIX),-$(LN) lib $(1)/lib$(LIB_SUFFIX))
+endif
        mkdir -p $(1)/mnt
        mkdir -p $(1)/proc
        mkdir -p $(1)/tmp
        mkdir -p $(1)/usr/lib
+ifneq ($(CONFIG_EXTERNAL_TOOLCHAIN),y)
        $(if $(LIB_SUFFIX),-$(LN) lib $(1)/usr/lib$(LIB_SUFFIX))
+endif
        mkdir -p $(1)/usr/bin
        mkdir -p $(1)/sys
        mkdir -p $(1)/www
-- 
2.9.3


_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to