Benjamin Herrenschmidt | d7f3945 | 2005-11-23 17:58:13 +1100 | [diff] [blame] | 1 | CFLAGS_bootx_init.o += -fPIC |
| 2 | |
Steven Rostedt | 606576c | 2008-10-06 19:06:12 -0400 | [diff] [blame] | 3 | ifdef CONFIG_FUNCTION_TRACER |
Steven Rostedt | 4e491d1 | 2008-05-14 23:49:44 -0400 | [diff] [blame] | 4 | # Do not trace early boot code |
Tony Breeds | 7563dc6 | 2008-09-02 16:50:38 +1000 | [diff] [blame] | 5 | CFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog |
Steven Rostedt | 4e491d1 | 2008-05-14 23:49:44 -0400 | [diff] [blame] | 6 | endif |
| 7 | |
Paul Mackerras | 35499c0 | 2005-10-22 16:02:39 +1000 | [diff] [blame] | 8 | obj-y += pic.o setup.o time.o feature.o pci.o \ |
Benjamin Herrenschmidt | 5b9ca52 | 2006-01-07 11:41:02 +1100 | [diff] [blame] | 9 | sleep.o low_i2c.o cache.o pfunc_core.o \ |
Kumar Gala | 9c4cb82 | 2008-08-02 02:44:11 +1000 | [diff] [blame] | 10 | pfunc_base.o udbg_scc.o udbg_adb.o |
Paul Mackerras | f6d5791 | 2005-10-10 22:13:53 +1000 | [diff] [blame] | 11 | obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o |
Benjamin Herrenschmidt | 4350147 | 2005-11-07 14:27:33 +1100 | [diff] [blame] | 12 | obj-$(CONFIG_CPU_FREQ_PMAC) += cpufreq_32.o |
| 13 | obj-$(CONFIG_CPU_FREQ_PMAC64) += cpufreq_64.o |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 14 | # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really |
Tony Breeds | 21e38df | 2008-04-29 11:42:32 +1000 | [diff] [blame] | 15 | # need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really |
| 16 | # CONFIG_NVRAM=y |
| 17 | obj-$(CONFIG_NVRAM:m=y) += nvram.o |
Paul Mackerras | 35499c0 | 2005-10-22 16:02:39 +1000 | [diff] [blame] | 18 | # ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff |
| 19 | obj-$(CONFIG_PPC64) += nvram.o |
Benjamin Herrenschmidt | d7f3945 | 2005-11-23 17:58:13 +1100 | [diff] [blame] | 20 | obj-$(CONFIG_PPC32) += bootx_init.o |
Paul Mackerras | f6d5791 | 2005-10-10 22:13:53 +1000 | [diff] [blame] | 21 | obj-$(CONFIG_SMP) += smp.o |