On 2016-06-07 03:38, Zanoni, Paulo R wrote:
> Hi
>
> I recently noticed that alternating between "make" and "make targz-pkg"
> rebuilds the whole Kernel. This was not happening before. As a Kernel
> developer, my build/install/test environment heavily relies on the fact
> that "make targz-pkg" onl
On 2016-06-07 11:38, Michal Marek wrote:
> On 2016-06-07 03:38, Zanoni, Paulo R wrote:
>> Hi
>>
>> I recently noticed that alternating between "make" and "make targz-pkg"
>> rebuilds the whole Kernel. This was not happening before. As a Kernel
On 2016-06-07 12:03, Masahiro Yamada wrote:
> 2016-06-07 18:58 GMT+09:00 Michal Marek :
>> On 2016-06-07 11:38, Michal Marek wrote:
>>> On 2016-06-07 03:38, Zanoni, Paulo R wrote:
>>>> Hi
>>>>
>>>> I recently noticed that alternating betwe
Dne 25.5.2016 v 19:12 Kees Cook napsal(a):
> On Wed, May 25, 2016 at 3:46 AM, Michal Marek wrote:
>> On 2016-05-24 19:04, Kees Cook wrote:
>>> On Mon, May 23, 2016 at 3:07 PM, Emese Revfy wrote:
>>>> This patch set introduce the GCC plugin infrastructure with examp
variables is exported.
So we are fine _with respect to the main Makefile_. It's possible that
e.g. some arch Makefile has a skeleton in the cupboard. We will see.
Michal
>From b36fad65d61fffe4b662d4bfb1ed673c455a36a2 Mon Sep 17 00:00:00 2001
From: Michal Marek
Date: Tue, 7 Jun 2016 11:57:02 +02
Dne 7.6.2016 v 23:58 Kees Cook napsal(a):
> On Tue, Jun 7, 2016 at 2:59 PM, Emese Revfy wrote:
>> On Tue, 7 Jun 2016 13:59:53 -0700
>> Kees Cook wrote:
>>
I applied the series to kbuild.git#kbuild now, sorry for the delay.
>>>
>>> Awesome! Thank you very much. I'll prepare the latent en
On 2016-08-19 07:09, Stephen Rothwell wrote:
> Hi Nick,
>
> On Fri, 19 Aug 2016 13:38:54 +1000 Stephen Rothwell
> wrote:
>>
>> On Thu, 18 Aug 2016 11:09:48 +1000 Nicholas Piggin wrote:
>>>
>>> On Wed, 17 Aug 2016 14:59:59 +0200
>>> Michal Mar
On 2016-08-18 19:55, Luis R. Rodriguez wrote:
> On Wed, Aug 17, 2016 at 09:26:58PM +0200, Cristina Moraru wrote:
>
>> This patchset implements dynamic pegging of kconfig symbol
>> into driver modinfo section
>
> First a little bit of motivation here helps, so let me try to
> help fill in some gap
for you to fetch changes up to b36fad65d61fffe4b662d4bfb1ed673c455a36a2:
kbuild: Initialize exported variables (2016-06-07 23:39:03 +0200)
--------
Michal Marek (1):
kbuild: Initialize exported variables
Makefile | 2 ++
1 file
Dne 26.6.2016 v 12:43 Thorsten Leemhuis napsal(a):
> On 09.06.2016 01:29, Zanoni, Paulo R wrote:
>> Em Ter, 2016-06-07 às 23:52 +0200, Michal Marek escreveu:
>>> On Tue, Jun 07, 2016 at 02:10:28PM +, Zanoni, Paulo R wrote:
>>> From b36fad65d61fffe4b662d4bfb1ed673c4
Hi Nicolas,
sorry for the late review.
Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a):
> +set -e
> +
> +cur_ksyms_file="include/generated/autoksyms.h"
> +new_ksyms_file="include/generated/autoksyms.h.tmpnew"
> +
> +info() { [ "$quiet" != "silent_" ] && printf " %-7s %s\n" "$1" "$2"; }
Using && a
Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a):
> +# Filter out exported kernel symbol names advertised as warning pragmas
> +# by the preprocessor and write them to $(1). We must consider continuation
> +# lines as well: they start with a blank, or the preceeding line ends with
> +# a ':'. Anything
On 2016-03-04 03:46, Nicolas Pitre wrote:
> On Thu, 3 Mar 2016, Michal Marek wrote:
>
>> Dne 29.2.2016 v 04:48 Nicolas Pitre napsal(a):
>>> +# Filter out exported kernel symbol names advertised as warning pragmas
>>> +# by the preprocessor and write them to $(1).
Dne 3.3.2016 v 10:09 Paolo Abeni napsal(a):
> I'm sorry, I try to dig a bit, but I did not find any distro agnostic
> kernel removal tools. Can you please point out some ?
There isn't any, so unfortunately we need a list of various
distro-specific methods, starting with ew-kernel-pkg. The %post sc
Dne 2.3.2016 v 15:28 Paolo Abeni napsal(a):
> This patch add a rpm preuninstall scriptlet to cleanup the
> boot loader configuration on kernel package uninstall.
> The initrd for the to-be-removed kernel is deleted, too.
>
> Signed-off-by: Paolo Abeni
Applied to kbuild.git#misc.
Michal
On Thu, Mar 03, 2016 at 05:36:30PM +0900, Masahiro Yamada wrote:
> Under certain conditions, Kbuild shows "... is up to date" where
> if_changed or friends are used.
>
> For example, the incremental build of ARM64 Linux shows this message
> when the kernel image has not been updated.
>
> $ make
Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a):
> +cmd_and_fixdep =
> \
> + $(echo-cmd) $(cmd_$(1)); \
> + $(ksym_dep_filter) | \
> +
Dne 4.3.2016 v 23:51 Michal Marek napsal(a):
> Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a):
>> +cmd_and_fixdep =
>> \
>> +$(echo-cmd) $(cmd_$(1)); \
>
On Fri, Mar 04, 2016 at 11:53:53PM +0100, Michal Marek wrote:
> Dne 4.3.2016 v 23:51 Michal Marek napsal(a):
> > Dne 4.3.2016 v 06:40 Nicolas Pitre napsal(a):
> >> +cmd_and_fixdep =
> >>\
&g
Hi Linus,
please pull these kbuild changes for v4.6-rc1:
- make dtbs_install fix
- Error handling fix fixdep and link-vmlinux.sh
- __UNIQUE_ID fix for clang
- Fix for if_changed_* to suppress the "is up to date." message
- The kernel is built with -Werror=incompatible-pointer-types.
The last chan
Hi Linus,
just two kconfig commits this time:
- kconfig Makefile fix for make 3.80
- Fix calculating symbols so that KCONFIG_ALLCONFIG=... does not disable
CONFIG_MODULES silently
Michal
The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d:
Linux 4.5-rc1 (2016-01-24 1
Hi Linus,
please pull the non-critical part of kbuild for v4.6-rc1:
- coccinelle cleanup and a new patch
- make tags rule for kprobe helpers
- make rpm fix to avoid spurious grub2 entries
- make rpm support for %postun script (Fedora only at the moment)
Michal
The following changes since commit
On 2016-03-16 12:29, Stephen Rothwell wrote:
> Hi Michal,
>
> On Wed, 16 Mar 2016 08:56:50 +0100 Michal Marek wrote:
>>
>> Right. Stephen, could you perhaps move the kbuild tree down in your list
>> a bit, so that the fixes are present?
>
> Done.
>
> No
Dne 19.2.2016 v 18:29 Masahiro Yamada napsal(a):
> Just for clarification:
>
> This patch has been applied to arm64 tree.
>
> Michal,
> Just ignore this patch.
Sure. I assumed that a patch touching solely arch/arm* will go through
the respective arm tree.
Michal
form
AuthorityKeyIdentifier")
Signed-off-by: Michal Marek
---
crypto/asymmetric_keys/x509_public_key.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/crypto/asymmetric_keys/x509_public_key.c
b/crypto/asymmetric_keys/x509_public_key.c
index 7092d5cbb5d3..2c46e022a2a3 100644
--
On 2016-02-11 15:25, Maciej W. Rozycki wrote:
> ... making upstream development binutils snapshots work as expected,
> e.g.:
>
> $ mips64el-linux-ld --version
> GNU ld (GNU Binutils) 2.20.1.20100303
> [...]
> $
>
> Signed-off-by: Maciej W. Rozycki
fwiw, Acke
quot;\1"
ctags: Warning: net/ipv4/syncookies.c:53: null expansion of name pattern "\1"
This patch removes the newlines in the DEFINE_PER_CPU, so that the
respective per-cpu variable definitions can be indexed.
Signed-off-by: Michal Marek
---
v2->v3: Rebased and improved chang
Dne 24.9.2015 v 00:16 Michael Ellerman napsal(a):
>
>
> On 23 September 2015 19:50:52 GMT+10:00, Michal Marek
> wrote:
>> On 2015-09-23 07:40, Michael Ellerman wrote:
>>> +else ifneq ($(wildcard
>> arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
>>> @$(
On 2015-09-23 07:40, Michael Ellerman wrote:
> +else ifneq ($(wildcard arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),)
> @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
> $(Q)$< $(silent)
> --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
> +els
On 2015-07-24 07:18, Masahiro Yamada wrote:
> Masahiro Yamada (2):
> kbuild: fixdep: optimize code slightly
> kbuild: fixdep: drop meaningless hash table initialization
>
> scripts/basic/fixdep.c | 26 --
> 1 file changed, 4 insertions(+), 22 deletions(-)
Applied to k
On 2015-07-27 12:33, Valentin Rothberg wrote:
> Until now, checkkonfigsymbols.py did not check default statements for
> references on missing Kconfig symbols (i.e., undefined Kconfig options).
> Hence, add support to parse and check the Kconfig default statement.
>
> Signed-off-by: Valentin Rothbe
On 2015-08-24 16:52, Valentin Rothberg wrote:
> Hi Michal,
>
> On Mon, Aug 24, 2015 at 4:49 PM, Michal Marek wrote:
>> On 2015-07-27 12:33, Valentin Rothberg wrote:
>>> Until now, checkkonfigsymbols.py did not check default statements for
>>> reference
On 2015-08-12 15:51, Kris Borer wrote:
> Add a semantic patch for fixing some cases of checkpatch.pl error:
>
> ERROR: do not use assignment in if condition
There is a gcc warning for this already.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of
On 2015-08-12 16:53, Kris Borer wrote:
> On Wed, Aug 12, 2015 at 10:12 AM, Michal Marek <mailto:mma...@suse.cz>> wrote:
>
> On 2015-08-12 15:51, Kris Borer wrote:
> > Add a semantic patch for fixing some cases of checkpatch.pl
> <http://checkpatch.pl>
On 2015-09-22 10:47, Feng Wu wrote:
> We need to build files in virt/lib/, which are now used by
> KVM and VFIO, so add virt directory to the top Makefile.
>
> Signed-off-by: Feng Wu
> ---
> Makefile | 8 +---
> arch/x86/kvm/Makefile | 3 ---
> virt/Makefile | 1 +
> 3 f
Dne 22.9.2015 v 14:23 Feng Wu napsal(a):
> We need to build files in virt/lib/, so add virt directory to
> the top Makefile.
>
> Signed-off-by: Feng Wu
> ---
> v2:
> - Remove the explicit 'virt' entry in the KBUILD_ALLDIRS assignment
> - Remove './
Dne 9.12.2015 v 16:06 Michal Marek napsal(a):
> The reference files use spaces to separate tokens, however, we must
> preserve spaces inside string literals. Currently the only case in the
> tree is struct edac_raw_error_desc in :
>
> $ KBUILD_SYMTYPES=1 make -s drivers/edac/amd6
On 2015-12-09 23:56, Markus Mayer wrote:
> The current (arbitrary) limit of 128 characters for path names has
> proven too short for Android builds, as longer path names are used
> there.
>
> Change conf.c, so it can handle path lengths up to PATH_MAX characters.
>
> Signed-off-by: Markus Mayer
Dne 9.12.2015 v 22:34 Andy Lutomirski napsal(a):
> On Fri, Jun 13, 2014 at 2:39 AM, Michal Marek wrote:
>> Based on a x86-only patch by Andy Lutomirski
>>
>> With modular kernels, 'make install' is going to need the installed
>> modules at some point to gen
Dne 10.12.2015 v 17:33 Wang YanQing napsal(a):
> This feature could reduce a little time to expand all
> the macros in *.S for reading.
>
> Signed-off-by: Wang YanQing
Makes sense. Applied to kbuild.git#kbuild.
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" i
Dne 10.12.2015 v 17:35 Wang YanQing napsal(a):
> Commit 627189797807 ("Makefile: Document ability to make file.lst
> and file.S") document ability to make file.S, but there isn't such
> ability in kbuild, so revert it.
>
> Signed-off-by: Wang YanQing
Thanks, applied to kbuild.git#kbuild.
Michal
everything in
> arch/ia64/lib into lib-* and don't bother with arch/ia64/lib/built-in.o
> anymore.
>
> Signed-off-by: Al Viro
> ---
> arch/ia64/hp/sim/boot/Makefile | 2 +-
> arch/ia64/lib/Makefile | 8 +++-
> scripts/Makefile.build | 20 +++
On 2016-02-04 18:09, Ard Biesheuvel wrote:
> - ${NM} -n ${1} | \
> - scripts/kallsyms ${kallsymopt} | \
> - ${CC} ${aflags} -c -o ${2} -x assembler-with-cpp -
> + # capture the return code of scripts/kallsyms in $RC
> + local RC=`(${NM} -n ${1} | \
> +
On 2016-01-25 12:33, Kieran Bingham wrote:
> This is functional on a make -j1 build, however at -j2 and above (from a
> clean build), kbuild attempts to generate my file before
> include/generated/timeconst.h resulting in the following error:
>
> --- 8< ---
> GEN scripts/gdb/linux/constants.
On 2016-01-25 17:22, Kieran Bingham wrote:
> I've got a working patch now for the $(MAKE) version,
> however I've had to use $(build)=scripts/gdb/linux build_constants to
> make it work.
$(build)= is the correct syntax, sorry for the confusion.
Michal
Dne 4.12.2015 v 16:26 Michal Marek napsal(a):
> The emacs rules were constantly lagging behind the exuberant ones. Use a
> single set of rules for both, to make the script easier to maintain.
> The language understood by both tools is basic regular expression with
> some limitation
On 2016-01-06 07:54, Stephen Rothwell wrote:
> Hi Andrew,
>
> Today's linux-next merge of the akpm-current tree got a conflict in:
>
> scripts/tags.sh
>
> between commit:
>
> 93209d65c1d3 ("tags: Unify emacs and exuberant rules")
>
> from the kbuild tree and commit:
>
> ef0e95208c33 ("p
Dne 21.4.2017 v 21:36 Masahiro Yamada napsal(a):
> Since Kbuild runs in the objtree, __FILE__ can be a very long path
> depending of $(srctree).
>
> Commit 9da0763bdd82 ("kbuild: Use relative path when building in a
> subdir of the source tree") made the situation better for cases
> where objtree
On 2017-05-19 06:28, Masahiro Yamada wrote:
> This allows to detect -s option without checking GNU Make version.
>
> As commit e36aaea28972 ("kbuild: Fix silent builds with make-4")
> pointed out, GNU Make 4.x changed the way/order it presents the
> command line options into MAKEFLAGS.
>
> In Mak
On 2017-06-13 02:55, Matthias Kaehlcke wrote:
> cc-option uses KBUILD_CFLAGS and KBUILD_CPPFLAGS when it determines
> whether an option is supported or not. This is fine for options used to
> build the kernel itself, however some components like the x86 boot code
> use a different set of flags.
>
Dne 14.6.2017 v 09:08 Cao jin napsal(a):
>
>
> On 06/14/2017 09:15 AM, Masahiro Yamada wrote:
>> 2017-06-13 18:52 GMT+09:00 Cao jin :
>>> Yamada-san,
>>>
>>> I have a question on the current top level Makefile. There are
>>> following lines, I have trouble to understand "firstword x$(MAKEFLAGS)
ro name from Add cc-option-no-kbuild to cc-option-raw
>>> - Added compiler as parameter to the macro
>>> - Reworked cc-option to make use of cc-option-raw
>>> - Updated commit message
>>>
>>> scripts/Kbuild.include | 9 +++--
>>> 1 file changed, 7
Dne 14.6.2017 v 14:40 Alexey Brodkin napsal(a):
> In those cases when we parse output of standard utilities like readelf
> etc we rely on a particular sentences. For example for ARC we extract
> an entry-point from vmlinux like that:
> -->8
> readelf -h vmlin
On 2017-05-03 08:46, Masahiro Yamada wrote:
> Hello Linus and Kbuild developers.
>
>
> Documentation/process/changes.rst says the minimal version
> of GNU Make is 3.80, but actually building the kernel
> with this version has been broken for a long time.
>
> Specifically, it got broken by commit
definitions
sparc: move exports to definitions
[sparc] unify 32bit and 64bit string.h
sparc32: debride memcpy.S a bit
ia64: move exports to definitions
Alexey Dobriyan (1):
fixdep: faster CONFIG_ search
Michal Marek (2):
kbuild: Regenerate genksyms lexer
Hi Linus,
just a few patches on the kbuild.git#misc branch this time:
- New Coccinelle patch by Nicholas Mc Guire
- Existing patch fixes by Julia Lawall
- Minor comment fix by Markus Elfring
The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:
Linux 4.8-rc1 (2016-08-0
On 2016-09-12 04:53, Nicholas Piggin wrote:
> Question, what is the best way to merge dependent patches? Considering
> they will need a good amount of architecture testing, I think they will
> have to go via arch trees. But it also does not make sense to merge these
> kbuild changes upstream first,
Dne 18.10.2016 v 03:34 Nicholas Piggin napsal(a):
> We should probably just bring all these arch patches through the
> kbuild tree.
>
> I'm sorry for the breakage: I didn't realize it broke the build with
> some configs, otherwise I would have given Michal a heads up before
> his pull request, and
Dne 17.10.2016 v 14:26 Arnd Bergmann napsal(a):
> This adds an asm/asm-prototypes.h header for ARM to fix the
> broken symbol versioning for symbols exported from assembler
> files.
>
> In addition to the header, we have to do these other small
> changes:
>
> - move the 'extern' declarations out
Dne 3.9.2016 v 21:58 Borislav Petkov napsal(a):
> From: Borislav Petkov
>
> When building a bindeb-pkg target into an object output dir, i.e., O=, I
> get:
>
> find: `scripts/gcc-plugins': No such file or directory
> /mnt/kernel/kernel/linux-2.6/scripts/package/Makefile:97: recipe for target
Hi Linus,
Please pull this fix from make deb-pkg. The bug got introduced in
v4.8-rc1.
Thanks,
Michal
The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc:
Linux 4.8-rc1 (2016-08-07 18:18:00 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/
Dne 15.8.2016 v 23:29 Joe Perches napsal(a):
> On Mon, 2016-08-15 at 14:14 -0700, Joe Perches wrote:
>> On Mon, 2016-08-15 at 23:04 +0200, Greg Kroah-Hartman wrote:
>>> On Mon, Aug 15, 2016 at 12:33:23PM -0700, Joe Perches wrote:
Start to rationalize include paths in source code files.
>> []
>
Dne 2.8.2016 v 16:01 Michal Marek napsal(a):
> On 2016-02-03 22:19, Al Viro wrote:
>> Shortlog:
>> Al Viro (13):
>> [kbuild] handle exports in lib-y objects reliably
>> EXPORT_SYMBOL() for asm
>> x86: move exports to actual definitions
>&
Dne 16.8.2016 v 07:48 Michal Marek napsal(a):
> Dne 2.8.2016 v 16:01 Michal Marek napsal(a):
>> On 2016-02-03 22:19, Al Viro wrote:
>>> Shortlog:
>>> Al Viro (13):
>>> [kbuild] handle exports in lib-y objects reliably
>>> EXPORT_SYMBOL()
Dne 15.8.2016 v 19:36 Kees Cook napsal(a):
> When attempting to build a Debian kernel package, the "scripts/gcc-plugins"
> directory does not exist in the output tree unless CONFIG_GCC_PLUGINS=y.
> To avoid errors when not defined, this wraps the failing "find" in a config
> test.
>
> Reported-by:
On 2016-08-16 13:40, Lars Persson wrote:
> We need to filter out also -I=/path to allow sysroot relative
> include paths in the makefiles of external modules.
>
> Signed-off-by: Lars Persson
> ---
> scripts/Kbuild.include | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/
On 2016-08-17 03:44, Stephen Rothwell wrote:
> Hi Michal,
>
> After merging the kbuild tree, today's linux-next build (powerpc
> ppc64_defconfig) produced these warnings:
>
> WARNING: 25 bad relocations
> c0cf2570 R_PPC64_ADDR64__crc___arch_hweight16
[...]
> Introduced by commit
>
>
an (2):
>>> samples: move blackfin gptimers-example from Documentation
>>> Doc: update 00-INDEX files to reflect the runnable code move
>>>
>>
>> Hi Jon and Michal,
>>
>> Do these patches look good to you? I can get these into 4.9-rc1
>> with your Ack.
>
> Seems good to me.
>
> Acked-by: Jonathan Corbet
Likewise,
Acked-by: Michal Marek
Michal
Dne 21.9.2016 v 17:48 Julia Lawall napsal(a):
> Memdup_user encapsulates a memory allocation with the flag GFP_KERNEL, so
> only allow this flag in the original code.
>
> Signed-off-by: Julia Lawall
Applied to kbuild.git#misc.
Thanks,
Michal
Dne 22.9.2016 v 10:28 Julia Lawall napsal(a):
> pm_runtime.cocci starts with one rule that searches for a variety of
> functions calls, followed by various rules that report errors. Previously,
> the only connection between the first rule and the rest was to check that
> the first rule had matched
1001 - 1070 of 1070 matches
Mail list logo