diff mbox

[LEDE-DEV,1/3] base-files: Do not create lib64 symbolic links with external toolchains

Message ID 20160921181339.11188-2-f.fainelli@gmail.com
State Rejected
Headers show

Commit Message

Florian Fainelli Sept. 21, 2016, 6:13 p.m. UTC
Let the toolchain set the directory structure that we want, and do not force a
particular layout.

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

Patch

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