[Buildroot] [git commit] skeleton: create include/ directory
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat May 19 20:43:30 UTC 2018
commit: https://git.buildroot.net/buildroot/commit/?id=967d302e8bbb409c5b5106b0c87091d47f01a890
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Don't rely on a random host package to create the include/ directory for
us. Some packages do the wrong thing since they implicitly assume that
this directory exists already. Commit a557aedad2 (zstd: fix host headers
installation) shows an example of that.
Cc: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
Cc: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
package/skeleton/skeleton.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
index efcf420d72..9d97f02f08 100644
--- a/package/skeleton/skeleton.mk
+++ b/package/skeleton/skeleton.mk
@@ -16,6 +16,7 @@ SKELETON_ADD_SKELETON_DEPENDENCY = NO
define HOST_SKELETON_INSTALL_CMDS
$(Q)ln -snf . $(HOST_DIR)/usr
$(Q)mkdir -p $(HOST_DIR)/lib
+ $(Q)mkdir -p $(HOST_DIR)/include
$(Q)case $(HOSTARCH) in \
(*64) ln -snf lib $(HOST_DIR)/lib64;; \
(*) ln -snf lib $(HOST_DIR)/lib32;; \
More information about the buildroot
mailing list