1#!/bin/bash 2# Copyright 2020 The ChromiumOS Authors 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6# See generated commit message for details on script. 7 8project=$1 9name=shared-hw-arc-features 10 11changes=$(git status | grep "sw_build_config") 12if [[ -n "${changes}" ]]; then 13 echo "For ${project}, uploading: ${changes}" 14 git add -u 15 git commit -m" 16${project}: Regenerating ARC hardware_features* 17 18ARC hardware features can now be shared across the same design project. 19 20This regenerates the config to leverage this sharing option. 21 22BUG=None 23TEST=cq 24 25Cq-Depend: chromium:2194303 26" 27 28 repo upload --no-verify --ht="${name}" 29fi 30