Revert "Preserve resources and attributes when copying stripped binaries"

This reverts commit a427aa2f4a.
This commit is contained in:
Ingo Weinhold
2013-10-12 15:59:19 +02:00
parent 47fe7767ca
commit d05822f18b
2 changed files with 3 additions and 10 deletions
+3 -9
View File
@@ -800,17 +800,11 @@ actions AppendToContainerCopyFilesScriptStripFile
>> $(2[1]) >> $(2[1])
fi fi
echo "stripped_file=\"\${tmpDir}/stripped_\$\$\"" >> $(2[1]) echo \$cp "\"\${sPrefix}$(2[2])\"" \
echo \$strip -o "\"\${stripped_file}\"" "\"\${sPrefix}$(2[2])\"" >> $(2[1])
echo \$xres -o "\"\${stripped_file}\"" "\"\${sPrefix}$(2[2])\"" >> $(2[1])
echo \$cp "\"\${stripped_file}\"" \
"\"\${tPrefix}$(TARGET_DIR)/$(INSTALL_TARGET_NAME)\"" >> $(2[1])
echo \$copyattr "\"\${sPrefix}$(2[2])\"" \
"\"\${tPrefix}$(TARGET_DIR)/$(INSTALL_TARGET_NAME)\"" >> $(2[1]) "\"\${tPrefix}$(TARGET_DIR)/$(INSTALL_TARGET_NAME)\"" >> $(2[1])
echo \$rm "\"\${stripped_file}\"" >> $(2[1]) echo \$strip "\"\${tPrefix}$(TARGET_DIR)/$(INSTALL_TARGET_NAME)\"" \
"2>/dev/null" "|| true" >> $(2[1])
} }
-1
View File
@@ -184,7 +184,6 @@ AddVariableToScript $(script) : addBuildCompatibilityLibDir
: $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) ; : $(HOST_ADD_BUILD_COMPATIBILITY_LIB_DIR) ;
AddTargetVariableToScript $(script) : <build>copyattr ; AddTargetVariableToScript $(script) : <build>copyattr ;
AddTargetVariableToScript $(script) : $(HAIKU_STRIP_$(TARGET_ARCH)) : strip ; AddTargetVariableToScript $(script) : $(HAIKU_STRIP_$(TARGET_ARCH)) : strip ;
AddTargetVariableToScript $(script) : <build>xres ;
# create the other scripts # create the other scripts
local makeDirsScript = <FloppyBootArchive>haiku-floppyboot-make-dirs ; local makeDirsScript = <FloppyBootArchive>haiku-floppyboot-make-dirs ;