Re: [PATCH] modsign: provide option to automatically delete the key after modules were installed

2015-01-23 Thread Michal Marek
On 2015-01-23 02:20, Alexander Holler wrote: I usually throw away (delete) the key used to sign modules after having called make -jN (b)zImage modules make -jN modules_install. Because I've got bored to always have to type rm signing_key.* afterwards, I've build this patch some time ago. As

Re: [PATCH] modsign: provide option to automatically delete the key after modules were installed

2015-01-23 Thread Michal Marek
On 2015-01-23 11:15, Alexander Holler wrote: Am 23.01.2015 um 10:39 schrieb Alexander Holler: Am 23.01.2015 um 10:24 schrieb Michal Marek: + @rm ./signing_key.priv + @rm ./signing_key.x509 Why do you need to delete the certificate? No special reason. I'm just not sure (and too lazy

[PATCH] hid: Use Kbuild idiom in Makefiles

2015-01-21 Thread Michal Marek
Use -$(CONFIG_FOO) syntax to build multipart objects with optional parts, since all the config options are bool. Also, delete the obvious comments in the usbhid Makefile. Signed-off-by: Michal Marek --- drivers/hid/Makefile| 49 +++-- drivers/hid

[PATCH] hid: Use Kbuild idiom in Makefiles

2015-01-21 Thread Michal Marek
Use driver-$(CONFIG_FOO) syntax to build multipart objects with optional parts, since all the config options are bool. Also, delete the obvious comments in the usbhid Makefile. Signed-off-by: Michal Marek mma...@suse.cz --- drivers/hid/Makefile| 49

Re: [PATCH v4 20/20] kbuild: add a new kselftest_install make target to install selftests

2015-01-15 Thread Michal Marek
KSFT_PATH >> -- runs selftests make install target >> >> Signed-off-by: Shuah Khan >> --- >> Makefile | 14 +- >> 1 file changed, 13 insertions(+), 1 deletion(-) > > Hi Marek, > > Could you please Ack this patch, if this version loo

Re: [PATCH v4 20/20] kbuild: add a new kselftest_install make target to install selftests

2015-01-15 Thread Michal Marek
...@osg.samsung.com --- Makefile | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) Hi Marek, Could you please Ack this patch, if this version looks good, so I can take this through ksefltest tree. Sorry, I thought I had acked v3. Acked-by: Michal Marek mma...@suse.cz

Re: [PATCH 0/6] kbuild: refactor Makefiles related with cc-version

2015-01-09 Thread Michal Marek
On 2014-12-25 06:31, Masahiro Yamada wrote: > Masahiro Yamada (6): > kbuild: fix cc-ifversion macro > kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion > kbuild,gcov: remove unnecessary workaround > kbuild,gcov: simplify kernel/gcov/Makefile > kbuild: allow

[PATCH 3/3] tomoyo: Do not generate empty policy files

2015-01-09 Thread Michal Marek
in exception_policy.conf.default. Signed-off-by: Michal Marek --- security/tomoyo/.gitignore | 2 +- security/tomoyo/Makefile | 30 ++ .../tomoyo/policy/exception_policy.conf.default| 2 ++ 3 files changed, 5 insertions(+), 29 deletions

[PATCH 1/3] tomoyo: Use bin2c to generate builtin-policy.h

2015-01-09 Thread Michal Marek
Signed-off-by: Michal Marek --- security/tomoyo/Kconfig | 1 + security/tomoyo/Makefile | 20 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/security/tomoyo/Kconfig b/security/tomoyo/Kconfig index 8eb779b9d..f22d115 100644 --- a/security/tomoyo/Kconfig

[PATCH 2/3] tomoyo: Use if_changed when generating builtin-policy.h

2015-01-09 Thread Michal Marek
Signed-off-by: Michal Marek --- security/tomoyo/Makefile | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/security/tomoyo/Makefile b/security/tomoyo/Makefile index a6c02a5..ccca034 100644 --- a/security/tomoyo/Makefile +++ b/security/tomoyo

[PATCH 0/3] tomoyo Makefile cleanup

2015-01-09 Thread Michal Marek
The tomoyo build leaves files in security/tomoyo which are not removed by make clean. Fix this and clean up the Makefile rules a bit. Michal Marek (3): tomoyo: Use bin2c to generate builtin-policy.h tomoyo: Use if_changed when generating builtin-policy.h tomoyo: Do not generate empty policy

[PATCH] x86: Fix make clean

2015-01-09 Thread Michal Marek
The $(targets) variable should not depend on the configuration, so that make clean always cleans every possible generated file. Where this is impractical, list the potential products of a build in $(clean-files). Reported-by: Linus Torvalds Signed-off-by: Michal Marek --- arch/x86/boot

Re: [GIT PULL] make mrproper fix for v3.19-rc4

