summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index c5d5e2bcb..e47bf4fda 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,9 +75,11 @@ headers: include/bits/uClibc_config.h
for i in $(HEADERS_BITS_ARCH) ; do \
$(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$$i .; \
done; \
- for i in $(HEADERS_BITS_SUBARCH) ; do \
- $(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/$$i .; \
- done
+ if [ -n "$(HEADERS_BITS_SUBARCH)" ] ; then \
+ for i in $(HEADERS_BITS_SUBARCH) ; do \
+ $(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/$$i .; \
+ done; \
+ fi
$(Q)\
cd include/sys; \
set -e; \