From: Daniel Palmer <daniel@0x0f.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/dhcp: copy dhcpctl and omapi libraries and headers into staging
Date: Wed, 27 Jun 2018 00:41:45 +0900 [thread overview]
Message-ID: <20180626154145.27019-1-daniel@0x0f.com> (raw)
---
package/dhcp/dhcp.mk | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk
index a1285184d3..dac7235f08 100644
--- a/package/dhcp/dhcp.mk
+++ b/package/dhcp/dhcp.mk
@@ -118,4 +118,25 @@ define DHCP_INSTALL_TARGET_CMDS
$(DHCP_INSTALL_CLIENT)
endef
+define DHCP_INSTALL_STAGING_CMDS
+ $(INSTALL) -D -m 644 $(@D)/dhcpctl/dhcpctl.h \
+ $(HOST_DIR)/usr/include/dhcpctl/dhcpctl.h
+ $(INSTALL) -D -m 644 $(@D)/includes/isc-dhcp/dst.h \
+ $(HOST_DIR)/usr/include/isc-dhcp/dst.h
+ $(INSTALL) -D -m 644 -t $(HOST_DIR)/usr/include/omapip/ \
+ $(@D)/includes/omapip/alloc.h \
+ $(@D)/includes/omapip/buffer.h \
+ $(@D)/includes/omapip/convert.h \
+ $(@D)/includes/omapip/hash.h \
+ $(@D)/includes/omapip/isclib.h \
+ $(@D)/includes/omapip/omapip.h \
+ $(@D)/includes/omapip/omapip_p.h \
+ $(@D)/includes/omapip/result.h \
+ $(@D)/includes/omapip/trace.h
+ $(INSTALL) -D -m 644 $(@D)/dhcpctl/libdhcpctl.a \
+ $(HOST_DIR)/usr/lib/libdhcpctl.a
+ $(INSTALL) -D -m 644 $(@D)/omapip/libomapi.a \
+ $(HOST_DIR)/usr/lib/libomapi.a
+endef
+
$(eval $(autotools-package))
--
2.17.1
next reply other threads:[~2018-06-26 15:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 15:41 Daniel Palmer [this message]
2018-06-26 18:41 ` [Buildroot] [PATCH] package/dhcp: copy dhcpctl and omapi libraries and headers into staging Baruch Siach
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=20180626154145.27019-1-daniel@0x0f.com \
--to=daniel@0x0f.com \
--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