Re: [PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2015-01-04 Thread Masahiro Yamada
Hi Michal, On Fri, 02 Jan 2015 17:04:42 +0100 Michal Marek wrote: > > > > -quiet_cmd_bounds = GEN $@ > > -define cmd_bounds > > +quiet_cmd_offsets = GEN $@ > > +define cmd_offsets > > (set -e; \ > > -echo "#ifndef __LINUX_BOUNDS_H__"; \ > > -echo "#define

Re: [PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2015-01-04 Thread Masahiro Yamada
Hi Michal, On Fri, 02 Jan 2015 17:04:42 +0100 Michal Marek mma...@suse.cz wrote: -quiet_cmd_bounds = GEN $@ -define cmd_bounds +quiet_cmd_offsets = GEN $@ +define cmd_offsets (set -e; \ -echo #ifndef __LINUX_BOUNDS_H__; \ -echo #define __LINUX_BOUNDS_H__;

Re: [PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2015-01-02 Thread Michal Marek
On 2014-12-24 07:49, Masahiro Yamada wrote: > The rules "cmd_bounds" and "cmd_offsets" are almost the same. > (The difference is only the include guards.) They can be merged. Good idea. > Signed-off-by: Masahiro Yamada > --- > > Kbuild | 59

Re: [PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2015-01-02 Thread Michal Marek
On 2014-12-24 07:49, Masahiro Yamada wrote: The rules cmd_bounds and cmd_offsets are almost the same. (The difference is only the include guards.) They can be merged. Good idea. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Kbuild | 59

[PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2014-12-23 Thread Masahiro Yamada
The rules "cmd_bounds" and "cmd_offsets" are almost the same. (The difference is only the include guards.) They can be merged. Signed-off-by: Masahiro Yamada --- Kbuild | 59 +-- 1 file changed, 21 insertions(+), 38 deletions(-) diff

[PATCH 1/2] kbuild: merge bounds.h and asm-offsets.h rules

2014-12-23 Thread Masahiro Yamada
The rules cmd_bounds and cmd_offsets are almost the same. (The difference is only the include guards.) They can be merged. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Kbuild | 59 +-- 1 file changed, 21 insertions(+), 38