mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8865c418ca
commit
9de6d99a75
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
|
@ -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:
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue