Skip to contentSkip to conversation

build: update top-level make help

PATCH In review Doug Goldstein 3 participants 11 messages Sep 1, 2015 – Sep 4, 2015 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: update top-level make help

Update the top-level make help to include all the possible targets and not reference targets that are deprecated while hopefully being more clear as to what each target does.

---
 Makefile | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)
Makefile +13 -6
index ba0df70..75177f0 100644
@@ -228,16 +228,23 @@ help:
 	@echo '  install-stubdom       - build and install the stubdomain images'
 	@echo '  install-docs          - build and install user documentation'
 	@echo ''
-	@echo 'Building targets:'
+	@echo 'Local dist targets:'
 	@echo '  dist                  - build and install everything into local dist directory'
 	@echo '  world                 - clean everything then make dist'
-	@echo '  xen                   - build and install Xen hypervisor'
-	@echo '  tools                 - build and install tools'
-	@echo '  stubdom               - build and install the stubdomain images'
-	@echo '  docs                  - build and install user documentation'
+	@echo '  dist-xen              - build Xen hypervisor and install into local dist'
+	@echo '  dist-tools            - build the tools and install into local dist'
+	@echo '  dist-stubdom          - build the stubdomain images and install into local dist'
+	@echo '  dist-docs             - build user documentation and install into local dist'
+	@echo ''
+	@echo 'Building targets:'
+	@echo '  build                 - build everything'
+	@echo '  build-xen             - build Xen hypervisor'
+	@echo '  build-tools           - build the tools'
+	@echo '  build-stubdom         - build the stubdomain images'
+	@echo '  build-docs            - build user documentation'
 	@echo ''
 	@echo 'Cleaning targets:'
-	@echo '  clean                 - clean the Xen, tools and docs (but not guest kernel trees)'
+	@echo '  clean                 - clean the Xen, tools and docs'
 	@echo '  distclean             - clean plus delete kernel build trees and'
 	@echo '                          local downloaded files'
 	@echo '  subtree-force-update  - Call *-force-update on all git subtrees (qemu, seabios, ovmf)'
Signature · 1 line
2.1.4
#1 lore raw
Quoted 5 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Update the top-level make help to include all the possible targets and not reference targets that are deprecated while hopefully being more clear as to what each target does.
---

Missing Signed-off-by:.

Quoted 10 lines
Makefile +0 -0
@@ -228,16 +228,23 @@ help:
@echo '  install-stubdom       - build and install the stubdomain images'
@echo '  install-docs          - build and install user documentation'

@echo ''

Makefile +1 -1
-	@echo 'Building targets:'
+	@echo 'Local dist targets:'
@echo '  dist                  - build and install everything into local dist directory'
@echo '  world                 - clean everything then make dist'

Makefile help: · line 237

Quoted 4 lines
Makefile +0 -4
-	@echo '  xen                   - build and install Xen hypervisor'
-	@echo '  tools                 - build and install tools'
-	@echo '  stubdom               - build and install the stubdomain images'
-	@echo '  docs                  - build and install user documentation'

Why are these being removed? At least the xen and tools ones work fine for me.

Jan

#2 lore raw
Quoted 8 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Update the top-level make help to include all the possible targets and not reference targets that are deprecated while hopefully being more clear as to what each target does.
---

Missing Signed-off-by:.

Apologies. I forgot. Do I need to resubmit or can I just say on this email:

Quoted 17 lines
Quoted 10 lines
Makefile +0 -0
@@ -228,16 +228,23 @@ help:
@echo '  install-stubdom       - build and install the stubdomain images'
@echo '  install-docs          - build and install user documentation'

@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'
@echo '  dist                  - build and install everything into local dist directory'
@echo '  world                 - clean everything then make dist'

Makefile help: · line 237

Quoted 4 lines
Makefile +0 -4
-      @echo '  xen                   - build and install Xen hypervisor'
-      @echo '  tools                 - build and install tools'
-      @echo '  stubdom               - build and install the stubdomain images'
-      @echo '  docs                  - build and install user documentation'

