Makefile 701 B

12345678910111213141516171819
  1. CFLAGS_bootx_init.o += -fPIC
  2. ifdef CONFIG_FUNCTION_TRACER
  3. # Do not trace early boot code
  4. CFLAGS_REMOVE_bootx_init.o = -pg -mno-sched-epilog
  5. endif
  6. obj-y += pic.o setup.o time.o feature.o pci.o \
  7. sleep.o low_i2c.o cache.o pfunc_core.o \
  8. pfunc_base.o udbg_scc.o udbg_adb.o
  9. obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o
  10. # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really
  11. # need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really
  12. # CONFIG_NVRAM=y
  13. obj-$(CONFIG_NVRAM:m=y) += nvram.o
  14. # ppc64 pmac doesn't define CONFIG_NVRAM but needs nvram stuff
  15. obj-$(CONFIG_PPC64) += nvram.o
  16. obj-$(CONFIG_PPC32) += bootx_init.o
  17. obj-$(CONFIG_SMP) += smp.o