clean up net/802/Makefile (small version)

clean up net/802/Makefile (small version)

Post by J?rn Enge » Sat, 22 Mar 2003 00:40:19



This patch simply removes a couple of lines with duplicated
functionality. Patch is against 2.4.20.

Arnaldo, are you the correct maintainer for this?

J?rn

--
Victory in war is not repetitious.
-- Sun Tzu

--- linux-2.4.20/net/802/Makefile       Sat Aug  3 02:39:46 2002

 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

clean up net/802/Makefile (small version)

Post by J?rn Enge » Sat, 22 Mar 2003 01:00:16


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

 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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. net/802/Makefile

Hi,

the build stops when cl2llc.c has no write permissions.

diff -urN linuxppc_2_4/net/802/Makefile.broken linuxppc_2_4/net/802/Makefile
--- linuxppc_2_4/net/802/Makefile.broken        Mon Nov 26 13:28:56 2001

 include $(TOPDIR)/Rules.make

 cl2llc.c: cl2llc.pre
+       chmod u+w cl2llc.c
        sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c

Gruss Olaf

--
 $ man clone

BUGS
       Main feature not yet implemented...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Problem with 1.1.94 and 93

3. diff -rcN ups-2.45.2/Makefile ups/Makefile

4. sigpipe, but on which file?

5. 802.11a/b/g pcmcia card with support for 802.11h

6. HELP: Print PostScript file on Non-PostScript-Printer

7. Seeking Embedded Platform for Metropolitan Area 802.11b Net

8. installing gcc 2.7.2.1??

9. 2.5.31 : net/802/p8022.c

10. 2.5.24 : net/802/cl2llc.c patch rejected

11. cli/sti in net/802/*

12. 2.5.31 : net/802/psnap.c

13. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!