2015-01-09 Thread Michal Marek
On 2015-01-08 23:42, Linus Torvalds wrote: > Just do > > make allmodconfig > .. build the tree .. > make distclean > git ls-files -o > > to see any files that are left-over despite the distclean ("git > ls-files -o" basically shows all untracked files - 'o' stands for > 'others'

Re: [PATCH 0/6] kbuild: refactor Makefiles related with cc-version

2015-01-09 Thread Michal Marek
On 2014-12-25 06:31, Masahiro Yamada wrote: Masahiro Yamada (6): kbuild: fix cc-ifversion macro kbuild: do not add $(call ...) to invoke cc-version or cc-fullversion kbuild,gcov: remove unnecessary workaround kbuild,gcov: simplify kernel/gcov/Makefile kbuild: allow cc-ifversion to

Re: [GIT PULL] make mrproper fix for v3.19-rc4

2015-01-09 Thread Michal Marek
On 2015-01-08 23:42, Linus Torvalds wrote: Just do make allmodconfig .. build the tree .. make distclean git ls-files -o to see any files that are left-over despite the distclean (git ls-files -o basically shows all untracked files - 'o' stands for 'others' - so

[PATCH] x86: Fix make clean

2015-01-09 Thread Michal Marek
The $(targets) variable should not depend on the configuration, so that make clean always cleans every possible generated file. Where this is impractical, list the potential products of a build in $(clean-files). Reported-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: Michal

[PATCH 0/3] tomoyo Makefile cleanup

2015-01-09 Thread Michal Marek
The tomoyo build leaves files in security/tomoyo which are not removed by make clean. Fix this and clean up the Makefile rules a bit. Michal Marek (3): tomoyo: Use bin2c to generate builtin-policy.h tomoyo: Use if_changed when generating builtin-policy.h tomoyo: Do not generate empty policy

[PATCH 2/3] tomoyo: Use if_changed when generating builtin-policy.h

2015-01-09 Thread Michal Marek
Signed-off-by: Michal Marek mma...@suse.cz --- security/tomoyo/Makefile | 27 ++- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/security/tomoyo/Makefile b/security/tomoyo/Makefile index a6c02a5..ccca034 100644 --- a/security/tomoyo/Makefile +++ b/security

[PATCH 3/3] tomoyo: Do not generate empty policy files

2015-01-09 Thread Michal Marek
in exception_policy.conf.default. Signed-off-by: Michal Marek mma...@suse.cz --- security/tomoyo/.gitignore | 2 +- security/tomoyo/Makefile | 30 ++ .../tomoyo/policy/exception_policy.conf.default| 2 ++ 3 files changed, 5 insertions(+), 29

[PATCH 1/3] tomoyo: Use bin2c to generate builtin-policy.h

2015-01-09 Thread Michal Marek
Signed-off-by: Michal Marek mma...@suse.cz --- security/tomoyo/Kconfig | 1 + security/tomoyo/Makefile | 20 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/security/tomoyo/Kconfig b/security/tomoyo/Kconfig index 8eb779b9d..f22d115 100644 --- a/security

Re: [PATCH] kbuild: drop $(version_h) from MRPROPER_FILES

2015-01-08 Thread Michal Marek
On 2015-01-08 09:29, Masahiro Yamada wrote: > Now $(version_h) is include/generated/uapi/linux/version.h. > > $(version_h) in MRPROPER_FILES is redundant because it is covered > by include/generated in MRPROPER_DIRS. > > Signed-off-by: Masahiro Yamada Applied to kbuild.git#kbuild, thanks.

[PATCH] Makefile: include arch/*/include/generated/uapi before .../generated

2015-01-08 Thread Michal Marek
kernel code. Reported-by: "Nicholas A. Bellinger" Reported-by: David Drysdale Signed-off-by: Michal Marek --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index eb4eca5..87f0c05 100644 --- a/Makefile +++ b/Makefile @@ -391,6 +391,7 @@ U

Re: [PATCH] kbuild: use mixed-targets when two or more config targets are given

2015-01-08 Thread Michal Marek
On 2014-12-11 11:12, Masahiro Yamada wrote: > "make kvmconfig" expects that the .config has already been created, > but some people might want to create the .config and run kvmconfig > in one shot command, like this: > > $ make defconfig kvmconfig > > To make sure this command works correctly

Re: [PATCH] kbuild: trivial - fix the help doc of CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-01-08 Thread Michal Marek
On 2014-12-11 02:46, Masahiro Yamada wrote: > Hi Michal, > > Does this seem OK? > > > > On Tue, 5 Aug 2014 14:43:07 +0900 > Masahiro Yamada wrote: > >> Other than GCC, we have another choice, Clang for building the kernel >> these days. It seems better to say "compiler" rather than "gcc".

[PATCH] kbuild: Update documentation of clean-files and clean-dirs

2015-01-08 Thread Michal Marek
Commit a16c5f99 (kbuild: Fix removal of the debian/ directory) slightly changed the processing of the clean-files and clean-dirs variables. Also, use a current real-world example of clean-files usage. Signed-off-by: Michal Marek --- Documentation/kbuild/makefiles.txt | 11 +-- 1 file

Re: [GIT PULL] make mrproper fix for v3.19-rc4

2015-01-08 Thread Michal Marek
On 2015-01-08 11:49, Michal Marek wrote: > Hi Linus, > > make mrproper / distclean stopped removing the generated debian/ > directory in v3.16. Please pull the fix. > > Thanks, > Michal > > The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672:

[GIT PULL] make mrproper fix for v3.19-rc4

2015-01-08 Thread Michal Marek
at: git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for you to fetch changes up to a16c5f99a28c9945165c46da27fff8e6f26f8736: kbuild: Fix removal of the debian/ directory (2015-01-02 14:51:27 +0100) Michal Marek (1

[GIT PULL] make mrproper fix for v3.19-rc4

2015-01-08 Thread Michal Marek
at: git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild.git for you to fetch changes up to a16c5f99a28c9945165c46da27fff8e6f26f8736: kbuild: Fix removal of the debian/ directory (2015-01-02 14:51:27 +0100) Michal Marek (1

Re: [GIT PULL] make mrproper fix for v3.19-rc4

2015-01-08 Thread Michal Marek
On 2015-01-08 11:49, Michal Marek wrote: Hi Linus, make mrproper / distclean stopped removing the generated debian/ directory in v3.16. Please pull the fix. Thanks, Michal The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08

[PATCH] kbuild: Update documentation of clean-files and clean-dirs

2015-01-08 Thread Michal Marek
Commit a16c5f99 (kbuild: Fix removal of the debian/ directory) slightly changed the processing of the clean-files and clean-dirs variables. Also, use a current real-world example of clean-files usage. Signed-off-by: Michal Marek mma...@suse.cz --- Documentation/kbuild/makefiles.txt | 11

Re: [PATCH] kbuild: trivial - fix the help doc of CONFIG_CC_OPTIMIZE_FOR_SIZE

2015-01-08 Thread Michal Marek
On 2014-12-11 02:46, Masahiro Yamada wrote: Hi Michal, Does this seem OK? On Tue, 5 Aug 2014 14:43:07 +0900 Masahiro Yamada yamad...@jp.panasonic.com wrote: Other than GCC, we have another choice, Clang for building the kernel these days. It seems better to say compiler rather

Re: [PATCH] kbuild: use mixed-targets when two or more config targets are given

2015-01-08 Thread Michal Marek
On 2014-12-11 11:12, Masahiro Yamada wrote: make kvmconfig expects that the .config has already been created, but some people might want to create the .config and run kvmconfig in one shot command, like this: $ make defconfig kvmconfig To make sure this command works correctly even if

Re: [PATCH] kbuild: drop $(version_h) from MRPROPER_FILES

2015-01-08 Thread Michal Marek
On 2015-01-08 09:29, Masahiro Yamada wrote: Now $(version_h) is include/generated/uapi/linux/version.h. $(version_h) in MRPROPER_FILES is redundant because it is covered by include/generated in MRPROPER_DIRS. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to

[PATCH] Makefile: include arch/*/include/generated/uapi before .../generated

2015-01-08 Thread Michal Marek
kernel code. Reported-by: Nicholas A. Bellinger n...@linux-iscsi.org Reported-by: David Drysdale d...@lurklurk.org Signed-off-by: Michal Marek mma...@suse.cz --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index eb4eca5..87f0c05 100644 --- a/Makefile +++ b

Re: Linux 3.19-rc1 - merge window closed

2015-01-07 Thread Michal Marek
Dne 23.12.2014 v 00:19 David Drysdale napsal(a): > On 22 Dec 2014 18:02, "Linus Torvalds" > wrote: > When this occurred previously, I also failed to reproduce it. However, > it appeared (https://lkml.org/lkml/2014/11/25/542) to specifically > involve a stale copy of

Re: [PATCH 2/2] merge_config.sh: add -? for help

2015-01-07 Thread Michal Marek
On Thu, Dec 11, 2014 at 12:55:04PM -0800, Olof Johansson wrote: > It's usual enough for help text that it makes sense to support it. It's quite unusual for a *nix utility to recognize '-?'. And -h is already supported. Michal -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 1/2] merge_config.sh: Display usage if given too few arguments

2015-01-07 Thread Michal Marek
On Thu, Dec 11, 2014 at 12:55:03PM -0800, Olof Johansson wrote: > Two or more arguments are always expected. Show usage and exit if > given less. > > Signed-off-by: Olof Johansson Applied to kbuild.git#kconfig, thanks. Michal -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 1/2] merge_config.sh: Display usage if given too few arguments

2015-01-07 Thread Michal Marek
On Thu, Dec 11, 2014 at 12:55:03PM -0800, Olof Johansson wrote: Two or more arguments are always expected. Show usage and exit if given less. Signed-off-by: Olof Johansson o...@lixom.net Applied to kbuild.git#kconfig, thanks. Michal -- To unsubscribe from this list: send the line

Re: [PATCH 2/2] merge_config.sh: add -? for help

2015-01-07 Thread Michal Marek
On Thu, Dec 11, 2014 at 12:55:04PM -0800, Olof Johansson wrote: It's usual enough for help text that it makes sense to support it. It's quite unusual for a *nix utility to recognize '-?'. And -h is already supported. Michal -- To unsubscribe from this list: send the line unsubscribe

Re: Linux 3.19-rc1 - merge window closed

2015-01-07 Thread Michal Marek
Dne 23.12.2014 v 00:19 David Drysdale napsal(a): On 22 Dec 2014 18:02, Linus Torvalds torva...@linux-foundation.org wrote: When this occurred previously, I also failed to reproduce it. However, it appeared (https://lkml.org/lkml/2014/11/25/542) to specifically involve a stale copy of

Re: [PATCH] kconfig: use bool instead of boolean for type definition attributes

2015-01-06 Thread Michal Marek
On 2015-01-06 02:11, Christoph Jaeger wrote: > On Mon, Jan 05, 2015 at 07:47:13PM -0500, Christoph Jaeger wrote: >> On Tue, Jan 06, 2015 at 12:06:37AM +0100, Paul Bolle wrote: >>> On Mon, 2015-01-05 at 14:43 -0500, Christoph Jaeger wrote: >>>> (adding Michal Marek)

Re: [PATCH] kconfig: use bool instead of boolean for type definition attributes

2015-01-06 Thread Michal Marek
On 2015-01-06 02:11, Christoph Jaeger wrote: On Mon, Jan 05, 2015 at 07:47:13PM -0500, Christoph Jaeger wrote: On Tue, Jan 06, 2015 at 12:06:37AM +0100, Paul Bolle wrote: On Mon, 2015-01-05 at 14:43 -0500, Christoph Jaeger wrote: (adding Michal Marek) Yann added no commits in 2014. And I

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2015-01-05 Thread Michal Marek
On 2014-12-26 19:46, Ben Hutchings wrote: > On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote: >> On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek wrote: >> [...] >>> >>> Any other make (PHONY) target I don't know? >>> >> >> I fell over "clean-dirs"... >> >> scripts/package/Makefile:93:clean-dirs

Re: [PATCH v2 0/2] kbuild: Refactor ./Kbuild

2015-01-05 Thread Michal Marek
On 2015-01-05 07:57, Masahiro Yamada wrote: > Changes in v2: > - Pass the include guard as an argument of cmd_offsets > as Michal Marek suggested. > > Masahiro Yamada (2): > kbuild: merge bounds.h and asm-offsets.h rules > kbuild: remove redundant line from b

Re: [PATCH v2 0/2] kbuild: Refactor ./Kbuild

2015-01-05 Thread Michal Marek
On 2015-01-05 07:57, Masahiro Yamada wrote: Changes in v2: - Pass the include guard as an argument of cmd_offsets as Michal Marek suggested. Masahiro Yamada (2): kbuild: merge bounds.h and asm-offsets.h rules kbuild: remove redundant line from bounds.h/asm-offsets.h Merged

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2015-01-05 Thread Michal Marek
On 2014-12-26 19:46, Ben Hutchings wrote: On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote: On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek sedat.di...@gmail.com wrote: [...] Any other make (PHONY) target I don't know? I fell over clean-dirs... scripts/package/Makefile:93:clean-dirs +=

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] scripts: fix link-vmlinux.sh bash-ism

2015-01-02 Thread Michal Marek
On 2014-12-29 17:34, Sylvain BERTRAND wrote: > Chocked while compiling linux with dash shell instead of bash shell. > See: > http://pubs.opengroup.org/onlinepubs/95399/utilities/trap.html Please describe the actual problem in the changelog. I guess it's because of the 'ERR' trap? > Cc: Ingo

Re: [PATCH 1/2] kbuild: Fix removal of the debian/ directory

2015-01-02 Thread Michal Marek
On 2014-12-31 16:50, Sedat Dilek wrote: > On Wed, Dec 31, 2014 at 4:35 PM, Michal Marek wrote: >> scripts/Makefile.clean treats absolute path specially, but >> $(objtree)/debian is no longer an absolute path since 7e1c0477 (kbuild: >> Use relative path for $(objtree). Work ar

Re: [PATCH 1/2] kbuild: Fix removal of the debian/ directory

2015-01-02 Thread Michal Marek
On 2014-12-31 16:50, Sedat Dilek wrote: On Wed, Dec 31, 2014 at 4:35 PM, Michal Marek mma...@suse.cz wrote: scripts/Makefile.clean treats absolute path specially, but $(objtree)/debian is no longer an absolute path since 7e1c0477 (kbuild: Use relative path for $(objtree). Work around

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

Re: [PATCH] scripts: fix link-vmlinux.sh bash-ism

2015-01-02 Thread Michal Marek
On 2014-12-29 17:34, Sylvain BERTRAND wrote: Chocked while compiling linux with dash shell instead of bash shell. See: http://pubs.opengroup.org/onlinepubs/95399/utilities/trap.html Please describe the actual problem in the changelog. I guess it's because of the 'ERR' trap? Cc: Ingo

[PATCH 2/2] kbuild: Drop support for clean-rule

2014-12-31 Thread Michal Marek
clean-rule has not been used since 94869f86 (kbuild: Accept absolute paths in clean-files and introduce clean-dirs) ten years ago. Signed-off-by: Michal Marek --- scripts/Makefile.clean | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index

[PATCH 1/2] kbuild: Fix removal of the debian/ directory

2014-12-31 Thread Michal Marek
path for $(objtree) Signed-off-by: Michal Marek --- scripts/Makefile.clean | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 1bca180..627f8cb 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Michal Marek
On 2014-12-31 15:16, Sedat Dilek wrote: > On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek wrote: >> The problem is that >> >> clean-dirs += $(objtree)/debian/ >> >> results in >> >> clean-dirs += ./debian/ >> >> and scripts/Makefile.clean

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Michal Marek
On 2014-12-26 19:46, Ben Hutchings wrote: > On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote: >> On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek wrote: >> [...] >>> >>> Any other make (PHONY) target I don't know? >>> >> >> I fell over "clean-dirs"... >> >> scripts/package/Makefile:93:clean-dirs

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Michal Marek
On 2014-12-26 19:46, Ben Hutchings wrote: On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote: On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek sedat.di...@gmail.com wrote: [...] Any other make (PHONY) target I don't know? I fell over clean-dirs... scripts/package/Makefile:93:clean-dirs +=

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-31 Thread Michal Marek
On 2014-12-31 15:16, Sedat Dilek wrote: On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek mma...@suse.cz wrote: The problem is that clean-dirs += $(objtree)/debian/ results in clean-dirs += ./debian/ and scripts/Makefile.clean treats it as relative to scripts/package. Thanks for your

[PATCH 2/2] kbuild: Drop support for clean-rule

2014-12-31 Thread Michal Marek
clean-rule has not been used since 94869f86 (kbuild: Accept absolute paths in clean-files and introduce clean-dirs) ten years ago. Signed-off-by: Michal Marek mma...@suse.cz --- scripts/Makefile.clean | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/Makefile.clean b/scripts

[PATCH 1/2] kbuild: Fix removal of the debian/ directory

2014-12-31 Thread Michal Marek
(kbuild: Use relative path for $(objtree) Signed-off-by: Michal Marek mma...@suse.cz --- scripts/Makefile.clean | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 1bca180..627f8cb 100644 --- a/scripts

Re: Linux 3.19-rc1 - merge window closed

2014-12-23 Thread Michal Marek
rror 2 >>>> make: *** Waiting for unfinished jobs >>> >>> Your .config works for me. Does a `make mrproper' fix it? >>> >>> I've seen a few reports like this in recent months. Something's >>> up with the build dependency system. >> >&

Re: Linux 3.19-rc1 - merge window closed

2014-12-23 Thread Michal Marek
. Let's add Michal Marek to CC then. Yep, post 'make mrproper' builds with CONFIG_AUDIT=y don't hit this failure. The previous build was with v3.18-rc2 btw. I guess you don't have the v3.18-rc2 based .config anymore, do you? Do you remember what kind of confuration it was, i.e

[GIT PULL] kbuild misc changes for v3.19-rc1

2014-12-19 Thread Michal Marek
Hi Linus, there are only a few things in the misc branch: * Fix for bugon.cocci semantic patch * Kdevelop4 files are .gitignored * Put make binrpm-pkg on diet Michal The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) are

[GIT PULL] kbuild changes for v3.19-rc1

2014-12-19 Thread Michal Marek
of defconfig targets in make help output Masahiro Yamada (2): kbuild: collect shorthands into scripts/Kbuild.include kbuild: remove redundant -rR flag of hdr-inst Michal Marek (3): kbuild: Remove duplicate $(cmd) definition in Makefile.clean kbuild: Automatically remove stale

[GIT PULL] kbuild changes for v3.19-rc1

2014-12-19 Thread Michal Marek
: sort list of defconfig targets in make help output Masahiro Yamada (2): kbuild: collect shorthands into scripts/Kbuild.include kbuild: remove redundant -rR flag of hdr-inst Michal Marek (3): kbuild: Remove duplicate $(cmd) definition in Makefile.clean kbuild: Automatically

[GIT PULL] kbuild misc changes for v3.19-rc1

2014-12-19 Thread Michal Marek
Hi Linus, there are only a few things in the misc branch: * Fix for bugon.cocci semantic patch * Kdevelop4 files are .gitignored * Put make binrpm-pkg on diet Michal The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) are

Re: [PATCH] scripts/package: binrpm-pkg do not build source tar file v4

2014-12-08 Thread Michal Marek
Dne 4.12.2014 v 16:53 j.gli...@gmail.com napsal(a): > From: Jérôme Glisse > > When doing make binrpm-pkg we only want to build the binary and header > package as the documentation of binrpm-pkg target claims. Hence this > patch avoid building the source and devel package. This makes binrpm-pkg >

Re: [PATCH] scripts/package: binrpm-pkg do not build source tar file v4

2014-12-08 Thread Michal Marek
Dne 4.12.2014 v 16:53 j.gli...@gmail.com napsal(a): From: Jérôme Glisse jgli...@redhat.com When doing make binrpm-pkg we only want to build the binary and header package as the documentation of binrpm-pkg target claims. Hence this patch avoid building the source and devel package. This makes

Re: [PATCH] scripts/package: binrpm-pkg do not create source and devel package v3

2014-12-04 Thread Michal Marek
On 2014-12-02 21:45, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > When doing make binrpm-pkg we only want to build the binary and header > package as the documentation of binrpm-pkg target claims. Hence this > patch avoid building the source and devel package. This makes binrpm-pkg >

Re: [PATCH] scripts/package: binrpm-pkg do not create source and devel package v3

2014-12-04 Thread Michal Marek
On 2014-12-02 21:45, j.gli...@gmail.com wrote: From: Jérôme Glisse jgli...@redhat.com When doing make binrpm-pkg we only want to build the binary and header package as the documentation of binrpm-pkg target claims. Hence this patch avoid building the source and devel package. This makes

Re: [PATCH] kbuild: remove redundant -rR flag of hdr-inst

2014-12-03 Thread Michal Marek
On Tue, Dec 02, 2014 at 01:30:46PM +0900, Masahiro Yamada wrote: > Passing -rR for "make headers_install" is redundant because > the top Makefile has already set -rR to MAKEFLAGS. > > Signed-off-by: Masahiro Yamada > --- > > scripts/Kbuild.include | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-03 Thread Michal Marek
On 2014-12-01 17:39, Shuah Khan wrote: > On 12/01/2014 08:47 AM, Michal Marek wrote: >> On 2014-11-11 21:27, Shuah Khan wrote: >>> diff --git a/Makefile b/Makefile >>> index 05d67af..ccbd2e1 100644 >>> --- a/Makefile >>> +++ b/Makefile >>>

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-03 Thread Michal Marek
On 2014-12-01 17:39, Shuah Khan wrote: On 12/01/2014 08:47 AM, Michal Marek wrote: On 2014-11-11 21:27, Shuah Khan wrote: diff --git a/Makefile b/Makefile index 05d67af..ccbd2e1 100644 --- a/Makefile +++ b/Makefile @@ -1071,12 +1071,26 @@ headers_check: headers_install $(Q)$(MAKE

Re: [PATCH] kbuild: remove redundant -rR flag of hdr-inst

2014-12-03 Thread Michal Marek
On Tue, Dec 02, 2014 at 01:30:46PM +0900, Masahiro Yamada wrote: Passing -rR for make headers_install is redundant because the top Makefile has already set -rR to MAKEFLAGS. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- scripts/Kbuild.include | 4 ++-- 1 file changed, 2

Re: [PATCH] scripts/package: binrpm-pkg do not build source tar file v2

2014-12-02 Thread Michal Marek
On 2014-12-01 21:57, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > When doing make binrpm-pkg we do not want to build the source tar > file. This patch avoid doing the gigantic tar file. Can you also update the changelog and subject? There is no gigantic tar file. > > echo 'rm -f

Re: [PATCH 4/5] limit _shipped to c h and S files

2014-12-02 Thread Michal Marek
On 2014-12-02 11:32, Nicholas Mc Guire wrote: > On Tue, 02 Dec 2014, Michal Marek wrote: > >> Dne 2.12.2014 v 10:16 Nicholas Mc Guire napsal(a): >>> >>> limit _shipped to c h and S files >>> >>> _shipped targets are intended for generated source f

Re: [PATCH 4/5] limit _shipped to c h and S files

2014-12-02 Thread Michal Marek
Dne 2.12.2014 v 10:16 Nicholas Mc Guire napsal(a): > > limit _shipped to c h and S files > > _shipped targets are intended for generated source files which should > not permit .o binary blobs which is currently the case. This patch > simply restricts _shipped targets to .c, .h and .S files.

Re: [PATCH 4/5] limit _shipped to c h and S files

2014-12-02 Thread Michal Marek
Dne 2.12.2014 v 10:16 Nicholas Mc Guire napsal(a): limit _shipped to c h and S files _shipped targets are intended for generated source files which should not permit .o binary blobs which is currently the case. This patch simply restricts _shipped targets to .c, .h and .S files. IMO this

Re: [PATCH 4/5] limit _shipped to c h and S files

2014-12-02 Thread Michal Marek
On 2014-12-02 11:32, Nicholas Mc Guire wrote: On Tue, 02 Dec 2014, Michal Marek wrote: Dne 2.12.2014 v 10:16 Nicholas Mc Guire napsal(a): limit _shipped to c h and S files _shipped targets are intended for generated source files which should not permit .o binary blobs which is currently

Re: [PATCH] scripts/package: binrpm-pkg do not build source tar file v2

2014-12-02 Thread Michal Marek
On 2014-12-01 21:57, j.gli...@gmail.com wrote: From: Jérôme Glisse jgli...@redhat.com When doing make binrpm-pkg we do not want to build the source tar file. This patch avoid doing the gigantic tar file. Can you also update the changelog and subject? There is no gigantic tar file. echo

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-01 Thread Michal Marek
On 2014-11-11 21:27, Shuah Khan wrote: > Add a new make target to install to install kernel selftests. > This new target will build and install selftests. kselftest > target now depends on kselftest_install and runs the generated > kselftest script to reduce duplicate work and for common look >

Re: [PATCH] ARM: kbuild: Fix forced rebuild after 'make dtbs'

2014-12-01 Thread Michal Marek
On 2014-11-28 15:10, Linus Walleij wrote: > On Wed, Nov 26, 2014 at 3:41 PM, Russell King - ARM Linux > wrote: >> On Wed, Nov 26, 2014 at 02:57:42PM +0100, Linus Walleij wrote: >>> make -f Makefile -j5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- >>> KBUILD_OUTPUT=build-u300 u300_defconfig >>>

Re: [PATCH] ARM: kbuild: Fix forced rebuild after 'make dtbs'

2014-12-01 Thread Michal Marek
On 2014-11-28 15:10, Linus Walleij wrote: On Wed, Nov 26, 2014 at 3:41 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Nov 26, 2014 at 02:57:42PM +0100, Linus Walleij wrote: make -f Makefile -j5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- KBUILD_OUTPUT=build-u300

Re: [PATCH v2 02/19] kbuild: kselftest_install - add a new make target to install selftests

2014-12-01 Thread Michal Marek
On 2014-11-11 21:27, Shuah Khan wrote: Add a new make target to install to install kernel selftests. This new target will build and install selftests. kselftest target now depends on kselftest_install and runs the generated kselftest script to reduce duplicate work and for common look and

Re: [PATCH] scripts/kconfig/menu.c warning for uninitialized "jump"

2014-11-28 Thread Michal Marek
Dne 28.11.2014 v 19:50 Joe Perches napsal(a): > On Fri, 2014-11-28 at 14:33 +0100, Michal Marek wrote: >> On 2014-11-21 05:22, Peter Teoh wrote: >>> This warning was found in v3.18-rc3-68-g20f3963 of Linus git-tree. >>> >>> SHIPPED scripts/kconfig/zconf.

Re: [PATCH] kbuild: Automatically remove stale file

2014-11-28 Thread Michal Marek
On 2014-11-27 16:38, Michal Marek wrote: > In 3.7, the file moved from include/linux/ to > include/generated/uapi/linux/. The path in the #include directive > remained the same for compatibility reasons, but this created a problem > when bisecting. Commit 9c8cdb71 (kbuild: uncondition

Re: [PATCH] kbuild: Fix make help- on powerpc

2014-11-28 Thread Michal Marek
On 2014-11-28 13:52, Michal Marek wrote: > make ARCH=powerpc help- should not require a cofigured > source tree. Also, sort the boards in the output. I added this to kbuild.git#kbuild. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH] scripts/kconfig/menu.c warning for uninitialized "jump"

2014-11-28 Thread Michal Marek
On 2014-11-21 05:22, Peter Teoh wrote: > This warning was found in v3.18-rc3-68-g20f3963 of Linus git-tree. > > SHIPPED scripts/kconfig/zconf.hash.c > HOSTCC scripts/kconfig/zconf.tab.o > In file included from scripts/kconfig/zconf.tab.c:2537:0: > scripts/kconfig/menu.c: In function

Re: [PATCH] kconfig: Fix compiler warning

2014-11-28 Thread Michal Marek
On 2014-11-20 06:44, Eddie Kovsky wrote: > diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c > index a26cc5d2a9b0..a728d23949e7 100644 > --- a/scripts/kconfig/menu.c > +++ b/scripts/kconfig/menu.c > @@ -559,8 +559,8 @@ static void get_prompt_str(struct gstr *r, struct > property *prop,

[PATCH] kbuild: Fix make help- on powerpc

2014-11-28 Thread Michal Marek
make ARCH=powerpc help- should not require a cofigured source tree. Also, sort the boards in the output. Signed-off-by: Michal Marek --- Sorry for the double post to the ppc mailing list. The first version got rejected by the vger spam filter. --- Makefile | 4 ++-- 1 file changed, 2 insertions

Re: [PATCH] Makefile: sort list of defconfig targets in make help output

2014-11-28 Thread Michal Marek
On Tue, Nov 18, 2014 at 03:03:37PM +0300, Konstantin Khlebnikov wrote: > On 2014-10-28 16:18, Konstantin Khlebnikov wrote: > >Without sorting this list is completely unreadable for ARCH=arm. > > Bump. Applied to kbuild.git#kbuild now, sorry for the delay. Michal -- To unsubscribe from this

Re: [PATCH] Makefile: sort list of defconfig targets in make help output

2014-11-28 Thread Michal Marek
On Tue, Nov 18, 2014 at 03:03:37PM +0300, Konstantin Khlebnikov wrote: On 2014-10-28 16:18, Konstantin Khlebnikov wrote: Without sorting this list is completely unreadable for ARCH=arm. Bump. Applied to kbuild.git#kbuild now, sorry for the delay. Michal -- To unsubscribe from this list:

[PATCH] kbuild: Fix make help-board series on powerpc

2014-11-28 Thread Michal Marek
make ARCH=powerpc help-board series should not require a cofigured source tree. Also, sort the boards in the output. Signed-off-by: Michal Marek mma...@suse.cz --- Sorry for the double post to the ppc mailing list. The first version got rejected by the vger spam filter. --- Makefile | 4 ++-- 1

Re: [PATCH] kconfig: Fix compiler warning

2014-11-28 Thread Michal Marek
On 2014-11-20 06:44, Eddie Kovsky wrote: diff --git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c index a26cc5d2a9b0..a728d23949e7 100644 --- a/scripts/kconfig/menu.c +++ b/scripts/kconfig/menu.c @@ -559,8 +559,8 @@ static void get_prompt_str(struct gstr *r, struct property *prop,

Re: [PATCH] scripts/kconfig/menu.c warning for uninitialized jump

2014-11-28 Thread Michal Marek
On 2014-11-21 05:22, Peter Teoh wrote: This warning was found in v3.18-rc3-68-g20f3963 of Linus git-tree. SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file included from scripts/kconfig/zconf.tab.c:2537:0: scripts/kconfig/menu.c: In function

Re: [PATCH] kbuild: Fix make help-board series on powerpc

2014-11-28 Thread Michal Marek
On 2014-11-28 13:52, Michal Marek wrote: make ARCH=powerpc help-board series should not require a cofigured source tree. Also, sort the boards in the output. I added this to kbuild.git#kbuild. Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH] kbuild: Automatically remove stale linux/version.h file

2014-11-28 Thread Michal Marek
On 2014-11-27 16:38, Michal Marek wrote: In 3.7, the file moved from include/linux/ to include/generated/uapi/linux/. The path in the #include directive remained the same for compatibility reasons, but this created a problem when bisecting. Commit 9c8cdb71 (kbuild: unconditionally clobber

Re: [PATCH] scripts/kconfig/menu.c warning for uninitialized jump

2014-11-28 Thread Michal Marek
Dne 28.11.2014 v 19:50 Joe Perches napsal(a): On Fri, 2014-11-28 at 14:33 +0100, Michal Marek wrote: On 2014-11-21 05:22, Peter Teoh wrote: This warning was found in v3.18-rc3-68-g20f3963 of Linus git-tree. SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o In file

[PATCH] kbuild: Automatically remove stale file

2014-11-27 Thread Michal Marek
this, provided the user does make distclean between builds. Better not rely on the user and delete the stale file each time make is invoked. Cc: Paul Gortmaker Cc: David Howells Signed-off-by: Michal Marek --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b

Re: [PATCH] scripts/package: binrpm-pkg do not build source tar file

2014-11-27 Thread Michal Marek
On 2014-10-31 20:05, j.gli...@gmail.com wrote: > From: Jérôme Glisse > > When doing make binrpm-pkg we do not want to build the source tar > file. This patch avoid doing the gigantic tar file. > > Signed-off-by: Jérôme Glisse > Cc: linux-kbu...@vger.kernel.org > Cc: M

<    5   6   7   8   9   10   11   12   13   14   >