netdev: remove pathetic compile-command lines
Subsystems (2)
PATCH 1/1 netdev: remove pathetic compile-command lines
-m486, -O6 are partircularly amusing.
Remove some other useless lines near as well.
Signed-off-by Alexey Dobriyan <[email protected]>
---
drivers/net/3c507.c | 11 ----------- drivers/net/3c515.c | 8 -------- drivers/net/82596.c | 6 ------ drivers/net/acenic.c | 7 ------- drivers/net/appletalk/cops.c | 8 -------- drivers/net/at1700.c | 12 ------------ drivers/net/de620.c | 17 ----------------- drivers/net/defxx.c | 7 ------- drivers/net/eth16i.c | 12 ------------ drivers/net/ewrk3.c | 10 ---------- drivers/net/hp100.c | 9 --------- drivers/net/isa-skeleton.c | 12 ------------ drivers/net/mac89x0.c | 11 ----------- drivers/net/ni5010.c | 9 --------- drivers/net/ni52.c | 6 ------ drivers/net/ni65.c | 6 ------ drivers/net/plip.c | 6 ------ drivers/net/rrunner.c | 6 ------ drivers/net/seeq8005.c | 9 --------- drivers/net/yellowfin.c | 11 ----------- 20 files changed, 183 deletions(-)
drivers/net/3c507.c +0 -11
@@ -936,14 +936,3 @@ cleanup_module(void) }#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -I/usr/src/linux/drivers/net -Wall -Wstrict-prototypes -O6 -m486 -c 3c507.c" -* version-control: t -* kept-new-versions: 5 -* tab-width: 4 -* c-indent-level: 4 -* End: -*/
drivers/net/3c515.c +0 -8
@@ -1577,11 +1577,3 @@ void cleanup_module(void) } }#endif /* MODULE */ - -/* -* Local variables: -* compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c 3c515.c" -* c-indent-level: 4 -* tab-width: 4 -* End: -*/
drivers/net/82596.c +0 -6
@@ -1598,9 +1598,3 @@ void __exit cleanup_module(void) }#endif /* MODULE */ - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c 82596.c" -* End: -*/
drivers/net/acenic.c +0 -7
@@ -3224,10 +3224,3 @@ static int __devinit read_eeprom_byte(struct net_device *dev, ap->name, offset); goto out; } - - -/* -* Local variables: -* compile-command: "gcc -D__SMP__ -D__KERNEL__ -DMODULE -I../../include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -DMODVERSIONS -include ../../include/linux/modversions.h -c -o acenic.o acenic.c" -* End: -*/
drivers/net/appletalk/cops.c +0 -8
@@ -1024,11 +1024,3 @@ static void __exit cops_module_exit(void)module_init (cops_module_init);module_exit (cops_module_exit);#endif /* MODULE */ - -/* -* Local variables: -* compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -c cops.c" -* c-basic-offset: 4 -* c-file-offsets: ((substatement-open . 0)) -* End: -*/
drivers/net/at1700.c +0 -12
@@ -899,15 +899,3 @@ module_init(at1700_module_init);module_exit (at1700_module_exit);#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - - -/* -* Local variables: -* compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c at1700.c" -* alt-compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c at1700.c" -* tab-width: 4 -* c-basic-offset: 4 -* c-indent-level: 4 -* End: -*/ -
drivers/net/de620.c +0 -17
@@ -1003,20 +1003,3 @@ void cleanup_module(void) }#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - - -/* -* (add '-DMODULE' when compiling as loadable module) -* -* compile-command: -* gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 \ -* -fomit-frame-pointer -m486 \ -* -I/usr/src/linux/include -I../../net/inet -c de620.c -*/ -/* -* Local variables: -* kernel-compile-command: "gcc -D__KERNEL__ -Ilinux/include -I../../net/inet -Wall -Wstrict-prototypes -O2 -m486 -c de620.c" -* module-compile-command: "gcc -D__KERNEL__ -DMODULE -Ilinux/include -I../../net/inet -Wall -Wstrict-prototypes -O2 -m486 -c de620.c" -* compile-command: "gcc -D__KERNEL__ -DMODULE -Ilinux/include -I../../net/inet -Wall -Wstrict-prototypes -O2 -m486 -c de620.c" -* End: -*/
drivers/net/defxx.c +0 -7
@@ -3743,10 +3743,3 @@ MODULE_AUTHOR("Lawrence V. Stefani");MODULE_DESCRIPTION ("DEC FDDIcontroller TC/EISA/PCI (DEFTA/DEFEA/DEFPA) driver " DRV_VERSION " " DRV_RELDATE );MODULE_LICENSE ("GPL" ); - - -/* -* Local variables: -* kernel-compile-command: "gcc -D__KERNEL__ -I/root/linux/include -Wall -Wstrict-prototypes -O2 -pipe -fomit-frame-pointer -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -c defxx.c" -* End: -*/
drivers/net/eth16i.c +0 -12
@@ -1474,15 +1474,3 @@ void __exit cleanup_module(void) } }#endif /* MODULE */ - -/* -* Local variables: -* compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c eth16i.c" -* alt-compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict -prototypes -O6 -c eth16i.c" -* tab-width: 8 -* c-basic-offset: 8 -* c-indent-level: 8 -* End: -*/ - -/* End of file eth16i.c */
drivers/net/ewrk3.c +0 -10
@@ -1967,13 +1967,3 @@ module_exit(ewrk3_exit_module);module_init (ewrk3_init_module);#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - - - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 -O2 -m486 -c ewrk3.c" -* -* compile-command: "gcc -D__KERNEL__ -DMODULE -I/linux/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 -O2 -m486 -c ewrk3.c" -* End: -*/
drivers/net/hp100.c +0 -9
@@ -3054,12 +3054,3 @@ static void __exit hp100_module_exit(void)module_init (hp100_module_init)module_exit (hp100_module_exit) - - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c hp100.c" -* c-indent-level: 2 -* tab-width: 8 -* End: -*/
drivers/net/isa-skeleton.c +0 -12
@@ -709,15 +709,3 @@ cleanup_module(void) }#endif /* MODULE */ - -/* -* Local variables: -* compile-command: -* gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wwrite-strings -* -Wredundant-decls -O2 -m486 -c skeleton.c -* version-control: t -* kept-new-versions: 5 -* tab-width: 4 -* c-indent-level: 4 -* End: -*/
drivers/net/mac89x0.c +0 -11
@@ -625,14 +625,3 @@ cleanup_module(void) free_netdev(dev_cs89x0); }#endif /* MODULE */ - -/* -* Local variables: -* compile-command: "m68k-linux-gcc -D__KERNEL__ -I../../include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -ffixed-a2 -DMODULE -DMODVERSIONS -include ../../include/linux/modversions.h -c -o mac89x0.o mac89x0.c" -* version-control: t -* kept-new-versions: 5 -* c-indent-level: 8 -* tab-width: 8 -* End: -* -*/
drivers/net/ni5010.c +0 -9
@@ -766,12 +766,3 @@ module_init(ni5010_init_module);module_exit (ni5010_cleanup_module);#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c ni5010.c" -* version-control: t -* kept-new-versions: 5 -* tab-width: 4 -* End: -*/
drivers/net/ni52.c +0 -6
@@ -9,8 +9,6 @@* [feel free to mail ....] * * when using as module: (no autoprobing!) -* compile with: -* gcc -O2 -fomit-frame-pointer -m486 -D__KERNEL__ -DMODULE -c ni52.c * run with e.g: * insmod ni52.o io=0x360 irq=9 memstart=0xd0000 memend=0xd4000 *
@@ -1345,7 +1343,3 @@ void __exit cleanup_module(void)#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - -/* -* END: linux/drivers/net/ni52.c -*/
drivers/net/ni65.c +0 -6
@@ -7,8 +7,6 @@* EtherBlaster. (probably it also works with every full NE2100 * compatible card) * -* To compile as module, type: -* gcc -O2 -fomit-frame-pointer -m486 -D__KERNEL__ -DMODULE -c ni65.c * driver probes: io: 0x360,0x300,0x320,0x340 / dma: 3,5,6,7 * * This is an extension to the Linux operating system, and is covered by the
@@ -1265,7 +1263,3 @@ void __exit cleanup_module(void)#endif /* MODULE */ MODULE_LICENSE ("GPL" ); - -/* -* END of ni65.c -*/
drivers/net/plip.c +0 -6
@@ -1396,9 +1396,3 @@ static int __init plip_init (void)module_init (plip_init);module_exit (plip_cleanup_module);MODULE_LICENSE ("GPL" ); - -/* -* Local variables: -* compile-command: "gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -g -fomit-frame-pointer -pipe -c plip.c" -* End: -*/
drivers/net/rrunner.c +0 -6
@@ -1713,9 +1713,3 @@ static void __exit rr_cleanup_module(void)module_init (rr_init_module);module_exit (rr_cleanup_module); - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I../../include -Wall -Wstrict-prototypes -O2 -pipe -fomit-frame-pointer -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DMODULE -DMODVERSIONS -include ../../include/linux/modversions.h -c rrunner.c" -* End: -*/
drivers/net/seeq8005.c +0 -9
@@ -744,12 +744,3 @@ void __exit cleanup_module(void) }#endif /* MODULE */ - -/* -* Local variables: -* compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c skeleton.c" -* version-control: t -* kept-new-versions: 5 -* tab-width: 4 -* End: -*/
drivers/net/yellowfin.c +0 -11
@@ -1424,14 +1424,3 @@ static void __exit yellowfin_cleanup (void)module_init (yellowfin_init);module_exit (yellowfin_cleanup); - -/* -* Local variables: -* compile-command: "gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c yellowfin.c" -* compile-command-alphaLX: "gcc -DMODULE -Wall -Wstrict-prototypes -O2 -c yellowfin.c -fomit-frame-pointer -fno-strength-reduce -mno-fp-regs -Wa,-m21164a -DBWX_USABLE -DBWIO_ENABLED" -* simple-compile-command: "gcc -DMODULE -O6 -c yellowfin.c" -* c-indent-level: 4 -* c-basic-offset: 4 -* tab-width: 4 -* End: -*/
From: Alexey Dobriyan <[email protected]>
Date: Thu, 4 Dec 2008 02:35:26 +0300
Quoted 5 lines
-m486, -O6 are partircularly amusing.
Remove some other useless lines near as well.
Signed-off-by Alexey Dobriyan <[email protected]>
Even more amusing is that our build system was so crappy long ago that these things were very useful :)
Applied, thanks!