Commit 9de6d99a7559d20f7ababd1cacdc61ee5315f3c1
Committed by
David S. Miller
1 parent
8865c418ca
Exists in
master
and in
7 other branches
netdev: remove pathetic compile-command lines
-m486, -O6 are partircularly amusing. Remove some other useless lines near as well. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 20 changed files with 0 additions and 183 deletions Side-by-side Diff
- drivers/net/3c507.c
- drivers/net/3c515.c
- drivers/net/82596.c
- drivers/net/acenic.c
- drivers/net/appletalk/cops.c
- drivers/net/at1700.c
- drivers/net/de620.c
- drivers/net/defxx.c
- drivers/net/eth16i.c
- drivers/net/ewrk3.c
- drivers/net/hp100.c
- drivers/net/isa-skeleton.c
- drivers/net/mac89x0.c
- drivers/net/ni5010.c
- drivers/net/ni52.c
- drivers/net/ni65.c
- drivers/net/plip.c
- drivers/net/rrunner.c
- drivers/net/seeq8005.c
- drivers/net/yellowfin.c
drivers/net/3c507.c
... | ... | @@ -936,15 +936,4 @@ |
936 | 936 | } |
937 | 937 | #endif /* MODULE */ |
938 | 938 | MODULE_LICENSE("GPL"); |
939 | - | |
940 | - | |
941 | -/* | |
942 | - * Local variables: | |
943 | - * 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" | |
944 | - * version-control: t | |
945 | - * kept-new-versions: 5 | |
946 | - * tab-width: 4 | |
947 | - * c-indent-level: 4 | |
948 | - * End: | |
949 | - */ |
drivers/net/3c515.c
drivers/net/82596.c
drivers/net/acenic.c
... | ... | @@ -3224,11 +3224,4 @@ |
3224 | 3224 | ap->name, offset); |
3225 | 3225 | goto out; |
3226 | 3226 | } |
3227 | - | |
3228 | - | |
3229 | -/* | |
3230 | - * Local variables: | |
3231 | - * 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" | |
3232 | - * End: | |
3233 | - */ |
drivers/net/appletalk/cops.c
... | ... | @@ -1024,12 +1024,4 @@ |
1024 | 1024 | module_init(cops_module_init); |
1025 | 1025 | module_exit(cops_module_exit); |
1026 | 1026 | #endif /* MODULE */ |
1027 | - | |
1028 | -/* | |
1029 | - * Local variables: | |
1030 | - * compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -c cops.c" | |
1031 | - * c-basic-offset: 4 | |
1032 | - * c-file-offsets: ((substatement-open . 0)) | |
1033 | - * End: | |
1034 | - */ |
drivers/net/at1700.c
... | ... | @@ -899,15 +899,4 @@ |
899 | 899 | module_exit(at1700_module_exit); |
900 | 900 | #endif /* MODULE */ |
901 | 901 | MODULE_LICENSE("GPL"); |
902 | - | |
903 | - | |
904 | -/* | |
905 | - * Local variables: | |
906 | - * compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c at1700.c" | |
907 | - * alt-compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c at1700.c" | |
908 | - * tab-width: 4 | |
909 | - * c-basic-offset: 4 | |
910 | - * c-indent-level: 4 | |
911 | - * End: | |
912 | - */ |
drivers/net/de620.c
... | ... | @@ -1003,21 +1003,4 @@ |
1003 | 1003 | } |
1004 | 1004 | #endif /* MODULE */ |
1005 | 1005 | MODULE_LICENSE("GPL"); |
1006 | - | |
1007 | - | |
1008 | -/* | |
1009 | - * (add '-DMODULE' when compiling as loadable module) | |
1010 | - * | |
1011 | - * compile-command: | |
1012 | - * gcc -D__KERNEL__ -Wall -Wstrict-prototypes -O2 \ | |
1013 | - * -fomit-frame-pointer -m486 \ | |
1014 | - * -I/usr/src/linux/include -I../../net/inet -c de620.c | |
1015 | -*/ | |
1016 | -/* | |
1017 | - * Local variables: | |
1018 | - * kernel-compile-command: "gcc -D__KERNEL__ -Ilinux/include -I../../net/inet -Wall -Wstrict-prototypes -O2 -m486 -c de620.c" | |
1019 | - * module-compile-command: "gcc -D__KERNEL__ -DMODULE -Ilinux/include -I../../net/inet -Wall -Wstrict-prototypes -O2 -m486 -c de620.c" | |
1020 | - * compile-command: "gcc -D__KERNEL__ -DMODULE -Ilinux/include -I../../net/inet -Wall -Wstrict-prototypes -O2 -m486 -c de620.c" | |
1021 | - * End: | |
1022 | - */ |
drivers/net/defxx.c
... | ... | @@ -3743,11 +3743,4 @@ |
3743 | 3743 | MODULE_DESCRIPTION("DEC FDDIcontroller TC/EISA/PCI (DEFTA/DEFEA/DEFPA) driver " |
3744 | 3744 | DRV_VERSION " " DRV_RELDATE); |
3745 | 3745 | MODULE_LICENSE("GPL"); |
3746 | - | |
3747 | - | |
3748 | -/* | |
3749 | - * Local variables: | |
3750 | - * 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" | |
3751 | - * End: | |
3752 | - */ |
drivers/net/eth16i.c
... | ... | @@ -1474,16 +1474,4 @@ |
1474 | 1474 | } |
1475 | 1475 | } |
1476 | 1476 | #endif /* MODULE */ |
1477 | - | |
1478 | -/* | |
1479 | - * Local variables: | |
1480 | - * compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c eth16i.c" | |
1481 | - * alt-compile-command: "gcc -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict -prototypes -O6 -c eth16i.c" | |
1482 | - * tab-width: 8 | |
1483 | - * c-basic-offset: 8 | |
1484 | - * c-indent-level: 8 | |
1485 | - * End: | |
1486 | - */ | |
1487 | - | |
1488 | -/* End of file eth16i.c */ |
drivers/net/ewrk3.c
... | ... | @@ -1967,14 +1967,4 @@ |
1967 | 1967 | module_init(ewrk3_init_module); |
1968 | 1968 | #endif /* MODULE */ |
1969 | 1969 | MODULE_LICENSE("GPL"); |
1970 | - | |
1971 | - | |
1972 | - | |
1973 | -/* | |
1974 | - * Local variables: | |
1975 | - * 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" | |
1976 | - * | |
1977 | - * 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" | |
1978 | - * End: | |
1979 | - */ |
drivers/net/hp100.c
... | ... | @@ -3054,13 +3054,4 @@ |
3054 | 3054 | |
3055 | 3055 | module_init(hp100_module_init) |
3056 | 3056 | module_exit(hp100_module_exit) |
3057 | - | |
3058 | - | |
3059 | -/* | |
3060 | - * Local variables: | |
3061 | - * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c hp100.c" | |
3062 | - * c-indent-level: 2 | |
3063 | - * tab-width: 8 | |
3064 | - * End: | |
3065 | - */ |
drivers/net/isa-skeleton.c
... | ... | @@ -709,16 +709,4 @@ |
709 | 709 | } |
710 | 710 | |
711 | 711 | #endif /* MODULE */ |
712 | - | |
713 | -/* | |
714 | - * Local variables: | |
715 | - * compile-command: | |
716 | - * gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wwrite-strings | |
717 | - * -Wredundant-decls -O2 -m486 -c skeleton.c | |
718 | - * version-control: t | |
719 | - * kept-new-versions: 5 | |
720 | - * tab-width: 4 | |
721 | - * c-indent-level: 4 | |
722 | - * End: | |
723 | - */ |
drivers/net/mac89x0.c
... | ... | @@ -625,15 +625,4 @@ |
625 | 625 | free_netdev(dev_cs89x0); |
626 | 626 | } |
627 | 627 | #endif /* MODULE */ |
628 | - | |
629 | -/* | |
630 | - * Local variables: | |
631 | - * 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" | |
632 | - * version-control: t | |
633 | - * kept-new-versions: 5 | |
634 | - * c-indent-level: 8 | |
635 | - * tab-width: 8 | |
636 | - * End: | |
637 | - * | |
638 | - */ |
drivers/net/ni5010.c
... | ... | @@ -766,13 +766,4 @@ |
766 | 766 | module_exit(ni5010_cleanup_module); |
767 | 767 | #endif /* MODULE */ |
768 | 768 | MODULE_LICENSE("GPL"); |
769 | - | |
770 | -/* | |
771 | - * Local variables: | |
772 | - * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c ni5010.c" | |
773 | - * version-control: t | |
774 | - * kept-new-versions: 5 | |
775 | - * tab-width: 4 | |
776 | - * End: | |
777 | - */ |
drivers/net/ni52.c
... | ... | @@ -9,8 +9,6 @@ |
9 | 9 | * [feel free to mail ....] |
10 | 10 | * |
11 | 11 | * when using as module: (no autoprobing!) |
12 | - * compile with: | |
13 | - * gcc -O2 -fomit-frame-pointer -m486 -D__KERNEL__ -DMODULE -c ni52.c | |
14 | 12 | * run with e.g: |
15 | 13 | * insmod ni52.o io=0x360 irq=9 memstart=0xd0000 memend=0xd4000 |
16 | 14 | * |
... | ... | @@ -1345,8 +1343,4 @@ |
1345 | 1343 | #endif /* MODULE */ |
1346 | 1344 | |
1347 | 1345 | MODULE_LICENSE("GPL"); |
1348 | - | |
1349 | -/* | |
1350 | - * END: linux/drivers/net/ni52.c | |
1351 | - */ |
drivers/net/ni65.c
... | ... | @@ -7,8 +7,6 @@ |
7 | 7 | * EtherBlaster. (probably it also works with every full NE2100 |
8 | 8 | * compatible card) |
9 | 9 | * |
10 | - * To compile as module, type: | |
11 | - * gcc -O2 -fomit-frame-pointer -m486 -D__KERNEL__ -DMODULE -c ni65.c | |
12 | 10 | * driver probes: io: 0x360,0x300,0x320,0x340 / dma: 3,5,6,7 |
13 | 11 | * |
14 | 12 | * This is an extension to the Linux operating system, and is covered by the |
... | ... | @@ -1265,8 +1263,4 @@ |
1265 | 1263 | #endif /* MODULE */ |
1266 | 1264 | |
1267 | 1265 | MODULE_LICENSE("GPL"); |
1268 | - | |
1269 | -/* | |
1270 | - * END of ni65.c | |
1271 | - */ |
drivers/net/plip.c
... | ... | @@ -1396,10 +1396,4 @@ |
1396 | 1396 | module_init(plip_init); |
1397 | 1397 | module_exit(plip_cleanup_module); |
1398 | 1398 | MODULE_LICENSE("GPL"); |
1399 | - | |
1400 | -/* | |
1401 | - * Local variables: | |
1402 | - * compile-command: "gcc -DMODULE -DMODVERSIONS -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -g -fomit-frame-pointer -pipe -c plip.c" | |
1403 | - * End: | |
1404 | - */ |
drivers/net/rrunner.c
... | ... | @@ -1713,10 +1713,4 @@ |
1713 | 1713 | |
1714 | 1714 | module_init(rr_init_module); |
1715 | 1715 | module_exit(rr_cleanup_module); |
1716 | - | |
1717 | -/* | |
1718 | - * Local variables: | |
1719 | - * 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" | |
1720 | - * End: | |
1721 | - */ |
drivers/net/seeq8005.c
... | ... | @@ -744,13 +744,4 @@ |
744 | 744 | } |
745 | 745 | |
746 | 746 | #endif /* MODULE */ |
747 | - | |
748 | -/* | |
749 | - * Local variables: | |
750 | - * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c skeleton.c" | |
751 | - * version-control: t | |
752 | - * kept-new-versions: 5 | |
753 | - * tab-width: 4 | |
754 | - * End: | |
755 | - */ |
drivers/net/yellowfin.c
... | ... | @@ -1424,15 +1424,4 @@ |
1424 | 1424 | |
1425 | 1425 | module_init(yellowfin_init); |
1426 | 1426 | module_exit(yellowfin_cleanup); |
1427 | - | |
1428 | -/* | |
1429 | - * Local variables: | |
1430 | - * compile-command: "gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c yellowfin.c" | |
1431 | - * 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" | |
1432 | - * simple-compile-command: "gcc -DMODULE -O6 -c yellowfin.c" | |
1433 | - * c-indent-level: 4 | |
1434 | - * c-basic-offset: 4 | |
1435 | - * tab-width: 4 | |
1436 | - * End: | |
1437 | - */ |