From patchwork Thu Oct 30 22:28:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 39853 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A91B2202FE for ; Thu, 30 Oct 2014 22:28:31 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf3522764lbj.7 for ; Thu, 30 Oct 2014 15:28:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=oWXD1IQv2IHtRI6tNI4Eyd9TtOxz/5Ia5wQX5dxuqfs=; b=VW4CFFGDD5O70dd/xmTQD9ajBf2ImbQ8TAEEWyni0OQxRTwT8z79UcoIvk8jA5reSp nGqfHfBj1ddHk2JzbPxNbHDwjynwZ+NNO74y3UNj21A3qWqKZz/t/+8HoGKyMpg9xAqc MjFFaRyrgRgajyfauaxMGyf8A4clxA8UF5BEbaiE+0E9nr4vcaMlX2cKT2sBZSbvFcan 12J1cmjt7Cpf7MF0hw6/lpcp2p1hiU58Vu4+hw5jqFSGScdjGpaW/OkLyr0+ljWNDUNU LNpRpOevWwFXoUyoCi3/dIYZ247sruGdrz9WFr9cL7OY+I4+UOLE8HC0EzLTzC8BQ4YY M/2Q== X-Gm-Message-State: ALoCoQka5Y02jplYFohgd/84tQ/tUw/XZV2d9sNJ6JzxTfV1V9a/qq06K7uqjtJNWNcnJHXwDWME X-Received: by 10.194.91.208 with SMTP id cg16mr160525wjb.5.1414708110425; Thu, 30 Oct 2014 15:28:30 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.137 with SMTP id j9ls176205laa.45.gmail; Thu, 30 Oct 2014 15:28:30 -0700 (PDT) X-Received: by 10.112.169.106 with SMTP id ad10mr22013514lbc.13.1414708110177; Thu, 30 Oct 2014 15:28:30 -0700 (PDT) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id bf9si13975692lab.114.2014.10.30.15.28.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Oct 2014 15:28:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id w7so5201447lbi.12 for ; Thu, 30 Oct 2014 15:28:30 -0700 (PDT) X-Received: by 10.112.77.74 with SMTP id q10mr21812258lbw.66.1414708110054; Thu, 30 Oct 2014 15:28:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.84.229 with SMTP id c5csp116782lbz; Thu, 30 Oct 2014 15:28:29 -0700 (PDT) X-Received: by 10.66.154.10 with SMTP id vk10mr20150696pab.26.1414708108562; Thu, 30 Oct 2014 15:28:28 -0700 (PDT) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com. [209.85.192.169]) by mx.google.com with ESMTPS id qy8si7591840pbb.218.2014.10.30.15.28.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 30 Oct 2014 15:28:28 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.192.169 as permitted sender) client-ip=209.85.192.169; Received: by mail-pd0-f169.google.com with SMTP id y10so5994886pdj.14 for ; Thu, 30 Oct 2014 15:28:27 -0700 (PDT) X-Received: by 10.70.48.202 with SMTP id o10mr20537782pdn.63.1414708107602; Thu, 30 Oct 2014 15:28:27 -0700 (PDT) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id xf1sm8076506pbb.18.2014.10.30.15.28.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Oct 2014 15:28:26 -0700 (PDT) From: John Stultz To: projectara-software-dev@linaro.org Cc: John Stultz , greg@kroah.com Subject: [PATCH] greybus: build: Add -fno-pic for 32bit arm as well Date: Thu, 30 Oct 2014 15:28:18 -0700 Message-Id: <1414708098-19289-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , In order for 32bit arm devices using the android toolchain to load the greybus module, I need to add -fno-pic in the build arguments as well. Cc: greg@kroah.com Signed-off-by: John Stultz --- Android.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.mk b/Android.mk index 773129b..924099b 100644 --- a/Android.mk +++ b/Android.mk @@ -18,6 +18,7 @@ ifneq ($(ANDROID_64),) FLAGARG := EXTRA_CFLAGS+=-fno-pic else ARCHARG := ARCH=arm + FLAGARG := EXTRA_CFLAGS+=-fno-pic endif ARGS := $(KDIRARG) $(ARCHARG) $(FLAGARG)