From patchwork Fri Nov 4 01:29:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danomi Manchego X-Patchwork-Id: 691109 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t945Q3jHSz9t2D for ; Fri, 4 Nov 2016 12:30:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E057695D94; Fri, 4 Nov 2016 01:29:56 +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 f10v94Jg0MLj; Fri, 4 Nov 2016 01:29:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DD9B795D8B; Fri, 4 Nov 2016 01:29:55 +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 7B0CB1D0CD2 for ; Fri, 4 Nov 2016 01:29:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7864F92999 for ; Fri, 4 Nov 2016 01:29:52 +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 Ez-h0rhoXEhu for ; Fri, 4 Nov 2016 01:29:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [69.252.207.35]) by whitealder.osuosl.org (Postfix) with ESMTPS id B3DAD92958 for ; Fri, 4 Nov 2016 01:29:51 +0000 (UTC) Received: from resomta-ch2-07v.sys.comcast.net ([69.252.207.103]) by resqmta-ch2-03v.sys.comcast.net with SMTP id 2TJ6cUcJR8GkC2TKJc0EnH; Fri, 04 Nov 2016 01:29:51 +0000 Received: from dmocelo-Aspire-one.hsd1.nj.comcast.net ([IPv6:2601:87:c200:2d0d:69b9:426e:193e:a68e]) by resomta-ch2-07v.sys.comcast.net with SMTP id 2TK4cNyxHV3TX2TKIctF6M; Fri, 04 Nov 2016 01:29:50 +0000 From: Danomi Manchego To: buildroot@busybox.net Date: Thu, 3 Nov 2016 21:29:30 -0400 Message-Id: <1478222971-2250-1-git-send-email-danomimanchego123@gmail.com> X-Mailer: git-send-email 1.9.1 X-CMAE-Envelope: MS4wfK1wDt3J9aNGBMemiJKPgL0e+VG07lwtGd02s372r63r+a3KQMPYfotg5h2KaLGc8xB5hp9bNaFJmD0Z70N2JmI32Xo/2LZpoGqectrc6lhYI+HuYcq5 tzibLn5t9IUOXPg9ebPO90MaBF63h8nF3E1FEXZgQVPbYmFcyAMhOiFUCSFmiWb3F5uSJw1TzGRL7pfEj2TZ7vnBU9R39qe7I7oNpGpaY8Vku5f5R/JFtxWJ eQJIol5fy5jJ0cVLk+ze5A== Subject: [Buildroot] [PATCH 1/2] python: improve reproducability X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The readline and hashlib options work simply by adding dependencies; there is no specific configure switch for them. Therefore, if those external dependencies are selected independent of python, then they can affect its compilation. So if those packages are selected outside of python, make them go first. Signed-off-by: Danomi Manchego --- package/python/python.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/python/python.mk b/package/python/python.mk index cc65376..8c51d23 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -60,7 +60,7 @@ HOST_PYTHON_DEPENDENCIES = host-expat host-zlib PYTHON_INSTALL_STAGING = YES -ifeq ($(BR2_PACKAGE_PYTHON_READLINE),y) +ifneq ($(BR2_PACKAGE_PYTHON_READLINE)$(BR2_PACKAGE_READLINE),) PYTHON_DEPENDENCIES += readline endif @@ -120,7 +120,7 @@ else PYTHON_CONF_OPTS += --disable-zlib endif -ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y) +ifneq ($(BR2_PACKAGE_PYTHON_HASHLIB)$(BR2_PACKAGE_OPENSSL),) PYTHON_DEPENDENCIES += openssl endif