diff --git a/scripts/build b/scripts/build index 748f49a028..e169c796b5 100755 --- a/scripts/build +++ b/scripts/build @@ -10,10 +10,12 @@ if [ -z "$1" ]; then fi if [ -f $PKG_DIR/arch ]; then + grep -q "$TARGET_ARCH" "$PKG_DIR/arch" || exit 0 grep -q "\-$TARGET_ARCH" "$PKG_DIR/arch" && exit 0 fi if [ -f $PKG_DIR/platform ]; then + grep -q "$TARGET_PLATFORM" "$PKG_DIR/platform" || exit 0 grep -q "\-$TARGET_PLATFORM" "$PKG_DIR/platform" && exit 0 fi