Android build fixes and alternate (hopefully simpler) defconfig for it
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
831756bac4
commit
e0894f567a
3 changed files with 1001 additions and 1 deletions
|
@ -97,7 +97,12 @@ CFLAGS += $(strip $(subst ",,$(CONFIG_EXTRA_CFLAGS)))
|
|||
#"))
|
||||
endif
|
||||
|
||||
ifneq ($(CONFIG_CROSS_COMPILER_PREFIX),"arm-linux-androideabi-")
|
||||
LDLIBS += m crypt
|
||||
else
|
||||
# Android libc has no crypt. TODO: make a generic CONFIG_LINK_WITH_CRYPT option?
|
||||
LDLIBS += m
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PAM),y)
|
||||
LDLIBS += pam pam_misc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue