All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 12/22] iproute2: add dependency on host-bison
Date: Sun, 24 Mar 2013 09:26:36 +0100	[thread overview]
Message-ID: <1364113606-20836-13-git-send-email-thomas.petazzoni@free-electrons.com> (raw)
In-Reply-To: <1364113606-20836-1-git-send-email-thomas.petazzoni@free-electrons.com>

iproute2 requires bison, so we add the necessary dependency. In
addition, in order for iproute2 to find bison, we need to pass
$(TARGET_MAKE_ENV).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/iproute2/iproute2.mk |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index 7766ab8..98a7da0 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -10,6 +10,8 @@ IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct
 IPROUTE2_LICENSE = GPLv2
 IPROUTE2_LICENSE_FILES = COPYING
 
+IPROUTE2_DEPENDENCIES += host-bison
+
 # If both iproute2 and busybox are selected, make certain we win
 # the fight over who gets to have their utils actually installed.
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
@@ -42,11 +44,12 @@ endef
 
 define IPROUTE2_BUILD_CMDS
 	$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
-	$(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
+	$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
 endef
 
 define IPROUTE2_INSTALL_TARGET_CMDS
-	$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" SBINDIR=/sbin \
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" \
+		SBINDIR=/sbin \
 		DOCDIR=/usr/share/doc/iproute2-$(IPROUTE2_VERSION) \
 		MANDIR=/usr/share/man install
 	# Wants bash
-- 
1.7.9.5

  parent reply	other threads:[~2013-03-24  8:26 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-24  8:26 [Buildroot] [PATCH 00/22] Fixes, gcc 4.8 support, cleanup of dependencies Thomas Petazzoni
2013-03-24  8:26 ` [Buildroot] [PATCH 01/22] package/connman: version bump to 1.12, and fix build with newer kernels headers Thomas Petazzoni
2013-03-24 11:42   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 02/22] gettext: fix tools build failure for uClibc toolchain with C++ Thomas Petazzoni
2013-03-24 11:43   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 03/22] libgtk2: use non-host specific patch Thomas Petazzoni
2013-03-24 11:44   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 04/22] gcc: fix location of snapshots Thomas Petazzoni
2013-03-24 11:45   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 05/22] gcc: add support for gcc 4.8 Thomas Petazzoni
2013-03-24 12:39   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 06/22] gcc: introduce BR2_GCC_NEEDS_MPC to reduce code duplication Thomas Petazzoni
2013-03-24 12:40   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 07/22] gcc: add missing $(Q) Thomas Petazzoni
2013-03-24 12:41   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 08/22] kernel-headers: " Thomas Petazzoni
2013-03-24 12:41   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 09/22] uClibc: " Thomas Petazzoni
2013-03-24 12:42   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 10/22] gmp: requires host-m4 Thomas Petazzoni
2013-03-24 12:43   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 11/22] libpcap: add missing flex/bison dependencies Thomas Petazzoni
2013-03-24 12:44   ` Peter Korsgaard
2013-03-24  8:26 ` Thomas Petazzoni [this message]
2013-03-24 12:47   ` [Buildroot] [PATCH 12/22] iproute2: add dependency on host-bison Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 13/22] ncurses: enable shared library build on the host Thomas Petazzoni
2013-03-24 12:48   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 14/22] gettext: provide a host variant Thomas Petazzoni
2013-03-24 12:49   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 15/22] libglib2: add dependency on host-gettext Thomas Petazzoni
2013-03-24 12:50   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 16/22] at: needs host-flex and host-bison Thomas Petazzoni
2013-03-24 12:50   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 17/22] dependencies: remove a few useless mandatory dependencies Thomas Petazzoni
2013-03-24 12:51   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 18/22] dependencies: remove useless newlines Thomas Petazzoni
2013-03-24 12:51   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 19/22] dependencies: add details about which distro package to install Thomas Petazzoni
2013-03-24 12:56   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 20/22] dependencies: test all programs before bailing out Thomas Petazzoni
2013-03-24 12:57   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 21/22] dependencies: check that a full perl installation is available Thomas Petazzoni
2013-03-24 12:57   ` Peter Korsgaard
2013-03-24  8:26 ` [Buildroot] [PATCH 22/22] dependencies: check that SSL certificates are installed Thomas Petazzoni
2013-03-24 13:00   ` Peter Korsgaard

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=1364113606-20836-13-git-send-email-thomas.petazzoni@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.