Why are these being removed? At least the xen and tools ones work fine for me.

Quoted 2 lines

Jan

In the makefile they're marked as "legacy" and they are wired straight to their "dist-" equivalents.

Signature · 1 line
Doug Goldstein
#3 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 6 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Update the top-level make help to include all the possible targets and not reference targets that are deprecated while hopefully being more clear as to what each target does.
---

Quoted 6 lines
Quoted 2 lines

Missing Signed-off-by:.

Apologies. I forgot. Do I need to resubmit or can I just say on this email:

Considering that I'd like you to adjust the patch itself, re-submission will be unavoidable I think.

Quoted 17 lines
Quoted 8 lines
Quoted 8 lines
Makefile +0 -0
@@ -228,16 +228,23 @@ help:
@echo '  install-stubdom       - build and install the stubdomain images'
@echo '  install-docs          - build and install user documentation'

@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'
Quoted 8 lines

Makefile help: · line 237

Quoted 6 lines
@echo '  dist                  - build and install everything into local dist directory'
@echo '  world                 - clean everything then make dist'
Makefile +0 -4
-      @echo '  xen                   - build and install Xen hypervisor'
-      @echo '  tools                 - build and install tools'
-      @echo '  stubdom               - build and install the stubdomain images'
-      @echo '  docs                  - build and install user documentation'

Why are these being removed? At least the xen and tools ones work fine for me.

Quoted 2 lines

In the makefile they're marked as "legacy" and they are wired straight to their "dist-" equivalents.

But still they're there and they work (and they're faster to type than their "dist-" equivalents).

Jan

Acked-by
#4 lore raw
Quoted 46 lines · Jan Beulich
Quoted 11 lines
Quoted 2 lines
Quoted 2 lines · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 8 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Update the top-level make help to include all the possible targets and
not reference targets that are deprecated while hopefully being more
clear as to what each target does.
---

Quoted 7 lines
Quoted 2 lines

Missing Signed-off-by:.

Apologies. I forgot. Do I need to resubmit or can I just say on this email:

Considering that I'd like you to adjust the patch itself, re-submission will be unavoidable I think.

Quoted 24 lines
Quoted 23 lines
Quoted 17 lines
Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install everything into
local dist directory'
@echo ' world - clean everything then make dist'
- @echo ' xen - build and install Xen
hypervisor'

Makefile +0 -2
-      @echo '  tools                 - build and install tools'
-      @echo '  stubdom               - build and install the 
Quoted 3 lines

stubdomain images'
- @echo ' docs - build and install user
documentation'

Why are these being removed? At least the xen and tools ones work fine for me.

Quoted 5 lines
Quoted 2 lines

In the makefile they're marked as "legacy" and they are wired straight to their "dist-" equivalents.

But still they're there and they work (and they're faster to type than their "dist-" equivalents).

If they are legacy then it is correct to not list them here. You can still use the legacy interfaces if you want (they aren't being removed) but not being to be told about them in the help message seems correct to me.

If you think they should not be legacy then that would IMHO need to be a different patch to remove the "# Legacy dist targets".

As it stands this patch, with the S-o-b above, is IMHO a consistent and correct change:

If you would prefer instead to mark those interfaces non-legacy then please do so.

Ian.

#5 lore raw
Quoted 29 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:34, <[email protected]> wrote:
Quoted 27 lines · Jan Beulich
Quoted 27 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 24 lines · Jan Beulich
Quoted 18 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install everything into
local dist directory'
@echo ' world - clean everything then make dist'
- @echo ' xen - build and install Xen
hypervisor'

Makefile +0 -2
-      @echo '  tools                 - build and install tools'
-      @echo '  stubdom               - build and install the 
Quoted 3 lines

stubdomain images'
- @echo ' docs - build and install user
documentation'

Why are these being removed? At least the xen and tools ones work fine for me.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

In the makefile they're marked as "legacy" and they are wired straight to their "dist-" equivalents.

But still they're there and they work (and they're faster to type than their "dist-" equivalents).

If they are legacy then it is correct to not list them here.

Hmm - why does "legacy" imply "not documented here"?

