Makefile 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #
  2. # Makefile for the linux kernel.
  3. #
  4. # Object file lists.
  5. ifeq ($(CONFIG_ARCH_MESON1),y)
  6. meson-arch := m1
  7. endif
  8. ifeq ($(CONFIG_ARCH_MESON2),y)
  9. meson-arch := m2
  10. endif
  11. ifeq ($(CONFIG_ARCH_MESON3),y)
  12. meson-arch := m3
  13. endif
  14. ifeq ($(CONFIG_ARCH_MESON6),y)
  15. meson-arch := m6
  16. endif
  17. obj-$(CONFIG_AM_STREAMING) += amports.o
  18. ifeq ($(CONFIG_ARCH_MESON6),y)
  19. amports-objs := amstream.o streambuf.o vdec.o adec.o tsdemux.o psparser.o esparser.o rmparser.o amvdec.o amstream_profile.o
  20. amports-y := amstream.o streambuf.o vdec.o adec.o tsdemux.o psparser.o esparser.o rmparser.o amvdec.o amstream_profile.o
  21. else
  22. amports-objs := amstream.o streambuf.o vdec.o adec.o tsdemux.o psparser.o esparser.o rmparser.o amvdec.o amve.o amcm.o amstream_profile.o
  23. amports-y := amstream.o streambuf.o vdec.o adec.o tsdemux.o psparser.o esparser.o rmparser.o amvdec.o amve.o amcm.o amstream_profile.o
  24. endif
  25. obj-$(CONFIG_AM_VDEC_MPEG12) += amvdec_mpeg12.o
  26. amvdec_mpeg12-objs := vmpeg12.o ${meson-arch}/ucode/mpeg12/vmpeg12_mc.o
  27. amvdec_mpeg12-y := vmpeg12.o ${meson-arch}/ucode/mpeg12/vmpeg12_mc.o
  28. obj-$(CONFIG_AM_VDEC_MPEG4) += amvdec_mpeg4.o
  29. amvdec_mpeg4-objs := vmpeg4.o ${meson-arch}/ucode/mpeg4/vmpeg4_mc.o
  30. amvdec_mpeg4-y := vmpeg4.o ${meson-arch}/ucode/mpeg4/vmpeg4_mc.o
  31. obj-$(CONFIG_AM_VDEC_VC1) += amvdec_vc1.o
  32. amvdec_vc1-objs := vvc1.o ${meson-arch}/ucode/vc1/vc1_mc.o
  33. amvdec_vc1-y := vvc1.o ${meson-arch}/ucode/vc1/vc1_mc.o
  34. obj-$(CONFIG_AM_VDEC_H264) += amvdec_h264.o
  35. amvdec_h264-objs := vh264.o ${meson-arch}/ucode/h264/vh264_mc.o
  36. amvdec_h264-y := vh264.o ${meson-arch}/ucode/h264/vh264_mc.o
  37. obj-$(CONFIG_AM_VDEC_H264MVC) += amvdec_h264mvc.o
  38. amvdec_h264mvc-objs := vh264mvc.o ${meson-arch}/ucode/h264mvc/vh264mvc_mc.o
  39. amvdec_h264mvc-y := vh264mvc.o ${meson-arch}/ucode/h264mvc/vh264mvc_mc.o
  40. obj-$(CONFIG_AM_VDEC_MJPEG) += amvdec_mjpeg.o
  41. amvdec_mjpeg-objs := vmjpeg.o ${meson-arch}/ucode/mjpeg/vmjpeg_mc.o
  42. amvdec_mjpeg-y := vmjpeg.o ${meson-arch}/ucode/mjpeg/vmjpeg_mc.o
  43. obj-$(CONFIG_AM_VDEC_REAL) += amvdec_real.o
  44. amvdec_real-objs := vreal.o ${meson-arch}/ucode/real/vreal_mc.o
  45. amvdec_real-y := vreal.o ${meson-arch}/ucode/real/vreal_mc.o
  46. obj-$(CONFIG_AM_JPEGDEC) += jpegdec.o ${meson-arch}/ucode/jpeg/jpeg_mc.o
  47. obj-$(CONFIG_AM_VIDEO) += amvideo.o
  48. amvideo-objs := video.o vpp.o
  49. amvideo-y := video.o vpp.o
  50. obj-$(CONFIG_AM_VIDEO2) += amvideo2.o
  51. amvideo2-objs := video2.o vpp2.o
  52. amvideo2-y := video2.o vpp2.o
  53. obj-$(CONFIG_AM_DEINTERLACE) += deinterlace.o
  54. obj-$(CONFIG_AM_TIMESYNC) += amtsync.o
  55. amtsync-objs := tsync.o timestamp.o
  56. amtsync-y := tsync.o timestamp.o
  57. obj-$(CONFIG_AM_PTSSERVER) += ptsserv.o
  58. obj-$(CONFIG_AM_SUBTITLE) += subtitle.o
  59. ifneq ($(CONFIG_AM_DVB),)
  60. EXTRA_CFLAGS = -DENABLE_DEMUX_DRIVER -DMODIFY_TIMESTAMP_INC_WITH_PLL -DCALC_CACHED_TIME #-DUSE_VMASTER_MODE
  61. endif