Remove/adjust erroneous references to CONFIG_MODULE.
PATCH 1/1 Remove/adjust erroneous references to CONFIG_MODULE.
The correct config variable is CONFIG_MODULES, so tweak any references to the incorrect CONFIG_MODULE.
---
can someone verify that this looks correct, as there are only three
references to CONFIG_MODULE throughout the tree:
* a superfluous one in common/Makefile that's already covered by a test to CONFIG_MODULES
* a test in arch/ppc/Makefile
* a comment in include/module.h
so i want to make sure i tweaked all that appropriately.
arch/ppc/Makefile +1 -1
@@ -17,7 +17,7 @@ TEXT_BASE = $(CONFIG_TEXT_BASE) CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P # Add cleanup flags -ifndef CONFIG_MODULE +ifndef CONFIG_MODULES CPPFLAGS += -fdata-sections -ffunction-sections endif
common/Makefile +0 -1
@@ -2,7 +2,6 @@ obj-$(CONFIG_SHELL_HUSH) += hush.o obj-$(CONFIG_SHELL_SIMPLE) += parser.o obj-$(CONFIG_GREGORIAN_CALENDER) += date.o obj-$(CONFIG_OF_FLAT_TREE) += ft_build.o -obj-$(CONFIG_MODULE) += module.o obj-$(CONFIG_KALLSYMS) += kallsyms.o obj-$(CONFIG_ENV_HANDLING) += environment.o obj-$(CONFIG_AUTO_COMPLETE) += complete.o
include/module.h +1 -1
@@ -71,7 +71,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs, struct module *mod);#else #define EXPORT_SYMBOL (sym) -#endif /* CONFIG_MODULE */ +#endif /* CONFIG_MODULES */ extern struct list_head module_list;
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday
========================================================================
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Quoted 5 lines · Robert P. J. Day
The correct config variable is
CONFIG_MODULES, so tweak any references to the incorrectCONFIG_MODULE.Signed-off-by Robert P. J. Day <[email protected]>
Ok, applied
Sascha
Quoted 67 lines
---
can someone verify that this looks correct, as there are only three
references toCONFIG_MODULEthroughout the tree:* a superfluous one in common/Makefile that's already covered by a test to
CONFIG_MODULES
* a test inarch/ppc/Makefile
* a comment ininclude/module.hso i want to make sure i tweaked all that appropriately.
arch/ppc/Makefile +1
-1@@ -17,7 +17,7 @@ TEXT_BASE = $(CONFIG_TEXT_BASE) CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P # Add cleanup flags -ifndef CONFIG_MODULE +ifndef CONFIG_MODULES CPPFLAGS += -fdata-sections -ffunction-sections endifcommon/Makefile +0
-1@@ -2,7 +2,6 @@ obj-$(CONFIG_SHELL_HUSH) += hush.o obj-$(CONFIG_SHELL_SIMPLE) += parser.o obj-$(CONFIG_GREGORIAN_CALENDER) += date.o obj-$(CONFIG_OF_FLAT_TREE) += ft_build.o -obj-$(CONFIG_MODULE) += module.o obj-$(CONFIG_KALLSYMS) += kallsyms.o obj-$(CONFIG_ENV_HANDLING) += environment.o obj-$(CONFIG_AUTO_COMPLETE) += complete.oinclude/module.h +1
-1@@ -71,7 +71,7 @@ int apply_relocate_add(Elf_Shdr *sechdrs, struct module *mod);#else #define EXPORT_SYMBOL (sym) -#endif /* CONFIG_MODULE */ +#endif /* CONFIG_MODULES */ extern struct list_head module_list;========================================================================
Robert P. J. Day Waterloo, Ontario, CANADALinux Consulting, Training and Kernel Pedantry.
Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday========================================================================
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox