[Buildroot] [PATCH] package/skeleton: remove legacy mkdir

Yann E. MORIN yann.morin.1998 at free.fr
Tue Jan 3 21:01:03 UTC 2017

We've had this mkdir, in various forms, for aeons. It dates back to
the inception of Buildroot, at the dawn of ages, when the toolchain
support was still nascent. Evolution had it morph from /include, to
a tuple-prefixed directory and a symlink there-to, then back to the
/include directory, to the final /usr/include directory we've had
for the last 9 years.

Anything that wants to install headers is supposed to be creating
that directory beforehand; we don't need this legacy mkdir now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

OK, we can keep it, just for nostalgia; I just felt like writing some
prose tonight. ;-)
 package/skeleton/skeleton.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
index 1000161..e65ef61 100644
--- a/package/skeleton/skeleton.mk
+++ b/package/skeleton/skeleton.mk
@@ -107,7 +107,6 @@ define SKELETON_INSTALL_STAGING_CMDS
 	$(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/lib
 	$(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/bin
 	$(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/sbin
-	$(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include
 	ln -snf lib $(STAGING_DIR)/usr/$(SKELETON_LIB_SYMLINK)

More information about the buildroot mailing list