Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Martin <s.martin49@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/openocd: fix libftdi mis-detection
Date: Fri,  2 Jan 2015 22:19:28 +0100	[thread overview]
Message-ID: <1420233568-10133-3-git-send-email-s.martin49@gmail.com> (raw)
In-Reply-To: <1420233568-10133-1-git-send-email-s.martin49@gmail.com>

By-pass failing ac_search_libs check when libftdi is enabled.

Fixes:
  http://autobuild.buildroot.org/results/e90/e90b4d5ad79d99487f21c9d18581e8eba7034501/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
---
 package/openocd/openocd.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/openocd/openocd.mk b/package/openocd/openocd.mk
index ad1f95b..34a2bbd 100644
--- a/package/openocd/openocd.mk
+++ b/package/openocd/openocd.mk
@@ -8,7 +8,8 @@ OPENOCD_VERSION = 0.8.0
 OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2
 OPENOCD_SITE = http://downloads.sourceforge.net/project/openocd/openocd/$(OPENOCD_VERSION)
 
-OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
+OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
+	$(if $(BR2_PACKAGE_LIBFTDI),ac_cv_search_ftdi_new=yes)
 
 OPENOCD_CONF_OPTS = \
 	--oldincludedir=$(STAGING_DIR)/usr/include \
-- 
2.2.1

  parent reply	other threads:[~2015-01-02 21:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02 21:19 [Buildroot] [PATCH 1/3] package/openocd: explicitly disable unselected adapters Samuel Martin
2015-01-02 21:19 ` [Buildroot] [PATCH 2/3] package/openocd: disable aice programmer on non-MMU architecture Samuel Martin
2015-01-03 20:35   ` Thomas Petazzoni
2015-01-02 21:19 ` Samuel Martin [this message]
2015-01-03 20:39   ` [Buildroot] [PATCH 3/3] package/openocd: fix libftdi mis-detection Thomas Petazzoni
2015-01-05 20:08     ` Samuel Martin
2015-01-03 20:35 ` [Buildroot] [PATCH 1/3] package/openocd: explicitly disable unselected adapters Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1420233568-10133-3-git-send-email-s.martin49@gmail.com \
    --to=s.martin49@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox