mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/dhcp: add host-gawk optional dependency
On hosts where gawk is not available, it is not possible to build the package with server option (BR2_PACKAGE_DHCP_SERVER). The build goes through without errors but the binaries are not created and installed. The reason is that autotools cannot find gawk. Fixes: Bug 13781 Reported-by: Kay Jeschonneck <kay.jeschonneck@airbus.com> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
75496165dc
commit
085d20e5e6
@@ -55,6 +55,7 @@ define DHCP_INSTALL_LIBS
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DHCP_SERVER),y)
|
||||
DHCP_DEPENDENCIES += host-gawk
|
||||
define DHCP_INSTALL_CTL_LIBS
|
||||
$(MAKE) -C $(@D)/dhcpctl install-exec DESTDIR=$(TARGET_DIR)
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user