[LEDE-DEV] [PATCH 1/3] base-files: Do not create lib64 symbolic links with external toolchains
Florian Fainelli
f.fainelli at gmail.com
Wed Sep 21 11:13:37 PDT 2016
Let the toolchain set the directory structure that we want, and do not force a
particular layout.
Signed-off-by: Florian Fainelli <f.fainelli at 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
More information about the Lede-dev
mailing list