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:
parent
4b640bb135
commit
2dcf6871dd
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user