diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-15 11:53:09 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-15 11:53:09 -0700 |
commit | f665e35d18ff16781e50e74efd24d843b1f1d2f0 (patch) | |
tree | 6858afc0a7339f83f3b1dacf8bf15d760aea58b0 | |
parent | 543b4b9a8a248cfad4a0b2920a87ecde6c3cd53b (diff) | |
download | klibc-f665e35d18ff16781e50e74efd24d843b1f1d2f0.tar.gz |
[klibc] Kbuild: build subdirectories first
Make sure subdirectories are listed first in the build list.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r-- | usr/klibc/Kbuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index b3045a3cab141..a82ffa92a6509 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -5,7 +5,16 @@ # Tell that we are building klibc export klibc-build := y -klib-y := vsnprintf.o snprintf.o vsprintf.o sprintf.o \ +# Generate syscall stubs +klib-y += syscalls/ +# Generate socket calls stubs +klib-y += socketcalls/ +# zlib, if configured +klib-$(CONFIG_KLIBC_ZLIB) += zlib/ +# arch specific .o files +klib-y += arch/$(KLIBCARCHDIR)/ + +klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \ asprintf.o vasprintf.o \ vsscanf.o sscanf.o ctypes.o \ strntoumax.o strntoimax.o \ @@ -70,10 +79,6 @@ ifeq ($(CONFIG_KLIBC_ERRLIST),y) KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST endif -klib-$(CONFIG_KLIBC_ZLIB) += zlib/ -# arch specific .o files -klib-y += arch/$(KLIBCARCHDIR)/ - ##### # Shared definitions LIBC := libc.a @@ -91,11 +96,6 @@ INTERP_O := $(call objectify,$(INTERP_O)) SOLIBHASH = $(shell cat $(SOLIB).hash) -# Generate syscall stubs -klib-y += syscalls/ -# Generate socket calls stubs -klib-y += socketcalls/ - ##### # Readable errormessages extracted from src.. targets += errlist.c |