projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b640bb
)
greybus: build: Add -fno-pic for 32bit arm as well
author
John Stultz
<john.stultz@linaro.org>
Thu, 30 Oct 2014 22:28:18 +0000
(15:28 -0700)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Thu, 30 Oct 2014 22:33:38 +0000
(15:33 -0700)
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.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/Android.mk
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/Android.mk
b/drivers/staging/greybus/Android.mk
index
773129b
..
924099b
100644
(file)
--- a/
drivers/staging/greybus/Android.mk
+++ b/
drivers/staging/greybus/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)