From patchwork Sun Nov 24 23:10:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1200020 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="umFDYX8N"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47Lm9451xJz9sPL for ; Mon, 25 Nov 2019 10:10:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D4F2C2046D; Sun, 24 Nov 2019 23:10:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FDyrVt7OZ-g5; Sun, 24 Nov 2019 23:10:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 663412034D; Sun, 24 Nov 2019 23:10:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 7E11A1BF3DB for ; Sun, 24 Nov 2019 23:10:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7B63985D8E for ; Sun, 24 Nov 2019 23:10:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sj_jg6lvazG8 for ; Sun, 24 Nov 2019 23:10:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 4FF9985D87 for ; Sun, 24 Nov 2019 23:10:11 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id n188so11747326wme.1 for ; Sun, 24 Nov 2019 15:10:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=zU3WS4K/7gwgiMHXTPAhiby9C8XiwGTs+G6fHowd2yk=; b=umFDYX8NnM4NrH910u3cVgLOp8FUNzKBQNtw8b0ve3aVatDTalNetTJJ/ZrlNyplO1 rMn+pWXKPIavuUVUHqLEm84tLDlN1FLLyN7yCiZJbQnbhjsEEEz4x1e/k9A+Yg4b2O0D ab/ez8OW0zyL8xyCkE3YPHFxFN+pLyhaBrzhqMKbJl9aDI+U2KT8HrIBi8qmrZWZa/no fNlBDm/LqBvEGM/xcOgAnaafOa0HX+tYaFtN7Jq3iD3+QflG39ct3a3xMoy5myaIxyDx aW2ywmv0ZKnc3sD6N9elMpHLpWEyhurmSArl/HnJSQuPP56WI7lZavJRQ9CaZAlCJJ0+ Ak7A== 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; bh=zU3WS4K/7gwgiMHXTPAhiby9C8XiwGTs+G6fHowd2yk=; b=ApbfKcVPV8/KQJkRRzd9PPgp2Z1bHQQYnevjcwMQ9ZwJzUtfe85rhDvEsDqH6lx5Lc D3DulFXmBFqF3QjiVI3UXTI/TzUJZ2xX/dMdYEtUkrHLH4eY4C+6bIPhbR/X9lt3zMSa U49cvZvC7XCSZy5d9mQKomYZKWubm4pTamBjT3jXO6CbAOtg74pP8wLxXWYcL+Yx3XQi +bKpLg4lf/pIdljlbmQqfvIP2ZeTy3usg9E2hd9fMCCtAWXPvFj3qWpxxkFTuHPVs4Zu IyrL562mnsXpFwu525Bro/933Mp6ZcEbo1LfNftwgqr7uYgGcPwWnRs5BU4laD0wUuje N9gA== X-Gm-Message-State: APjAAAXWWjKldeIrYrbNJSYpJWp0NhSxKWOfJ31ZsY6U2S0QoEL16VKg 5EYUIv4lxaHfTM/dtDFrzgL+Dk1t2pc= X-Google-Smtp-Source: APXvYqxju8IdeQcJZC1xKOt+86W/ZKBn3IQejSyaznb1Z691kbN2lyOIK+Yu66DrWLAv95QLR/3Jog== X-Received: by 2002:a1c:9917:: with SMTP id b23mr25973497wme.42.1574637009382; Sun, 24 Nov 2019 15:10:09 -0800 (PST) Received: from localhost.localdomain ([37.162.115.185]) by smtp.gmail.com with ESMTPSA id u14sm8035596wrm.51.2019.11.24.15.10.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2019 15:10:08 -0800 (PST) From: Angelo Compagnucci X-Google-Original-From: Angelo Compagnucci To: buildroot@buildroot.org Date: Mon, 25 Nov 2019 00:10:02 +0100 Message-Id: <20191124231002.32255-1-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/pkg-generic: fix reconfigure for kconfig packages 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Kconfig based packages are not really reconfigured if the .config file is not regenerated in the reconfigure target. Signed-off-by: Angelo Compagnucci --- package/pkg-generic.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 7d6fa08418..d7a678412e 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -693,6 +693,7 @@ $(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted $(2)_TARGET_SOURCE = $$($(2)_DIR)/.stamp_downloaded $(2)_TARGET_ACTUAL_SOURCE = $$($(2)_DIR)/.stamp_actual_downloaded $(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned +$(2)_TARGET_DOTCONFIG = $$($(2)_DIR)/.stamp_dotconfig # default extract command $(2)_EXTRACT_CMDS ?= \ @@ -904,6 +905,7 @@ $(1)-rebuild: $(1)-clean-for-rebuild $(1) $(1)-clean-for-reconfigure: $(1)-clean-for-rebuild rm -f $$($(2)_TARGET_CONFIGURE) + rm -f $$($(2)_TARGET_DOTCONFIG) $(1)-reconfigure: $(1)-clean-for-reconfigure $(1)