greybus: build: Add -fno-pic for 32bit arm as well

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>
This commit is contained in:
John Stultz 2014-10-30 15:28:18 -07:00 committed by Greg Kroah-Hartman
parent 4b640bb135
commit 2dcf6871dd

View File

@ -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)