diff options
author | Khem Raj <raj.khem@gmail.com> | 2010-02-22 15:16:18 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-02-22 15:16:18 -0800 |
commit | 507c5013f8548fa873af1c60ac659b23103e447e (patch) | |
tree | 77a44e5621a00ae3e8deeecb58de1c59ba9d07ae /Makefile.in | |
parent | 39548d72297a8c3d8d55e04b8240e4ce09913a82 (diff) |
nptl/headers: Convert the makefile targets into variables.
* Introduce pregen-headers-y which is list of generated headers
during the build and add this to pregen target in top level makefile.
Also add nptl_headers, nptl_arch_headers, nptl_linux_headers
to this if compiling with nptl.
* Replace pthread_pregen var with pregen-headers-y.
* Make nptl_headers, nptl_arch_headers, nptl_linux_headers variables
instead of sub targets.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index c89d6fedd..b62ee6ed6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -160,7 +160,8 @@ headers-y += $(target-headers-sysdep) headers: $(top_builddir)include/bits/uClibc_config.h subdirs: $(addprefix $(top_builddir),$(subdirs)) -pregen: $(top_builddir)include/bits/sysnum.h headers subdirs $(pthread_pregen) +pregen-headers-y := $(top_builddir)include/bits/sysnum.h +pregen: $(pregen-headers-y) headers subdirs $(Q)$(if $(UCLIBC_HAS_LOCALE),$(MAKE) -C extra/locale locale_headers) $(top_builddir)include/bits/sysnum.h: $(top_srcdir)extra/scripts/gen_bits_syscall_h.sh |