busybox: fix build for x86 android

This patchset implements new configs for x86 android, and
stubs some missing syscalls on this platform to let recovery
build.

Patchset #2: s/PREFIX/SUFFIX/

Change-Id: I79e6b9d3a5569dd0376e983e21d893c4ca944589
include sys/resource.h where needed

We use functions from sys/resource.h in misc applets, but don't include
the header.  This breaks building with newer glibc versions, so add the
include where needed.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
(cherry picked from commit c5fe9f7b723f949457263ef8e22ab807d5b549ce)

Change-Id: I59ce8b8f68cae23809065ca71c454d75f86dc8a5
build system: use pkg-config to look up selinux libs

Newer versions of libselinux has started linking against more libs.
Rather than continuing hardcoding things, switch to using pkg-config
to query for its dependencies.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Change-Id: Id5bdbb791377e4f85c4653d8b265520cabac3141
unzip: make options parsing more robust on getopt w/o gnu extensions

Also, code shrank:

function                                             old     new   delta
static.extn                                           15      10      -5
packed_usage                                       29231   29217     -14
unzip_main                                          2388    2291     -97
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-116)           Total: -116 bytes

tweak help text

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

Change-Id: I3d0a3f26037d5388b8d8240f9b373d12534056f1
update config

Change-Id: I356dff95eb8f558cda9f3280864f8e5c1ccdb972
Revert "busybox: fix build for x86 android"

This reverts commit ae51825d, no need for a separate configuration file. Instead, add syscall stubs like those for arm and mips.

Conflicts:
	include-full-x86/autoconf.h
	include-full-x86/usage_compressed.h
	include-minimal-x86/autoconf.h
	include-minimal-x86/usage_compressed.h
x86: Remove stubs and add actual syscalls to fix the build

Change-Id: I1028cebf9de240a2fbdcc5d36ef120bf26564fc9
Build with -fno-strict-aliasing

Change-Id: I4117a526cdc93c96a9b7102727f5b33542810990
Signed-off-by: Evan McClain <aeroevan@gmail.com>
x86: do not override system syscalls, like arm and mips

and adjust system compiler prefix with sed in Android.mk

Change-Id: Ic1bd17611abb74c0cfa963a5967b8c21166bcc08
Merge remote-tracking branch 'cm/jellybean' into aokp-mr1