But anyway - I don't mean to stand in the way of you committing the patch as is, as long as those (legacy) build targets don't go away.

Jan

#6 lore raw
Quoted 35 lines · Jan Beulich
Quoted 35 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:34, <[email protected]> wrote:
Quoted 32 lines · Jan Beulich
Quoted 27 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 16 lines · Jan Beulich
Quoted 16 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install everything into
local dist directory'
@echo ' world - clean everything then make dist'
- @echo ' xen - build and install Xen
hypervisor'

Quoted 8 lines
Quoted 5 lines
Makefile +0 -2
-      @echo '  tools                 - build and install tools'
-      @echo '  stubdom               - build and install the 

stubdomain images'
- @echo ' docs - build and install user
documentation'

Why are these being removed? At least the xen and tools ones work fine for me.

Quoted 2 lines

In the makefile they're marked as "legacy" and they are wired straight to their "dist-" equivalents.

But still they're there and they work (and they're faster to type than their "dist-" equivalents).

Quoted 9 lines
Quoted 1 line

If they are legacy then it is correct to not list them here.

Hmm - why does "legacy" imply "not documented here"?

But anyway - I don't mean to stand in the way of you committing the patch as is, as long as those (legacy) build targets don't go away.

Jan

I definitely had no intention of removing them. I was merely trying to update the help output to match what I saw when reading the contents of the Makefile.

Do I still need to resubmit or is my S-o-b on the ML ok?

Signature · 1 line
Doug Goldstein

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#7 lore raw
Quoted 54 lines · Doug Goldstein
Quoted 53 lines · Jan Beulich
Quoted 42 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:34, <[email protected]> wrote:
Quoted 40 lines · Jan Beulich
Quoted 39 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 24 lines · Jan Beulich
Quoted 24 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the
stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install everything
into
local dist directory'
@echo ' world - clean everything then make
dist'
- @echo ' xen - build and install Xen

hypervisor'
- @echo ' tools - build and install
tools'
- @echo ' stubdom - build and install the

Quoted 8 lines
Quoted 4 lines

stubdomain images'
- @echo ' docs - build and install
user
documentation'

Why are these being removed? At least the xen and tools ones work
fine for me.

In the makefile they're marked as "legacy" and they are wired straight
to their "dist-" equivalents.

Quoted 5 lines
Quoted 3 lines

But still they're there and they work (and they're faster to type than
their "dist-" equivalents).

If they are legacy then it is correct to not list them here.

Hmm - why does "legacy" imply "not documented here"?

But anyway - I don't mean to stand in the way of you committing the patch as is, as long as those (legacy) build targets don't go away.

Quoted 8 lines
Quoted 2 lines

Jan

I definitely had no intention of removing them. I was merely trying to update the help output to match what I saw when reading the contents of the Makefile.

Do I still need to resubmit or is my S-o-b on the ML ok?

A post-facto S-o-b like you did is fine.

Ian.

#8 lore raw
Quoted 65 lines · Ian Campbell
Quoted 64 lines · Doug Goldstein
Quoted 62 lines · Jan Beulich
Quoted 48 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:34, <[email protected]> wrote:
Quoted 46 lines · Jan Beulich
Quoted 45 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:

On Wed, Sep 2, 2015 at 3:28 AM, Jan Beulich <[email protected]>

Quoted 29 lines · wrote:
Quoted 29 lines
Quoted 2 lines
Quoted 2 lines

Doug Goldstein <[email protected]> 09/01/15 10:10 PM

Quoted 1 line
Quoted 1 line
Quoted 1 line
Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the
stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install
everything
into
local dist directory'
@echo ' world - clean everything then make

dist'
- @echo ' xen - build and install
Xen

hypervisor'
- @echo ' tools - build and install
tools'
- @echo ' stubdom - build and install
the

Quoted 8 lines
Quoted 4 lines

stubdomain images'
- @echo ' docs - build and install
user
documentation'

Why are these being removed? At least the xen and tools ones work
fine for me.

In the makefile they're marked as "legacy" and they are wired straight
to their "dist-" equivalents.

