From patchwork Thu Dec 13 10:59:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 205803 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 6B89D2C0085 for ; Thu, 13 Dec 2012 21:59:59 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2A9B5100282; Thu, 13 Dec 2012 10:59:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MkjggqAupNKK; Thu, 13 Dec 2012 10:59:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9E776FFE51; Thu, 13 Dec 2012 10:59:45 +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 569968F74B for ; Thu, 13 Dec 2012 10:59:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DE2FE8C5BC for ; Thu, 13 Dec 2012 10:59:50 +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 89X5A9OWKaYg for ; Thu, 13 Dec 2012 10:59:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ea0-f171.google.com (mail-ea0-f171.google.com [209.85.215.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5EB1F8C255 for ; Thu, 13 Dec 2012 10:59:49 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id n10so666270eaa.16 for ; Thu, 13 Dec 2012 02:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references; bh=O96SueWDa6T8b9/l3/lJIslPGUxBKmWzc/uXG+dQalE=; b=Jq3Z5/BBTtq7nQQAq8E4ddTtzU3DqmcjweUupdu2l53WGMfg6qK8y26848RUrMzbLi mN7UxGP/jZKJtEps3/kj+NFPWuEc9UdAHf85WhIssql0yu/3vIM7zAkBfDCCpz1KSLM8 vI7sVvxnewTkvk1chX+FNlAE4BY1/t0RCJdlcyMPoY8hmAqL3dS3hOP2VTOQVR2RL32N tihFByHO/sIjtiPMo+pbch0QvPhBqCP1uVCXOkSACtN4CA8gwy/6+czQcYYNhbmsXEJc sGDRgjovidXEl+7Z5OWmzgdbxfemp/7WHnQPF73nQTf/EuWEEDXaLUP4FcgvpedrPpcD JVGQ== Received: by 10.14.0.3 with SMTP id 3mr4299643eea.16.1355396387700; Thu, 13 Dec 2012 02:59:47 -0800 (PST) Received: from ld2036.tmt.telital.com ([213.205.6.118]) by mx.google.com with ESMTPS id w3sm2254510eel.17.2012.12.13.02.59.45 (version=SSLv3 cipher=OTHER); Thu, 13 Dec 2012 02:59:46 -0800 (PST) From: Fabio Porcedda To: buildroot@busybox.net Date: Thu, 13 Dec 2012 11:59:42 +0100 Message-Id: <1355396382-14652-2-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.0 In-Reply-To: <1355396382-14652-1-git-send-email-fabio.porcedda@gmail.com> References: <1355396382-14652-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [PATCH 2/2] 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)