diff options
author | Etienne Dechamps <[email protected]> | 2012-07-17 11:23:09 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-07-26 13:39:37 -0700 |
commit | b2c5198b1996c9053c1bae38755f76125c8cb169 (patch) | |
tree | 3bda567a01452cdf8cd810e990516cede8acf955 /config/arch.am | |
parent | 739a1a82e0f366923e8d9bc8f9ad4b1c680a780b (diff) |
Don't build packages that haven't been selected.
Currently, when configure --with-config is used, selective compilation
is only effective for the simple "make" case. Package builders (e.g.
make rpm) still build everything (utils and modules). This patch fixes
that.
Signed-off-by: Prakash Surya <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #851
Diffstat (limited to 'config/arch.am')
-rw-r--r-- | config/arch.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/arch.am b/config/arch.am index 591013afd..da43fe738 100644 --- a/config/arch.am +++ b/config/arch.am @@ -13,10 +13,14 @@ sarch-utils: sarch: sarch-modules sarch-utils arch-modules: +if CONFIG_KERNEL $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}-modules" arch-common +endif arch-utils: +if CONFIG_USER $(MAKE) $(AM_MAKEFLAGS) pkg="${PACKAGE}" arch-common +endif arch: arch-modules arch-utils |