Quoted 6 lines
Quoted 4 lines

But still they're there and they work (and they're faster to type

than
their "dist-" equivalents).

If they are legacy then it is correct to not list them here.

Hmm - why does "legacy" imply "not documented here"?

But anyway - I don't mean to stand in the way of you committing the patch as is, as long as those (legacy) build targets don't go away.

Jan

Quoted 7 lines
Quoted 5 lines

I definitely had no intention of removing them. I was merely trying to update the help output to match what I saw when reading the contents of the Makefile.

Do I still need to resubmit or is my S-o-b on the ML ok?

A post-facto S-o-b like you did is fine.

And now I've applied.

Quoted 9 lines

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#9 lore raw
In reply to Jan Beulich
Quoted 40 lines · Jan Beulich
Quoted 40 lines
Quoted 2 lines
Quoted 2 lines · On 02.09.15 at 15:34, <[email protected]> wrote:
Quoted 37 lines · Jan Beulich
Quoted 36 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 28 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the
stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install everything
into
local dist directory'
@echo ' world - clean everything then make
dist'

Quoted 8 lines

- @echo ' xen - build and install Xen
hypervisor'
- @echo ' tools - build and install
tools'
- @echo ' stubdom - build and install the
stubdomain images'
- @echo ' docs - build and install user
documentation'

Why are these being removed? At least the xen and tools ones work

Quoted 1 line

fine for me.

In the makefile they're marked as "legacy" and they are wired straight
to their "dist-" equivalents.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

But still they're there and they work (and they're faster to type than
their "dist-" equivalents).

If they are legacy then it is correct to not list them here.

Hmm - why does "legacy" imply "not documented here"?

Legacy means "deprecated" and/or "not encouraged", which to me implies we should direct users to the non-deprecated alternatives, which also serves to make the list of potential targets in the help less overwhelming.

Quoted 5 lines

But anyway - I don't mean to stand in the way of you committing the patch as is, as long as those (legacy) build targets don't go away.

Jan

#10 lore raw
Quoted 46 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 16:26, <[email protected]> wrote:
Quoted 44 lines · Jan Beulich
Quoted 44 lines
Quoted 2 lines
Quoted 2 lines · On 02.09.15 at 15:34, <[email protected]> wrote:
Quoted 40 lines · Jan Beulich
Quoted 31 lines
Quoted 1 line
Quoted 1 line · On 02.09.15 at 15:09, <[email protected]> wrote:
Quoted 28 lines · Jan Beulich
Quoted 17 lines
Quoted 1 line
Quoted 1 line

Doug Goldstein <[email protected]> 09/01/15 10:10 PM >>>

Makefile +0 -0
@@ -228,16 +228,23 @@ help:

@echo ' install-stubdom - build and install the
stubdomain
images'
@echo ' install-docs - build and install user
documentation'
@echo ''

Makefile +1 -1
-      @echo 'Building targets:'
+      @echo 'Local dist targets:'

@echo ' dist - build and install everything
into
local dist directory'
@echo ' world - clean everything then make
dist'

Quoted 8 lines

- @echo ' xen - build and install Xen
hypervisor'
- @echo ' tools - build and install
tools'
- @echo ' stubdom - build and install the
stubdomain images'
- @echo ' docs - build and install user
documentation'

Why are these being removed? At least the xen and tools ones work

Quoted 5 lines
Quoted 1 line

fine for me.

In the makefile they're marked as "legacy" and they are wired straight
to their "dist-" equivalents.

But still they're there and they work (and they're faster to type than
their "dist-" equivalents).

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

If they are legacy then it is correct to not list them here.

Hmm - why does "legacy" imply "not documented here"?

Legacy means "deprecated" and/or "not encouraged", which to me implies we should direct users to the non-deprecated alternatives, which also serves to make the list of potential targets in the help less overwhelming.

Interesting - to me "legacy" and "deprecated" are different things (and the dictionary I have translating both to German seems to support this pov). Reducing the list of targets, otoh, is something that perhaps indeed may be helpful.

Jan