|
|
@ -40,11 +40,12 @@ find $PKG_DIR -name "*.pyc" | xargs rm
|
|
|
|
|
|
|
|
|
|
|
|
# Add facebook-clang-plugin
|
|
|
|
# Add facebook-clang-plugin
|
|
|
|
PKG_PLUGIN_DIR=$PKG_DIR/facebook-clang-plugin
|
|
|
|
PKG_PLUGIN_DIR=$PKG_DIR/facebook-clang-plugin
|
|
|
|
mkdir -p $PKG_PLUGIN_DIR/clang/{bin,lib}
|
|
|
|
mkdir -p $PKG_PLUGIN_DIR/clang/{bin,lib,include}
|
|
|
|
mkdir -p $PKG_PLUGIN_DIR/libtooling/build
|
|
|
|
mkdir -p $PKG_PLUGIN_DIR/libtooling/build
|
|
|
|
cp $CLANG_PLUGIN_DIR/{CONTRIBUTING.md,LICENSE,LLVM-LICENSE,PATENTS,README.md} $PKG_PLUGIN_DIR
|
|
|
|
cp $CLANG_PLUGIN_DIR/{CONTRIBUTING.md,LICENSE,LLVM-LICENSE,PATENTS,README.md} $PKG_PLUGIN_DIR
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/clang/bin/clang* $PKG_PLUGIN_DIR/clang/bin
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/clang/bin/clang* $PKG_PLUGIN_DIR/clang/bin
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/clang/lib/* $PKG_PLUGIN_DIR/clang/lib
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/clang/lib/* $PKG_PLUGIN_DIR/clang/lib
|
|
|
|
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/clang/include/* $PKG_PLUGIN_DIR/clang/include
|
|
|
|
rm $PKG_PLUGIN_DIR/clang/lib/*.a
|
|
|
|
rm $PKG_PLUGIN_DIR/clang/lib/*.a
|
|
|
|
|
|
|
|
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/libtooling/build/* $PKG_PLUGIN_DIR/libtooling/build
|
|
|
|
cp -r $CLANG_PLUGIN_DIR/libtooling/build/* $PKG_PLUGIN_DIR/libtooling/build
|
|
|
|