Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
40 lines
1.3 KiB
BlitzBasic
40 lines
1.3 KiB
BlitzBasic
# Copyright (C) 2018 Daniel Dickinson <cshored@thecshore.com>
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
|
|
SUMMARY = "OpenWrt DHCP/DHCPv6(-PD)/RA Server & Relay"
|
|
HOMEPAGE = "http://git.openwrt.org/?p=project/odhcpd.git;a=summary"
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://src/odhcpd.c;beginline=1;endline=13;md5=b5b1da01ca7e1cdd0308c552dc0a1384"
|
|
SECTION = "base"
|
|
DEPENDS = "libubox ubus libnl-tiny uci"
|
|
|
|
FILESEXTRAPATHS:prepend = "${THIDIR}/${PN}:"
|
|
|
|
SRC_URI = "git://git.openwrt.org/project/odhcpd.git;protocol=https;branch=master;name=odhcpd \
|
|
"
|
|
|
|
SRCREV_odhcpd = "860ca900e41c5d0f98cc85e67b39977f6f2cb355"
|
|
|
|
S = "${WORKDIR}/git"
|
|
OF = "${S}/openwrt/package/network/services/odhcpd/files"
|
|
|
|
inherit cmake pkgconfig openwrt openwrt-services openwrt-base-files
|
|
|
|
SRCREV_openwrt = "${OPENWRT_SRCREV}"
|
|
|
|
EXTRA_OECMAKE:append = " -DUBUS=1"
|
|
|
|
do_install:append() {
|
|
install -Dm 0644 ${OF}/odhcpd.defaults ${D}${sysconfdir}/uci-defaults/odhcpd
|
|
install -Dm 0755 ${OF}/odhcpd.init ${D}${sysconfdir}/init.d/odhcpd
|
|
install -Dm 0755 ${OF}/odhcpd-update ${D}${sbindir}/odhcpd-update
|
|
}
|
|
|
|
FILES:${PN} += "\
|
|
${sysconfdir}/uci-defaults/odhcpd.defaults \
|
|
${sysconfdir}/init.d/odhcpd \
|
|
${sbindir}/odhcpd-update \
|
|
"
|
|
|
|
RDEPENDS:${PN} += "base-files-scripts-openwrt"
|