summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-28 21:42:44 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-28 21:42:44 +0000
commit98a7a4c9d237cc6117ef01f3c98d3997dd48436e (patch)
treea9239510a2f50ed168f53914307c984ff6af051b /toolchain/uClibc
parent25fca604f9a7d3bec25ce7d150212e18941aaadf (diff)
downloadbuildroot-novena-98a7a4c9d237cc6117ef01f3c98d3997dd48436e.tar.gz
buildroot-novena-98a7a4c9d237cc6117ef01f3c98d3997dd48436e.zip
- misc cleanups (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'toolchain/uClibc')
-rw-r--r--toolchain/uClibc/uclibc.mk36
1 files changed, 22 insertions, 14 deletions
diff --git a/toolchain/uClibc/uclibc.mk b/toolchain/uClibc/uclibc.mk
index 60ee758b1..b87cf0b05 100644
--- a/toolchain/uClibc/uclibc.mk
+++ b/toolchain/uClibc/uclibc.mk
@@ -320,16 +320,19 @@ $(UCLIBC_DIR)/.configured: $(UCLIBC_DIR)/.config
RUNTIME_PREFIX=$(TOOL_BUILD_DIR)/uClibc_dev/ \
HOSTCC="$(HOSTCC)" \
pregen install_dev
- # Install the kernel headers to the first stage gcc include dir if necessary
+ # 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 ]; \
- then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/* $(TOOL_BUILD_DIR)/uClibc_dev/usr/include/; \
+ 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/; \
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/; \
+ 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/; \
@@ -375,13 +378,16 @@ 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/; \
+ 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/; \
+ 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/; \
@@ -459,14 +465,16 @@ $(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 ]; \
- then \
- cp -pLR $(LINUX_HEADERS_DIR)/include/* $(TARGET_DIR)/usr/include/; \
+ if [ ! -f $(TARGET_DIR)/usr/include/linux/version.h ]; then \
+ 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/; \
+ 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/; \