Marc,

Can you review the following patch? I'm not sure if this is the right
fix, but the menues work again after applying it.

rsc

On Fri, Dec 18, 2009 at 10:43:44AM +0100, Robert Schwebel wrote:
> From: Robert Schwebel <[email protected]>
> 
> Since 96c9beeb, 'ptxdist boardsetup' and 'ptxdist setup' bailed out with
> an error message:
> 
>   ptxdist: error: 'ptxd_kgen' doesn't support 'board, yet
> 
> Signed-off-by: Robert Schwebel <[email protected]>
> ---
>  scripts/lib/ptxd_lib_kgen.sh |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/scripts/lib/ptxd_lib_kgen.sh b/scripts/lib/ptxd_lib_kgen.sh
> index 4ca6c61..32da0ed 100644
> --- a/scripts/lib/ptxd_lib_kgen.sh
> +++ b/scripts/lib/ptxd_lib_kgen.sh
> @@ -96,6 +96,7 @@ EOF
>      case "${kgen_part}" in
>       ptx)      kgen_part_dir="rules" ;;
>       platform) kgen_part_dir="platforms" ;;
> +     board|user) return 0 ;;
>       *) cat <<EOF
>  
>  ${PROMPT}error: '${FUNCNAME}' doesn't support '${part}, yet'

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--
ptxdist mailing list
[email protected]

Reply via email to