From patchwork Fri Jan 11 15:13:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 211365 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 8847C2C021D for ; Sat, 12 Jan 2013 02:14:51 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 194B1312A9; Fri, 11 Jan 2013 15:14:49 +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 BAXLoEKvcfKN; Fri, 11 Jan 2013 15:14:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 99DE931294; Fri, 11 Jan 2013 15:14:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 394148F79F for ; Fri, 11 Jan 2013 15:14:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D3C038C62A for ; Fri, 11 Jan 2013 15:14:12 +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 BLl9tyESjV8z for ; Fri, 11 Jan 2013 15:14:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f51.google.com (mail-bk0-f51.google.com [209.85.214.51]) by whitealder.osuosl.org (Postfix) with ESMTPS id 64B158C01E for ; Fri, 11 Jan 2013 15:14:00 +0000 (UTC) Received: by mail-bk0-f51.google.com with SMTP id ik5so1000335bkc.38 for ; Fri, 11 Jan 2013 07:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=huuV1LzkjLN/uVEkGp6f+bDMpJeJqJWA3ERD/TpNKVA=; b=SWlBRWHRN1AV4E4mK1KM7TX9cVy82r4RakBk10tnphdyVvBRlna438TJIG9394u6LC 70ajTFQJqJj9u6mcYA1A4EH2re+3qFdhI5TSym0e/mWDtRJTVVgRdTnAnbuzhDzyWyxe PeHsKKwTQuVdRUabvKNKTK6h9D4ABzUefsIV5VljdwCrwK7BSyg74QUN60KX+037+uVs 4BAnkDdBdjHcnqNTwH25j3w7OhvlF7egNcpXtS2S9TeAxr/IvUcIjsSXl5KVfiqZthIN waSkT8oTqn+4PMn8Fufsq5Cbg8J/KHzJDousSqz/8nvf/2EDcZHBQWbtzAQPR3c3JeAl cJDQ== X-Received: by 10.204.149.26 with SMTP id r26mr36315371bkv.71.1357917238456; Fri, 11 Jan 2013 07:13:58 -0800 (PST) Received: from ld2036.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPS id l17sm4624067bkw.12.2013.01.11.07.13.56 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 07:13:57 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Fri, 11 Jan 2013 16:13:50 +0100 Message-Id: <1357917231-14194-3-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.0.3 In-Reply-To: <1357917231-14194-1-git-send-email-fabio.porcedda@gmail.com> References: <1357917231-14194-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [PATCH 2/3] barebox: needs host-lzop X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 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-bounces@busybox.net Add host-lzop dependency. Use $(TARGET_MAKE_ENV) when calling $(MAKE) to able to use binaries built for host. Signed-off-by: Fabio Porcedda --- boot/barebox/barebox.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/boot/barebox/barebox.mk b/boot/barebox/barebox.mk index 6cc4976..2aff7e6 100644 --- a/boot/barebox/barebox.mk +++ b/boot/barebox/barebox.mk @@ -20,6 +20,7 @@ BAREBOX_SOURCE = barebox-$(BAREBOX_VERSION).tar.bz2 BAREBOX_SITE = http://www.barebox.org/download/ endif +BAREBOX_DEPENDENCIES = host-lzop BAREBOX_LICENSE = GPLv2 with exceptions BAREBOX_LICENSE_FILES = COPYING @@ -56,7 +57,7 @@ endif define BAREBOX_CONFIGURE_CMDS cp $(BAREBOX_SOURCE_CONFIG) $(@D)/arch/$(BAREBOX_ARCH)/configs/buildroot_defconfig - $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) buildroot_defconfig + $(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) buildroot_defconfig endef ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y) @@ -68,7 +69,7 @@ endif define BAREBOX_BUILD_CMDS $(BAREBOX_BUILD_BAREBOXENV_CMDS) - $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) + $(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(@D) endef define BAREBOX_INSTALL_IMAGES_CMDS @@ -96,12 +97,12 @@ endif endif barebox-menuconfig barebox-xconfig barebox-gconfig barebox-nconfig: barebox-configure - $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \ + $(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \ $(subst barebox-,,$@) rm -f $(BAREBOX_DIR)/.stamp_{built,target_installed,images_installed} barebox-savedefconfig: barebox-configure - $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \ + $(TARGET_MAKE_ENV) $(MAKE) $(BAREBOX_MAKE_FLAGS) -C $(BAREBOX_DIR) \ $(subst barebox-,,$@) ifeq ($(BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG),y)