doc/manual: fix generating manual after legacy overhaul
authorYann E. MORIN <yann.morin.1998@free.fr>
Fri, 1 May 2015 16:35:34 +0000 (18:35 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 May 2015 07:00:44 +0000 (09:00 +0200)
commit9776b9cc70576b10c4fba90729259b5cec82b3c8
tree2fe2e416002252cd30fa60d4f05fee3c9265414e
parentec99380250be9d971a37507a15f9c0756df19218
doc/manual: fix generating manual after legacy overhaul

Commit 53903a15 (*config: improve handling of BR2_LEGACY) added an
option to entirely skip legacy entries, by passing a variable in the
environment.

However, it missed one location where that variable is also needed,
which is generating the list of packages and deprecated features for
inclusion in the manual.

Fix that by re-using the global $(COMMON_CONFIG_ENV) variable,
overriding just what we don't want (i.e. br2-external location and
defconfig path).

Also, slightly re-order variables so the ones we override come right
after the common settings, moving the specific ones at the end, one
variable per line.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
docs/manual/manual.mk