Add helper script for future imports.
This commit is contained in:
parent
b9829059e8
commit
53e1bee525
18
sys/external/bsd/compiler_rt/prepare-import.sh
vendored
Executable file
18
sys/external/bsd/compiler_rt/prepare-import.sh
vendored
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
# $NetBSD: prepare-import.sh,v 1.1 2013/07/04 22:12:40 joerg Exp $
|
||||
#
|
||||
# Checkout compiler_rt into dist.
|
||||
# Run this script and check for additional files and directories to prune,
|
||||
# only relevant content should be included.
|
||||
|
||||
set -e
|
||||
|
||||
cd dist
|
||||
rm -rf .svn
|
||||
rm -rf BlocksRuntime SDKs cmake include make www
|
||||
rm -f .arcconfig .gitignore CMakeLists.txt Makefile
|
||||
rm -rf lib/asan lib/interception lib/msan lib/msandr lib/sanitizer_common
|
||||
rm -rf lib/tsan lib/ubsan
|
||||
rm -f lib/*/Makefile.mk lib/Makefile.mk lib/CMakeLists.txt
|
||||
rm -f lib/apple_versioning.c lib/lit.common.* lib/profile/CMakeLists.txt
|
||||
rmdir lib/sparc64
|
Loading…
Reference in New Issue
Block a user