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 |
Torsten Duwe | 9a7841a | 2016-03-03 15:26:58 +1100 | [diff] [blame] | 5 | CFLAGS_REMOVE_bootx_init.o = -mno-sched-epilog $(CC_FLAGS_FTRACE) |
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 |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 12 | # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really |
Tony Breeds | 21e38df | 2008-04-29 11:42:32 +1000 | [diff] [blame] | 13 | # need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really |
| 14 | # CONFIG_NVRAM=y |
| 15 | obj-$(CONFIG_NVRAM:m=y) += nvram.o |
Paul Mackerras | 35499c0 | 2005-10-22 16:02:39 +1000 | [diff] [blame] | 16 | # ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff |
| 17 | obj-$(CONFIG_PPC64) += nvram.o |
Benjamin Herrenschmidt | d7f3945 | 2005-11-23 17:58:13 +1100 | [diff] [blame] | 18 | obj-$(CONFIG_PPC32) += bootx_init.o |
Paul Mackerras | f6d5791 | 2005-10-10 22:13:53 +1000 | [diff] [blame] | 19 | obj-$(CONFIG_SMP) += smp.o |