summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/uclibc.mk42
1 files changed, 21 insertions, 21 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 28e1c7609..83577d33d 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -290,17 +290,17 @@ $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
pregen install_dev
# Install the kernel headers to the first stage gcc include dir if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
- if [ ! -f $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/linux/version.h ] ; \
+ if [ ! -f $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/linux/version.h ]; \
then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/* $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/* $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/; \
fi
else
- if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ] ; then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
- cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
- if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] ; then \
+ if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ]; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/; \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/; \
+ if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ]; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic \
- $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/ ; \
+ $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/; \
fi; \
fi
endif
@@ -342,17 +342,17 @@ else
endif
# Install the kernel headers to the staging dir if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
- if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ] ; then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/* $(STAGING_DIR)/usr/include/ ; \
+ if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ]; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/* $(STAGING_DIR)/usr/include/; \
fi
else
- if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ] ; then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(STAGING_DIR)/usr/include/ ; \
- cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(STAGING_DIR)/usr/include/ ; \
- if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] ; then \
+ if [ ! -f $(STAGING_DIR)/usr/include/linux/version.h ]; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(STAGING_DIR)/usr/include/; \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(STAGING_DIR)/usr/include/; \
+ if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ]; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic \
- $(STAGING_DIR)/usr/include/ ; \
+ $(STAGING_DIR)/usr/include/; \
fi; \
fi
endif
@@ -427,17 +427,17 @@ $(TARGET_DIR)/usr/lib/libc.a: $(STAGING_DIR)/usr/lib/libc.a
install_dev
# Install the kernel headers to the target dir if necessary
ifeq ($(LINUX_HEADERS_IS_KERNEL),y)
- if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ] ; \
+ if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ]; \
then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/* $(TARGET_DIR)/usr/include/ ; \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/* $(TARGET_DIR)/usr/include/; \
fi
else
- if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ] ; then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TARGET_DIR)/usr/include/ ; \
- cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TARGET_DIR)/usr/include/ ; \
- if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ] ; then \
+ if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ]; then \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/asm $(TARGET_DIR)/usr/include/; \
+ cp -pLR $(LINUX_HEADERS_DIR)/include/linux $(TARGET_DIR)/usr/include/; \
+ if [ -d $(LINUX_HEADERS_DIR)/include/asm-generic ]; then \
cp -pLR $(LINUX_HEADERS_DIR)/include/asm-generic \
- $(TARGET_DIR)/usr/include/ ; \
+ $(TARGET_DIR)/usr/include/; \
fi; \
fi
endif