From patchwork Fri Oct 25 13:10:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Zacarias X-Patchwork-Id: 286142 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 1E8922C0040 for ; Sat, 26 Oct 2013 00:10:50 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 423B793BCB; Fri, 25 Oct 2013 13:10:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEFbtZ4jYXRX; Fri, 25 Oct 2013 13:10:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C6A9A932CB; Fri, 25 Oct 2013 13:10:47 +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 88AB81BFA35 for ; Fri, 25 Oct 2013 13:10:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 81E188CE5C for ; Fri, 25 Oct 2013 13:10:47 +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 AgZGrZDkr2cT for ; Fri, 25 Oct 2013 13:10:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from loknar.toptech.com.ar (loknar.toptech.com.ar [78.46.79.162]) by whitealder.osuosl.org (Postfix) with ESMTPS id B4D918CE25 for ; Fri, 25 Oct 2013 13:10:46 +0000 (UTC) Received: from asgard (host58.190-231-106.telecom.net.ar [190.231.106.58]) (authenticated bits=0) by loknar.toptech.com.ar (8.14.7/8.14.7) with ESMTP id r9PDAe86032245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 25 Oct 2013 13:10:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=zacarias.com.ar; s=dkey; t=1382706644; bh=PppfDtYvExdAzmR5MduY6LqRMYJ0k7IMFwly2qzHvsU=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=YmTv8Qhdbbb0W9SC73QVhbRuCbtfBuETU0UxgJHblI+qGebMGEQbbu/Jy7y0jIOla +Qpe44I9qvSldTqLfesAs/X5hxv0KWvld8SiHg8agyakrQJ0XXw3yP9yETdNSPUTWN wYJnoO92HOfYXOUrdFPvPOM8iPol4g+sswmssmA8= Received: by asgard (sSMTP sendmail emulation); Fri, 25 Oct 2013 10:10:34 -0300 From: Gustavo Zacarias To: buildroot@busybox.net Date: Fri, 25 Oct 2013 10:10:23 -0300 Message-Id: <1382706623-5593-2-git-send-email-gustavo@zacarias.com.ar> X-Mailer: git-send-email 1.8.1.5 In-Reply-To: <1382706623-5593-1-git-send-email-gustavo@zacarias.com.ar> References: <1382706623-5593-1-git-send-email-gustavo@zacarias.com.ar> X-Virus-Scanned: clamav-milter 0.97.8 at loknar X-Virus-Status: Clean Subject: [Buildroot] [PATCH 2/2] ebtables: build fix for 64-bit kernel with 32-bit userland 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 Fixes bug #6602. Signed-off-by: Gustavo Zacarias --- package/ebtables/ebtables.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/ebtables/ebtables.mk b/package/ebtables/ebtables.mk index edb5d42..612cf83 100644 --- a/package/ebtables/ebtables.mk +++ b/package/ebtables/ebtables.mk @@ -10,10 +10,11 @@ EBTABLES_SITE = http://downloads.sourceforge.net/project/ebtables/ebtables/ebtab EBTABLES_LICENSE = GPLv2+ EBTABLES_LICENSE_FILES = COPYING EBTABLES_STATIC = $(if $(BR2_PREFER_STATIC_LIB),static) +EBTABLES_K64U32 = $(if $(BR2_KERNEL_64_USERLAND_32),CFLAGS+="-DKERNEL_64_USERSPACE_32") define EBTABLES_BUILD_CMDS $(MAKE) $(TARGET_CONFIGURE_OPTS) LIBDIR=/lib/ebtables $(EBTABLES_STATIC) \ - -C $(@D) + $(EBTABLES_K64U32) -C $(@D) endef ifeq ($(BR2_PREFER_STATIC_LIB),y)