minix/sys/external/bsd/compiler_rt/prepare-import.sh

19 lines
612 B
Bash
Raw Normal View History

#!/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