Makefile 733 B

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