From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Oleksij Rempel Date: Fri, 3 Apr 2020 14:40:24 +0200 Message-Id: <20200403124024.16885-1-o.rempel@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH v1] MIPS: add a script to update all configs List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Oleksij Rempel Add a script to make updating of barebox and kernel packages easier. Signed-off-by: Oleksij Rempel --- scripts/update-diffs-mips.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/update-diffs-mips.sh diff --git a/scripts/update-diffs-mips.sh b/scripts/update-diffs-mips.sh new file mode 100755 index 0000000..b1bdde3 --- /dev/null +++ b/scripts/update-diffs-mips.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +if [ -z "$PTXDIST" ]; then + PTXDIST=ptxdist +else + tput setaf 3 # yellow + echo Note: using PTXDIST=$PTXDIST + tput sgr 0 # back to normal +fi + +PACKAGES="barebox-common barebox-ar9331 barebox-malta kernel kernel-ar9331 kernel-malta" +for pkg in $PACKAGES; do + $PTXDIST --platformconfig="configs/platform-mips/platformconfig" oldconfig $pkg +done -- 2.26.0.rc2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de