This patch adds a new Makefile target for libc_arch_headers which is going to be used by a subsequent patch implementing ucontext routines. The cleaning make target counterpart is also introduced by this patch.
Signed-off-by: Carmelo Amoroso <[email protected]> Signed-off-by: Florian Fainelli <[email protected]> --- Makefile.in | 1 + libc/sysdeps/linux/Makefile.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Makefile.in b/Makefile.in index 3593fe1..1fcc688 100644 --- a/Makefile.in +++ b/Makefile.in @@ -172,6 +172,7 @@ headers: $(top_builddir)include/bits/uClibc_config.h | subdirs subdirs: $(addprefix $(top_builddir),$(subdirs)) pregen-headers: $(top_builddir)include/bits/sysnum.h $(pregen-headers-y) pregen: headers pregen-headers + $(Q)$(MAKE) libc_arch_headers $(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 | $(top_builddir)include/bits diff --git a/libc/sysdeps/linux/Makefile.in b/libc/sysdeps/linux/Makefile.in index dd91f21..50a335f 100644 --- a/libc/sysdeps/linux/Makefile.in +++ b/libc/sysdeps/linux/Makefile.in @@ -11,3 +11,7 @@ subdirs += libc/sysdeps/linux/$(TARGET_ARCH) libc/sysdeps/linux/common -include $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/Makefile.arch include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch include $(top_srcdir)libc/sysdeps/linux/common/Makefile.in + +# provide an empty rule for those archs that do not need it +libc_arch_headers: +libc_arch_headers_clean: -- 1.7.10.4 _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
