]> xenbits.xensource.com Git - xenclient/build.git/commitdiff
[toolchain] Make the toolchain file writable.
authorJean Guyader <jean.guyader@eu.citrix.com>
Mon, 17 Aug 2009 16:10:22 +0000 (17:10 +0100)
committerJean Guyader <jean.guyader@eu.citrix.com>
Mon, 17 Aug 2009 16:10:22 +0000 (17:10 +0100)
toolchain/external-toolchain/ext-tool.mk

index 8ff4722f37cdf806a4580216dd0f49beac5e5b58..c2068ad5d64fdfda9de8d5172d71a9e3e3176f0b 100644 (file)
@@ -47,7 +47,8 @@ copy_toolchain_lib_root = \
 copy_toolchain_sysroot = \
        SYSROOT_DIR=`$(TARGET_CC) -v 2>&1 | grep ^Configured | tr " " "\n" | grep -- "--with-sysroot" | cut -f2 -d=`; \
        cp -a $${SYSROOT_DIR}/* $(STAGING_DIR)/ ; \
-       find $(STAGING_DIR) -type d | xargs chmod 755
+       find $(STAGING_DIR) -type d | xargs chmod 755; \
+       find $(STAGING_DIR) -type f | xargs xargs chmod +w
 
 uclibc: dependencies $(TARGET_DIR)/lib/$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_LIB_C)))
 
@@ -59,4 +60,4 @@ $(TARGET_DIR)/lib/$(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_LIB_C))):
        for libs in $(strip $(subst ",, $(BR2_TOOLCHAIN_EXTERNAL_LIBS))); do \
                $(call copy_toolchain_lib_root, $$libs, /lib, $(BR2_TOOLCHAIN_EXTERNAL_STRIP)); \
        done
-       $(call copy_toolchain_sysroot)
\ No newline at end of file
+       $(call copy_toolchain_sysroot)