[klibc] Main Makefile changes for klibc
klibc requires that the main Makefile exports RANLIB, KLIBCARCH and
KLIBCARCHDIR. KLIBCARCH and KLIBCARCHDIR are usually the same as
ARCH, but there are a few exceptions:
powerpc: KLIBCARCH is ppc or ppc64, KLIBCARCHDIR is powerpc
s390: KLIBCARCH is s390 or s390x, KLIBCARCHDIR is s390
um: KLIBCARCH is the underlying architecture,
KLIBCARCHDIR is set by that architecture.
s390 support by Heiko Carstens <[email protected]>.
Additionally, add support for building single files that have to be
built with klibc rules. Support by Sam Ravnborg <[email protected]>.
Signed-off-by: H. Peter Anvin <[email protected]>
4 files changed