summaryrefslogtreecommitdiff
path: root/package/dnsmasq
diff options
context:
space:
mode:
authorJoerg Seitter <joerg.seitter@stz-gab.de>2015-07-26 11:38:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-26 10:41:03 +0200
commit9fa71a106f460934e90e6fb8344393b324747fc0 (patch)
tree0e29b1cd801abfdc0233d12ece1150068243b2b0 /package/dnsmasq
parent1c2162fa42194ba4b932dfa2e038c551b533e7c3 (diff)
added host build for dnsmasq
Signed-off-by: Joerg Seitter <joerg.seitter@stz-gab.de>
Diffstat (limited to 'package/dnsmasq')
-rw-r--r--package/dnsmasq/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/dnsmasq/Makefile b/package/dnsmasq/Makefile
index 2a21b28ba..376e872c0 100644
--- a/package/dnsmasq/Makefile
+++ b/package/dnsmasq/Makefile
@@ -18,15 +18,25 @@ PKGFD_PXE:= enable pxe network boot
PKGFS_PXE:= pxelinux
PKGFB_PXE:= syslinux
+include ${ADK_TOPDIR}/mk/host.mk
include ${ADK_TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,DNSMASQ,dnsmasq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= manual
CONFIG_STYLE:= manual
+host-build:
+ cd ${WRKBUILD} && make
+
+dnsmasq-hostinstall:
+ (cd $(WRKBUILD); make PREFIX=${STAGING_HOST_DIR}/usr install)
+
dnsmasq-install:
${INSTALL_DIR} ${IDIR_DNSMASQ}/usr/sbin ${IDIR_DNSMASQ}/etc
${INSTALL_BIN} ${WRKINST}/usr/sbin/dnsmasq ${IDIR_DNSMASQ}/usr/sbin
${INSTALL_DATA} ./files/dnsmasq.conf ${IDIR_DNSMASQ}/etc/dnsmasq.conf
+include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk