From patchwork Mon Jan 18 15:42:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Kehn X-Patchwork-Id: 569579 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id D1671140B04 for ; Tue, 19 Jan 2016 02:42:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=yahoo.com header.i=@yahoo.com header.b=DIMM3HYs; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1891832D6E; Mon, 18 Jan 2016 15:42:50 +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 zfArARkj+bHe; Mon, 18 Jan 2016 15:42:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 61750302DC; Mon, 18 Jan 2016 15:42:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 75CFB1C08FE for ; Mon, 18 Jan 2016 15:42:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 714C632A3F for ; Mon, 18 Jan 2016 15:42:45 +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 kENfbLBdEa7P for ; Mon, 18 Jan 2016 15:42:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm26.bullet.mail.ne1.yahoo.com (nm26.bullet.mail.ne1.yahoo.com [98.138.90.89]) by silver.osuosl.org (Postfix) with ESMTPS id 63BBA32D77 for ; Mon, 18 Jan 2016 15:42:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1453131762; bh=xSAuOJgUkQVDDQdDRU5cY8KAJvCdm1KotN2SYoiyglw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Subject; b=DIMM3HYsxxXyD09CNVTg9lDwl/XzZwBDCah+QuAXLj9aocyN/dlGZsiLKICl+BIr4bL+ojFrSNjnPuG6bYEC0/suAnL81AFzxCwcJyYCkD3KbBe2KsZtbgLsZ7pngUbnTV0vPPepoksF6G4bb0zh/P/OJc2g4wU4vWfUCR8/zKI+AZL4cy7pBNLjb7f/FGmw3+eXTeLJCU3fm4TCKGSiakpkVznqQPJd5e8ejzPcUuD7h0Jlv51CNcyVUSej5fo7zNTfhEE6iUE4eMVQkXyRw3JGVyIlNEsgB0dZ7/5AW34C5ZB3GnKL4il8DorU0wHbil9pSpuinXckUpHs20TQIA== Received: from [98.138.226.176] by nm26.bullet.mail.ne1.yahoo.com with NNFMP; 18 Jan 2016 15:42:42 -0000 Received: from [98.138.226.129] by tm11.bullet.mail.ne1.yahoo.com with NNFMP; 18 Jan 2016 15:42:42 -0000 Received: from [127.0.0.1] by smtp216.mail.ne1.yahoo.com with NNFMP; 18 Jan 2016 15:42:42 -0000 X-Yahoo-Newman-Id: 843599.59460.bm@smtp216.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: G8MJvV0VM1lBQWr3WFLlKG0rNT8mpLeQ8PaaadybnB1ARv2 7tjbg2BZB5Qon01Yq34wDaAf302O0NMiYbXAm5rDGd9DbxwwXljBXZBC2Fu_ jrWvY.bUx.C92dVLu1n8Udxy0t5hFCf0MqSa5OpSg.N3GOiraZpQ3Xskq20E fsCJb7g5fVGd2Qx.e51wmyIv0wLn9ODAfDhnTBAo161XgG_nhPofmnQLlkyH o2Z8ZY46hmFkwKpY0LQyRhDoBfBbvNUIn8mCQiUU4Q7m3_SbLJtt5Gsj_qqz zmc.duRgxW27IQsrileKXmt4DhAD9rZw9sLdzbsIa48FFdhUAf49wXWLgoGB GZGQOn_XP0GVeQALi7RrgoDVZiaHoPwLHJYAaam6aLKO3w2RB.AeDpQ1f9fx kisdqGE0K6meA1bS1kPHxuq489Mf5nEij1whVWwFwo_T8F7jjyECeSKnraD9 xucHPTZPZGpgzRicGAfTVfXRFQN5ePdGYNCAdImL.1t4gXNuJZxnz9eIUSRV qBHalh.09HcjwZTtml6yVBLsicU_eY1hS5ExAtGrv0SU- X-Yahoo-SMTP: tVp.douswBADms9I1_pvnFcs0w-- From: Doug Kehn To: buildroot@buildroot.org Date: Mon, 18 Jan 2016 09:42:21 -0600 Message-Id: <1453131741-1613-5-git-send-email-rdkehn@yahoo.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1453131741-1613-1-git-send-email-rdkehn@yahoo.com> References: <1453131741-1613-1-git-send-email-rdkehn@yahoo.com> Cc: ricardo.martincoski@gmail.com Subject: [Buildroot] [PATCH v3 4/4] package/dhcp: remove hard coded ar referece 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" Allow AR to be substituted so toolchain ar will be referenced when cross compiling. This patch has been submitted upstream. Signed-off-by: Doug Kehn Cc: Arnout Vandecappelle --- Changes v2 -> v3: - removed RFC tag Changes v1 -> v2: - new for v2 (suggested by Arnout) --- package/dhcp/0003-toolchain-ar.patch | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 package/dhcp/0003-toolchain-ar.patch diff --git a/package/dhcp/0003-toolchain-ar.patch b/package/dhcp/0003-toolchain-ar.patch new file mode 100644 index 0000000..17ad9c3 --- /dev/null +++ b/package/dhcp/0003-toolchain-ar.patch @@ -0,0 +1,58 @@ +remove hard coded ar reference + +Allow AR to be substituted so toolchain ar can be referenced when cross +compiling. + +Signed-off-by: Doug Kehn + +Index: dhcp-4.3.3-P1/common/Makefile.in +=================================================================== +--- dhcp-4.3.3-P1.orig/common/Makefile.in ++++ dhcp-4.3.3-P1/common/Makefile.in +@@ -99,7 +99,7 @@ CONFIG_HEADER = $(top_builddir)/includes + CONFIG_CLEAN_FILES = + CONFIG_CLEAN_VPATH_FILES = + LIBRARIES = $(noinst_LIBRARIES) +-AR = ar ++AR = @AR@ + ARFLAGS = cru + AM_V_AR = $(am__v_AR_@AM_V@) + am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) +Index: dhcp-4.3.3-P1/configure +=================================================================== +--- dhcp-4.3.3-P1.orig/configure ++++ dhcp-4.3.3-P1/configure +@@ -658,6 +658,7 @@ CPPFLAGS + LDFLAGS + CFLAGS + CC ++AR + host_os + host_vendor + host_cpu +Index: dhcp-4.3.3-P1/dhcpctl/Makefile.in +=================================================================== +--- dhcp-4.3.3-P1.orig/dhcpctl/Makefile.in ++++ dhcp-4.3.3-P1/dhcpctl/Makefile.in +@@ -131,7 +131,7 @@ am__uninstall_files_from_dir = { \ + am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \ + "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man3dir)" + LIBRARIES = $(lib_LIBRARIES) +-AR = ar ++AR = @AR@ + ARFLAGS = cru + AM_V_AR = $(am__v_AR_@AM_V@) + am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) +Index: dhcp-4.3.3-P1/omapip/Makefile.in +=================================================================== +--- dhcp-4.3.3-P1.orig/omapip/Makefile.in ++++ dhcp-4.3.3-P1/omapip/Makefile.in +@@ -129,7 +129,7 @@ am__uninstall_files_from_dir = { \ + } + am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(man3dir)" + LIBRARIES = $(lib_LIBRARIES) +-AR = ar ++AR = @AR@ + ARFLAGS = cru + AM_V_AR = $(am__v_AR_@AM_V@) + am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)