On Fri, Apr 06, 2018 at 11:07:28AM +0200, Alexander Dahl wrote:
> * Add line in kconfig rule
> * Fix line in make rule

No. If we change the modelines, then we do this for all files. I don't
really care about this. Feel free to start a discussion to figure out the
'correct' modelines. I see several different ones right now. Then we can
script this to change all files including templates.

Michael

> Signed-off-by: Alexander Dahl <a...@thorsis.com>
> ---
>  rules/nftables.in   | 3 ++-
>  rules/nftables.make | 2 +-
>  2 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/nftables.in b/rules/nftables.in
> index 0377e731c1..be7fca1fa0 100644
> --- a/rules/nftables.in
> +++ b/rules/nftables.in
> @@ -24,7 +24,6 @@ config NFTABLES_DEBUG
>       default y
>       prompt "enable debug"
>  
> -
>  config NFTABLES_MGMP
>       bool
>       prompt "use mini-GMP"
> @@ -33,3 +32,5 @@ config NFTABLES_MGMP
>         libgmp. (may reduce debugging verbosity on some files)
>  
>  endif
> +
> +# vim: ft=kconfig noet tw=72
> diff --git a/rules/nftables.make b/rules/nftables.make
> index 74828a2e92..774a1fd935 100644
> --- a/rules/nftables.make
> +++ b/rules/nftables.make
> @@ -61,4 +61,4 @@ $(STATEDIR)/nftables.targetinstall:
>  
>       @$(call touch)
>  
> -# vim: syntax=make
> +# vim: ft=make noet ts=8 sw=8
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
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
ptxdist@pengutronix.de

Reply via email to