Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/dhcp: copy dhcpctl and omapi libraries and headers into staging
@ 2018-06-26 15:41 Daniel Palmer
  2018-06-26 18:41 ` Baruch Siach
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Palmer @ 2018-06-26 15:41 UTC (permalink / raw)
  To: buildroot

---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] package/dhcp: copy dhcpctl and omapi libraries and headers into staging
  2018-06-26 15:41 [Buildroot] [PATCH] package/dhcp: copy dhcpctl and omapi libraries and headers into staging Daniel Palmer
@ 2018-06-26 18:41 ` Baruch Siach
  0 siblings, 0 replies; 2+ messages in thread
From: Baruch Siach @ 2018-06-26 18:41 UTC (permalink / raw)
  To: buildroot

Hi Daniel,

Thanks for your contribution. A few comment on your patch below.

On Wed, Jun 27, 2018 at 12:41:45AM +0900, Daniel Palmer wrote:

Please explain in the commit log why you need this change.

You also need to sign-off your patch.

baruch

> ---
>  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))

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-26 18:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 15:41 [Buildroot] [PATCH] package/dhcp: copy dhcpctl and omapi libraries and headers into staging Daniel Palmer
2018-06-26 18:41 ` Baruch Siach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox