OSDN Git Service

Move some configuration from main.mk to config.mk
authorDan Willemsen <dwillemsen@google.com>
Thu, 10 Nov 2016 00:35:34 +0000 (16:35 -0800)
committerDan Willemsen <dwillemsen@google.com>
Thu, 10 Nov 2016 03:32:37 +0000 (03:32 +0000)
commit01a19a116f69c0545ee8382316dfbf3e2e7f4475
tree38c06929dba82b1792c05203a2fbb0d398995bd6
parent731df4f4f3caf333b146021cc1ecc3525f28ccad
Move some configuration from main.mk to config.mk

When dumping make configuration (dump-many-var, dump-var-*), we only
load config.mk, not main.mk. One of the first things that main.mk does
is to include config.mk, so these moves are safe.

Turning off the implicit rules and other make configuration / sanity
checks should happen in all cases, so move them to config.mk

Move dont_bother_rules to config.mk so that it can be used by the ninja
configuration (which is moving in a later change). Move dont_bother into
the kati section, since it's not used elsewhere.

Test: m clean
Test: get_build_var dont_bother_goals
Change-Id: Ib3ec8aa8eebcaf743d2cdcc31f89827c4e8470a1
core/config.mk
core/main.mk