From: "Jörn Engel" <joern@wohnheim.fh-wedel.de>
To: linux-kernel@vger.kernel.org
Cc: netdev@oss.sgi.com, acme@conectiva.com.br
Subject: Re: [PATCH] clean up net/802/Makefile (large version)
Date: Thu, 20 Mar 2003 23:35:42 +0100 [thread overview]
Message-ID: <20030320223542.GC13641@wohnheim.fh-wedel.de> (raw)
In-Reply-To: <20030320223329.GB13641@wohnheim.fh-wedel.de>
This one tries to clean up the other code as well.
Jörn
--
The cheapest, fastest and most reliable components of a computer
system are those that aren't there.
-- Gordon Bell, DEC labratories
--- linux-2.4.20/net/802/Makefile Sat Aug 3 02:39:46 2002
+++ linux-2.4.20/net/802/Makefile.2 Thu Mar 20 23:26:22 2003
@@ -11,48 +11,26 @@
export-objs = llc_macinit.o p8022.o psnap.o
+snap-objs = p8022.o psnap.o
+
obj-y = p8023.o
obj-$(CONFIG_SYSCTL) += sysctl_net_802.o
-obj-$(CONFIG_LLC) += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
-ifeq ($(CONFIG_SYSCTL),y)
-obj-y += sysctl_net_802.o
-endif
-
-ifeq ($(CONFIG_LLC),y)
-subdir-y += transit
-obj-y += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o
-SNAP = y
-endif
-
-ifdef CONFIG_TR
-obj-y += tr.o
- SNAP=y
-endif
-
-ifdef CONFIG_NET_FC
-obj-y += fc.o
-endif
-
-ifdef CONFIG_FDDI
-obj-y += fddi.o
-endif
-
-ifdef CONFIG_HIPPI
-obj-y += hippi.o
-endif
-
-ifdef CONFIG_IPX
- SNAP=y
-endif
-
-ifdef CONFIG_ATALK
- SNAP=y
-endif
-
-ifeq ($(SNAP),y)
-obj-y += p8022.o psnap.o
-endif
+obj-$(CONFIG_LLC) += llc_sendpdu.o llc_utility.o cl2llc.o llc_macinit.o $(snap-objs)
+
+subdir-$(CONFIG_LLC) += transit
+
+obj-$(CONFIG_TR) += tr.o $(snap-objs)
+
+obj-$(CONFIG_NET_FC) += fc.o
+
+obj-$(CONFIG_FDDI) += fddi.o
+
+obj-$(CONFIG_HIPPI) += hippi.o
+
+obj-$(CONFIG_IPX) += $(snap-objs)
+
+obj-$(CONFIG_ATALK) += $(snap-objs)
include $(TOPDIR)/Rules.make
prev parent reply other threads:[~2003-03-20 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-20 22:33 [PATCH] clean up net/802/Makefile (small version) Jörn Engel
2003-03-20 22:35 ` Jörn Engel [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=20030320223542.GC13641@wohnheim.fh-wedel.de \
--to=joern@wohnheim.fh-wedel.de \
--cc=acme@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@oss.sgi.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
all inboxes | Powered by JetHome®