summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-02-13 09:47:44 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-02-13 09:47:44 +0000
commit6c6e8d6eda24aff9ba9aa9274976e144f2a95fa1 (patch)
treeeb2efc374a21bd4bc8cbc8770c71b000d93a3a16 /Makefile.in
parent04a6fc40ddb8b3c72974800863229a0cabca2ce2 (diff)
Do not produce spurious "/bin/sh: [: too many arguments" if
$(HEADERS_BITS_SUBARCH) is empty (which it most likely is).
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 72ac2760e..a0f4f38c6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -75,11 +75,9 @@ headers: include/bits/uClibc_config.h
for i in $(HEADERS_BITS_ARCH) ; do \
$(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$$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
+ for i in $(HEADERS_BITS_SUBARCH) ; do \
+ $(LN) -fs ../../libc/sysdeps/linux/$(TARGET_ARCH)/bits/$(TARGET_SUBARCH)/$$i .; \
+ done
$(Q)\
cd include/sys; \
set -e; \