summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-14 14:12:29 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-14 14:12:29 +0000
commit50ca754115e03a6c7b587aff01914574eaa5c448 (patch)
treecf97d45ebba310fdd1a202b696d052a58821e0b6 /Makefile.in
parente5bdbd0f718da0e4290639afeedb2700b64a8469 (diff)
Hopefully fix the earlier broken if [ -n $(HEADERS_BITS_SUBARCH) ]
test by adding quotes. From Steve Papacharalambous.
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; \