Skip to content
  • Daniel Walker's avatar
    powerpc: convert config files to generic cmdline · 5d4514a9
    Daniel Walker authored
    
    
    This is a scripted mass convert of the config files to use
    the new generic cmdline. There is a bit of a trim effect here.
    It would seems that some of the config haven't been trimmed in
    a while.
    
    The script used to convert is as follows,
    
    if [[ -z "$1" || -z "$2" ]]; then
            echo "Two arguments are needed."
            exit 1
    fi
    mkdir $1
    cp $2 $1/.config
    sed -i 's/CONFIG_CMDLINE=/CONFIG_CMDLINE_PREPEND=/g' $1/.config
    make ARCH=$1 O=$1 olddefconfig
    make ARCH=$1 O=$1 savedefconfig
    cp $1/defconfig $2
    rm -Rf $1
    
    Cc: xe-linux-external@cisco.com
    Cc: Daniel Walker <dwalker@fifo99.com>
    Signed-off-by: default avatarDaniel Walker <danielwa@cisco.com>
    5d4514a9