Re: [XEN PATCH v7 26/51] build: build everything from the root dir, use obj=$subdir

2021-10-14 Thread Jan Beulich
On 14.10.2021 15:33, Anthony PERARD wrote: > On Wed, Oct 13, 2021 at 03:24:31PM +0100, Anthony PERARD wrote: >> On Mon, Oct 11, 2021 at 04:02:22PM +0200, Jan Beulich wrote: >>> On 24.08.2021 12:50, Anthony PERARD wrote: ifeq ($(CONFIG_ENFORCE_UNIQUE_SYMBOLS),y) cmd_cc_o_c = $(CC)

Re: [XEN PATCH v7 26/51] build: build everything from the root dir, use obj=$subdir

2021-10-14 Thread Anthony PERARD
On Wed, Oct 13, 2021 at 03:24:31PM +0100, Anthony PERARD wrote: > On Mon, Oct 11, 2021 at 04:02:22PM +0200, Jan Beulich wrote: > > On 24.08.2021 12:50, Anthony PERARD wrote: > > > ifeq ($(CONFIG_ENFORCE_UNIQUE_SYMBOLS),y) > > > cmd_cc_o_c = $(CC) $(c_flags) -c $< -o $(dot-target).tmp -MQ $@

Re: [XEN PATCH v7 26/51] build: build everything from the root dir, use obj=$subdir

2021-10-13 Thread Anthony PERARD
On Mon, Oct 11, 2021 at 04:02:22PM +0200, Jan Beulich wrote: > On 24.08.2021 12:50, Anthony PERARD wrote: > > A subdirectory is now built by setting "$(obj)" instead of changing > > directory. "$(obj)" should always be set when using "Rules.mk" and > > thus a shortcut "$(build)" is introduced and

Re: [XEN PATCH v7 26/51] build: build everything from the root dir, use obj=$subdir

2021-10-11 Thread Jan Beulich
On 24.08.2021 12:50, Anthony PERARD wrote: > A subdirectory is now built by setting "$(obj)" instead of changing > directory. "$(obj)" should always be set when using "Rules.mk" and > thus a shortcut "$(build)" is introduced and should be used. > > A new variable "$(need-builtin)" is introduce.

[XEN PATCH v7 26/51] build: build everything from the root dir, use obj=$subdir

2021-08-24 Thread Anthony PERARD
A subdirectory is now built by setting "$(obj)" instead of changing directory. "$(obj)" should always be set when using "Rules.mk" and thus a shortcut "$(build)" is introduced and should be used. A new variable "$(need-builtin)" is introduce. It is to be used whenever a "built_in.o" is wanted