linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Andrew F. Davis" <afd@ti.com>
To: Thierry Reding <thierry.reding@gmail.com>,
	Russell King <linux@armlinux.org.uk>,
	Samuel Ortiz <sameo@linux.intel.com>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Miguel Ojeda Sandonis <miguel.ojeda.sandonis@gmail.com>
Cc: <linuxppc-dev@lists.ozlabs.org>, <linux-wireless@vger.kernel.org>,
	<linux-pwm@vger.kernel.org>, <kernel-janitors@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, "Andrew F . Davis" <afd@ti.com>
Subject: [PATCH v4 5/5] auxdisplay: Only descend into directory when CONFIG_AUXDISPLAY is set
Date: Tue, 5 Dec 2017 13:44:56 -0600	[thread overview]
Message-ID: <20171205194456.23612-6-afd@ti.com> (raw)
In-Reply-To: <20171205194456.23612-1-afd@ti.com>

When CONFIG_AUXDISPLAY is not set make will still descend into the
auxdisplay directory but nothing will be built. This produces unneeded
build artifacts and messages in addition to slowing the build.
Fix this here.

Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 drivers/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/Makefile b/drivers/Makefile
index cdf4509a2960..03cd9ceb2b3c 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -98,7 +98,7 @@ obj-y				+= firewire/
 obj-$(CONFIG_UIO)		+= uio/
 obj-$(CONFIG_VFIO)		+= vfio/
 obj-y				+= cdrom/
-obj-y				+= auxdisplay/
+obj-$(CONFIG_AUXDISPLAY)	+= auxdisplay/
 obj-$(CONFIG_PCCARD)		+= pcmcia/
 obj-$(CONFIG_DIO)		+= dio/
 obj-$(CONFIG_SBUS)		+= sbus/
-- 
2.15.0

      parent reply	other threads:[~2017-12-05 19:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 19:44 [PATCH v4 0/5] Remove unneeded build directory traversals Andrew F. Davis
2017-12-05 19:44 ` [PATCH v4 1/5] pwm: Only descend into pwm directory when CONFIG_PWM is set Andrew F. Davis
2017-12-05 19:44 ` [PATCH v4 2/5] amba: Only descend into amba directory when CONFIG_ARM_AMBA " Andrew F. Davis
2017-12-05 19:44 ` [PATCH v4 3/5] NFC: Only descend into nfc directory when CONFIG_NFC " Andrew F. Davis
2017-12-05 19:44 ` [PATCH v4 4/5] macintosh: Only descend into directory when CONFIG_MACINTOSH_DRIVERS " Andrew F. Davis
2017-12-05 19:44 ` Andrew F. Davis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171205194456.23612-6-afd@ti.com \
    --to=afd@ti.com \
    --cc=benh@kernel.crashing.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=sameo@linux.intel.com \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).