original_kernel/arch/powerpc/platforms/powermac
Tony Breeds 21e38dfee5 [POWERPC] Fix building of pmac32 when CONFIG_NVRAM=m
Kamalesh Babulal (kamalesh@linux.vnet.ibm.com) reports that CONFIG_NVRAM=m
is valid in terms of Kconfig but fails to build with:
  Building modules, stage 2.
  MODPOST 1401 modules
ERROR: "pmac_newworld" [arch/powerpc/platforms/powermac/nvram.ko] undefined!
ERROR: "__alloc_bootmem" [arch/powerpc/platforms/powermac/nvram.ko] undefined!
make[1]: *** [__modpost] Error

The arch/powerpc/platforms/powermac/nvram.c code really needs to be
builtin, but as its compilation is dependent on a generic Kconfig
symbol we force nvram.c to be builtin if CONFIG_NVRAM is 'y' or 'm'.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-29 15:57:34 +10:00
..
Kconfig
Makefile
backlight.c
bootx_init.c
cache.S
cpufreq_32.c
cpufreq_64.c
feature.c
low_i2c.c
nvram.c
pci.c
pfunc_base.c
pfunc_core.c
pic.c
pic.h
pmac.h
setup.c
sleep.S
smp.c
time.c
udbg_adb.c
udbg_scc.c