From patchwork Wed Feb 10 18:51:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Tenart X-Patchwork-Id: 1439186 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.133; helo=hemlock.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=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=QWAqq3qT; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DbTQT37Cfz9sRf for ; Thu, 11 Feb 2021 05:52:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 156358743A; Wed, 10 Feb 2021 18:52:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DUWM7TW80I0S; Wed, 10 Feb 2021 18:52:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1BD5987401; Wed, 10 Feb 2021 18:52:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 19B241BF419 for ; Wed, 10 Feb 2021 18:52:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1058386E38 for ; Wed, 10 Feb 2021 18:52:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ANWgJxzp+5Fb for ; Wed, 10 Feb 2021 18:52:01 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by whitealder.osuosl.org (Postfix) with ESMTPS id 9BC1286B3A for ; Wed, 10 Feb 2021 18:52:01 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id B983C64E32; Wed, 10 Feb 2021 18:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612983121; bh=cCN7n4KaxJvbGHbz8mlaLq8nAr8qTqoF9jbUV4Zn5XU=; h=From:To:Cc:Subject:Date:From; b=QWAqq3qTdYxlg3SylqHqu8B+pAhfSJ3xCk5d/bE+riFI4Luu2U27JkepTn/QxeYq+ er2NbXnecb/D1EX1RsBrL9sou/CRkwYDNLL67ASl4jS0OYpJQX5Wshv05lxvGAINHZ WrRhHsn9ZZ2TwNiU7UXEyjyOkKqt74yTbOUYkFQ7aaQlMj71pKZzs+zGVrP1bxUcny 0Hc3kBTUMbjQwfr0xk4hUx/W+k2gmrudTq+fKNat3W8roqrmnaCoMiAdEYggVWqq4Y H09lyCA0advi7Ms73Ale5wocnEf/hJH6SBXXW3CBd81j2oAAN20kV1ko8/1rJYxI1W x4s3EDaeyldLQ== From: Antoine Tenart To: buildroot@busybox.net Date: Wed, 10 Feb 2021 19:51:58 +0100 Message-Id: <20210210185158.1254415-1-atenart@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/refpolicy: do not use the bare target in the configuration step 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: Antoine Tenart Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The 'bare' target is a clean target, removing generated files from previous builds. Here in Buildroot we'll only build the refpolicy from a clean state and we don't need to execute this target. Remove it. Signed-off-by: Antoine Tenart --- package/refpolicy/refpolicy.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/refpolicy/refpolicy.mk b/package/refpolicy/refpolicy.mk index 0194708b378d..62d96e68043c 100644 --- a/package/refpolicy/refpolicy.mk +++ b/package/refpolicy/refpolicy.mk @@ -108,7 +108,7 @@ define REFPOLICY_CONFIGURE_CMDS $(if $(REFPOLICY_EXTRA_MODULES_DIRS), \ $(REFPOLICY_COPY_EXTRA_MODULES) ) - $(REFPOLICY_MAKE) -C $(@D) bare conf + $(REFPOLICY_MAKE) -C $(@D) conf $(REFPOLICY_CONFIGURE_MODULES) endef