From: Jens Kleintje <scooby22@web.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 2/2] package/gcnano-binaries: Create directory before copy files
Date: Mon, 25 Nov 2019 11:14:26 +0100 [thread overview]
Message-ID: <20191125101426.10955-3-scooby22@web.de> (raw)
In-Reply-To: <20191125101426.10955-1-scooby22@web.de>
The directory $(1)/usr/include may not exist before copy files.
Signed-off-by: Jens Kleintje <scooby22@web.de>
---
package/gcnano-binaries/gcnano-binaries.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/gcnano-binaries/gcnano-binaries.mk b/package/gcnano-binaries/gcnano-binaries.mk
index 2913e664dc..b27571a08c 100644
--- a/package/gcnano-binaries/gcnano-binaries.mk
+++ b/package/gcnano-binaries/gcnano-binaries.mk
@@ -56,6 +56,7 @@ define GCNANO_BINARIES_INSTALL
$(1)/usr/lib/$(lib).$(GCNANO_BINARIES_LIB_VERSION).multi.release.so ; \
cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/$(lib).so* $(1)/usr/lib
)
+ mkdir -p $(1)/usr/include
cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/include/* $(1)/usr/include/
$(foreach pkgconfig,$(GCNANO_BINARIES_PKG_CONFIGS), \
$(INSTALL) -D -m 0644 $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/pkgconfig/$(pkgconfig).pc \
--
2.17.1
next prev parent reply other threads:[~2019-11-25 10:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-25 10:14 [Buildroot] [PATCH v2 0/2] package/gcnano-binaries Jens Kleintje
2019-11-25 10:14 ` [Buildroot] [PATCH v2 1/2] package/gcnano-binaries: Add package config files Jens Kleintje
2019-11-25 17:19 ` Thomas Petazzoni
2019-11-25 10:14 ` Jens Kleintje [this message]
2019-11-25 17:19 ` [Buildroot] [PATCH v2 2/2] package/gcnano-binaries: Create directory before copy files Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191125101426.10955-3-scooby22@web.de \
--to=scooby22@web.de \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox