sbsv2/raptor/group/exports.sh
author yiluzhu
Fri, 12 Feb 2010 16:57:08 +0000
branchwip
changeset 328 8bc2b0b8d54c
parent 3 e1eecf4d390d
permissions -rwxr-xr-x
Fix platform macros issue when cross compile

#!/bin/bash

# script to generate exports for this component

# copy ../* to /tools/sbs

find .. -maxdepth 1 -type f -not -name "distribution.policy*" -print | sed 's!\.\.\(.*\)!\.\.\1 /tools/sbs\1!' > exports.inf

for i in bin lib python schema util; do
    find ../$i -type f -not -name "distribution.policy*" -not -name "*.pyc" -print | sed 's!\.\.\(.*\)!\.\.\1 /tools/sbs\1!' >> exports.inf
done