From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Subject: 2.5.15 laziness in export-objs
Date: Fri, 10 May 2002 12:42:51 +1000 [thread overview]
Message-ID: <25744.1020998571@kao2.melbourne.sgi.com> (raw)
2.5.15 has four Makefiles where all objects are marked as exporting
symbols. This is lazy coding and causes spurious rebuilds. Please
specify only those objects that really export symbols.
Also the export list is independent of whether an object is selected or
not. That is, export-objs is unconditional.
fs/nls/Makefile:export-objs = $(obj-y)
arch/i386/pci/Makefile:export-objs += $(obj-y)
drivers/base/Makefile:export-objs := $(obj-y)
drivers/pci/Makefile:export-objs := $(obj-y)
cd directory
echo $(fgrep -l EXPORT_SYMBOL *.c | tr '\n' ' ' | sed -e '{s/^/export-objs := /; s/\.c/.o/g; }')
will get the correct list. arch/i386/pci/Makefile exports nothing at all.
next reply other threads:[~2002-05-10 2:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-10 2:42 Keith Owens [this message]
2002-05-10 2:42 ` 2.5.15 laziness in export-objs Greg KH
2002-05-10 4:03 ` Keith Owens
2002-05-10 16:25 ` Patrick Mochel
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=25744.1020998571@kao2.melbourne.sgi.com \
--to=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
/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