From: Luis R. Rodriguez Date: Wed, 5 Dec 2012 01:28:11 +0000 (-0800) Subject: compat-drivers: modify release script to support unified drivers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1fff5e68da4e77d9062bb3b2f6d240806072ea29;p=openwrt%2Fstaging%2Fblogic.git compat-drivers: modify release script to support unified drivers The -u argument was used to upload releases to kernel.org. Lets rename this to -r for 'release to kernel.org' given that we have no introduced -u for unified-drivers support into compat-drivers. Signed-off-by: Luis R. Rodriguez --- diff --git a/scripts/gen-release.sh b/scripts/gen-release.sh index daefca5a100e..4573cc2980f6 100755 --- a/scripts/gen-release.sh +++ b/scripts/gen-release.sh @@ -54,15 +54,16 @@ function usage() echo -e "or" echo -e "export GIT_TREE=${HOME}/linux-next/" echo -e "" - echo -e "${GREEN}$1${NORMAL} ${BLUE}[ -s | -n | -p | -c | -u | -k ]${NORMAL}" + echo -e "${GREEN}$1${NORMAL} ${BLUE}[ -s | -n | -p | -c | -r | -k ]${NORMAL}" echo -e "" echo -e "-s apply ${BLUE}pending-stable/${NORMAL} patches" echo -e "-n apply ${BLUE}linux-next-cherry-picks/${NORMAL} patches" echo -e "-p apply ${BLUE}linux-next-pending/${NORMAL} patches" echo -e "-c apply ${BLUE}crap/${NORMAL} patches" + echo -e "-u apply ${BLUE}unified-drivers/${NORMAL} patches" echo -e "" echo -e "-k run ${GREEN}git clean -x -d -f${NORMAL} for you, ${RED}not for the faint of heart${NORMAL}" - echo -e "-u upload to kernel.org" + echo -e "-r release to kernel.org" echo echo Examples usages: echo @@ -135,8 +136,13 @@ while [ $# -ne 0 ]; do POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}c" shift; continue; fi - if [[ "$1" = "-u" ]]; then + UPDATE_ARGS="${UPDATE_ARGS} $1" + POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}u" + shift; continue; + fi + + if [[ "$1" = "-r" ]]; then USE_KUP="1" shift; continue; fi