Skip to contentSkip to conversation

package/dhcp: copy dhcpctl and omapi libraries and headers into staging

PATCH Superseded Daniel Palmer 2 participants 2 messages Jun 26, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dhcp: copy dhcpctl and omapi libraries and headers into staging

---
 package/dhcp/dhcp.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
package/dhcp/dhcp.mk +21 -0
index a1285184d3..dac7235f08 100644
@@ -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))
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/dhcp: copy dhcpctl and omapi libraries and headers into staging

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

Quoted 34 lines
---
 package/dhcp/dhcp.mk | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
package/dhcp/dhcp.mk +21 -0
index a1285184d3..dac7235f08 100644
@@ -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))
Signature · 3 lines
     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 -