From patchwork Fri May 7 09:37:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Thiery X-Patchwork-Id: 1475439 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=INdxCHrh; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fc5642FdTz9sj5 for ; Fri, 7 May 2021 19:40:26 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id EDC2684404; Fri, 7 May 2021 09:40:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EiwuqDwCpnc8; Fri, 7 May 2021 09:40:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 5A38484398; Fri, 7 May 2021 09:40:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id BE1B51BF873 for ; Fri, 7 May 2021 09:40:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id ADD8260A74 for ; Fri, 7 May 2021 09:40:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LwjgPRH-NDXE for ; Fri, 7 May 2021 09:40:21 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by smtp3.osuosl.org (Postfix) with ESMTPS id 02F99607F1 for ; Fri, 7 May 2021 09:40:20 +0000 (UTC) Received: by mail-wr1-x430.google.com with SMTP id d11so8499577wrw.8 for ; Fri, 07 May 2021 02:40:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=x3p6jx4y9yvzBO0JWlatMF/iZmoWAocgvLun8fFgv7g=; b=INdxCHrhPjpYDYGHTaT93qRpyIlpzEUMjAZMMkZfSqzywHnCUVVQwKyN6yPMVEZGNM qprrytrkDuthy5rh9ElMxsnzfL15uTPZmQZg7umEUEL6tTtQRykW+/SAyNHFmkSC0No9 wGwWmevdvJ5SdDp5RNB59s9WiNF6zN8U9Z58Y59BImQMi5wKvunPkuRxrCfz6YcH/6SW qdv9N8wzB2QoVr3OOljbRqEK38JjczpmNo2iaZ8dDpt3SNe7mI13wzRULYIWmBhELctv w/Sq3dNETKtRxb9uBzfH5O9w1VZoXRXpE94MJ0F6ujL1twDh18zem0xHyTe19Y1ByiJI 17kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=x3p6jx4y9yvzBO0JWlatMF/iZmoWAocgvLun8fFgv7g=; b=ZC6MP2o3yXdkPKGU1ZvDA/1humb7HrFQEuLCAT7pNFQrNJWesVXWqbP8Eof7U22q1a g3E+vdceT6cdCGs+hY2eG1dpVY081ZU7coqB/HSCtp+9WZxLkm/SLavhRZ0R9mXEuV0y o/o53NvKdE/XltD/217B8TTKJqGMulHYJ7fezzffBDnao398vc/YKtMcelQEd2SB4CUY 6J/TjSDmoJb/NzFO7xrOkjd0r14sCkvHNk4cvkXARlMEPPQRtOtKxhlAmat4pUnBA39k PDlPLRNavAmC/n10AnNl/fzD7Q9c6SyDWUGEfZE+VAf34ti6j2tqTFF2Jo+/0LCavo4U Ps8g== X-Gm-Message-State: AOAM533kqh3nbaZBHBGdAMuFgsSiyEnhhFxjF6xmR0VfAqHfP2z9Km2v FbkGZBQOMMCRenS0VMURutQRtNVzBTN0gw== X-Google-Smtp-Source: ABdhPJwKdGT1Tt/lJvgD65b5qTXmpe5MVZUfMR1MGnNcFg8wHyEdqQFMMsEPPwwJuC00gKVpJ1w/mw== X-Received: by 2002:a5d:4cce:: with SMTP id c14mr11543796wrt.29.1620380419100; Fri, 07 May 2021 02:40:19 -0700 (PDT) Received: from hthiery.fritz.box (ip1f1322f8.dynamic.kabel-deutschland.de. [31.19.34.248]) by smtp.gmail.com with ESMTPSA id m11sm7895290wri.44.2021.05.07.02.40.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 May 2021 02:40:18 -0700 (PDT) From: Heiko Thiery To: buildroot@buildroot.org Date: Fri, 7 May 2021 11:37:59 +0200 Message-Id: <20210507093758.20052-1-heiko.thiery@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/dhcp: add host-gawk optional dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Thiery , Kay Jeschonneck Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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 13787 Reported-by: Kay Jeschonneck Signed-off-by: Heiko Thiery --- package/dhcp/dhcp.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 988c7792dc..8d7157f357 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -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