From ef642f3ed571fad81f3f1481c52f3cfe27f8739d Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 13 Jul 2010 04:21:19 +0200 Subject: [PATCH] scripts/install: fix support for disable build of packages not supported by given arch/platform Signed-off-by: Stephan Raue --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index cbf67edae6..08c02afff2 100755 --- a/scripts/install +++ b/scripts/install @@ -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