Makefile
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:2k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. # BK Id: SCCS/s.Makefile 1.57 09/24/01 07:45:31 trini
  2. #
  3. #
  4. # Makefile for the linux kernel.
  5. #
  6. # Note! Dependencies are done automagically by 'make dep', which also
  7. # removes any old dependencies. DON'T put your own dependencies here
  8. # unless it's something special (ie not a .c file).
  9. #
  10. # Note 2! The CFLAGS definitions are now in the main makefile...
  11. USE_STANDARD_AS_RULE := true
  12. ifdef CONFIG_PPC64BRIDGE
  13. EXTRA_AFLAGS := -Wa,-mppc64bridge
  14. endif
  15. ifdef CONFIG_40x
  16. EXTRA_AFLAGS := -Wa,-m405
  17. endif
  18. # Extra CFLAGS so we don't have to do relative includes
  19. CFLAGS_pmac_setup.o += -I$(TOPDIR)/drivers/scsi -I$(TOPDIR)/fs/partitions 
  20. -I$(TOPDIR)/arch/$(ARCH)/mm
  21. CFLAGS_spruce_setup.o += -I$(TOPDIR)/arch/ppc/kernel
  22. CFLAGS_spruce_pci.o += -I$(TOPDIR)/arch/ppc/kernel
  23. CFLAGS_pal4_setup.o += -I$(TOPDIR)/arch/ppc/kernel
  24. CFLAGS_pal4_pci.o += -I$(TOPDIR)/arch/ppc/kernel
  25. O_TARGET := platform.o
  26. export-objs := prep_setup.o
  27. obj-$(CONFIG_WALNUT) += walnut.o
  28. obj-$(CONFIG_APUS) += apus_setup.o
  29. ifeq ($(CONFIG_APUS),y)
  30. obj-$(CONFIG_PCI) += apus_pci.o
  31. endif
  32. obj-$(CONFIG_ALL_PPC) += pmac_pic.o pmac_setup.o pmac_time.o 
  33. pmac_feature.o pmac_pci.o chrp_setup.o
  34. chrp_time.o chrp_pci.o prep_pci.o 
  35. prep_time.o prep_setup.o pmac_sleep.o 
  36. pmac_nvram.o
  37. obj-$(CONFIG_PMAC_BACKLIGHT) += pmac_backlight.o
  38. obj-$(CONFIG_PPC_RTAS) += error_log.o proc_rtas.o
  39. obj-$(CONFIG_PREP_RESIDUAL) += residual.o
  40. obj-$(CONFIG_GEMINI) += gemini_pci.o gemini_setup.o gemini_prom.o
  41. obj-$(CONFIG_PAL4) += pal4_setup.o pal4_pci.o cpc700_pic.o
  42. obj-$(CONFIG_SPRUCE) += spruce_setup.o spruce_pci.o cpc700_pic.o
  43. ifeq ($(CONFIG_SMP),y)
  44. obj-$(CONFIG_ALL_PPC) += pmac_smp.o chrp_smp.o
  45. endif
  46. include $(TOPDIR)/Rules.make