From: Baruch Siach Date: Mon, 14 May 2018 03:23:56 +0000 (+0300) Subject: skeleton: create include/ directory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=967d302e8bbb409c5b5106b0c87091d47f01a890;p=buildroot.git skeleton: create include/ directory 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 Cc: Yann E. MORIN Signed-off-by: Baruch Siach Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- 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;; \