Android build fixes and alternate (hopefully simpler) defconfig for it

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-09-09 18:00:44 +02:00
parent 831756bac4
commit e0894f567a
3 changed files with 1001 additions and 1 deletions

View file

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