]> git.openfabrics.org - ~emulex/for-vlad/old/compat-rdma.git/commitdiff
admin_rdma.sh: Always apply patches from crap directory.
authorVipul Pandya <vipul@chelsio.com>
Fri, 18 May 2012 15:19:25 +0000 (08:19 -0700)
committerVipul Pandya <vipul@chelsio.com>
Fri, 18 May 2012 15:19:25 +0000 (08:19 -0700)
The patch, 01-iw_cxgb3-iw_cxgb4-Enable-header-file-inclusion-with-.patch
in the crap directory is necessary to build iw_cxgb3/iw_cxgb4 driver.
Hence modify the admin_rdma.sh to always apply that patch.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
scripts/admin_rdma.sh

index 57a570dd10747837890e93c0deacf68da4cc33ed..d31d8c5c707323f1c6a7f6e5697dbd0e7b39a732 100755 (executable)
@@ -33,7 +33,6 @@ usage() {
        printf "${GREEN}%10s${NORMAL} - get and apply pending-stable/ fixes purging old files there\n" "-s"
        printf "${GREEN}%10s${NORMAL} - apply the patches linux-next-cherry-picks directory\n" "-n"
        printf "${GREEN}%10s${NORMAL} - apply the patches on the linux-next-pending directory\n" "-p"
-       printf "${GREEN}%10s${NORMAL} - apply the patches on the crap directory\n" "-c"
 }
 
 # Execute command w/ echo and exit if it fail
@@ -121,7 +120,7 @@ nagometer() {
 
 }
 
-EXTRA_PATCHES="patches"
+EXTRA_PATCHES="patches crap"
 REFRESH="n"
 GET_STABLE_PENDING="n"
 POSTFIX_RELEASE_TAG=""
@@ -152,11 +151,6 @@ if [ $# -ge 1 ]; then
                        POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}p"
                        shift; continue;
                fi
-               if [[ "$1" = "-c" ]]; then
-                       EXTRA_PATCHES="${EXTRA_PATCHES} crap"
-                       POSTFIX_RELEASE_TAG="${POSTFIX_RELEASE_TAG}c"
-                       shift; continue;
-               fi
                if [[ "$1" = "refresh" ]]; then
                        REFRESH="y"
                        shift; continue;