diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2009-12-21 07:07:04 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2009-12-21 14:21:45 +0100 |
commit | 06c5d3d9face82415473a1ef61ec9dd694ec2052 (patch) | |
tree | ca4f9f2945c66659787654c0900513c95ba0228a | |
parent | 28e497d52bca0759dd1f71370fe98036646947cd (diff) | |
download | barebox-06c5d3d9face82415473a1ef61ec9dd694ec2052.tar.gz barebox-06c5d3d9face82415473a1ef61ec9dd694ec2052.tar.xz |
Remove/adjust erroneous references to CONFIG_MODULE.
The correct config variable is CONFIG_MODULES, so tweak any references
to the incorrect CONFIG_MODULE.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/ppc/Makefile | 2 | ||||
-rw-r--r-- | common/Makefile | 1 | ||||
-rw-r--r-- | include/module.h | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile index 2c9c5359f0..c24d3c3685 100644 --- a/arch/ppc/Makefile +++ b/arch/ppc/Makefile @@ -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 diff --git a/common/Makefile b/common/Makefile index d7a024bf86..0c075a960f 100644 --- a/common/Makefile +++ b/common/Makefile @@ -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 diff --git a/include/module.h b/include/module.h index 03b226abce..9d0e803344 100644 --- a/include/module.h +++ b/include/module.h @@ -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; |