Home | History | Annotate | Line # | Download | only in i915drmkms
Makefile revision 1.16.4.1
      1  1.16.4.1   thorpej # $NetBSD: Makefile,v 1.16.4.1 2021/04/17 17:26:21 thorpej Exp $
      2       1.2  riastrad 
      3       1.2  riastrad .include "../Makefile.inc"
      4       1.2  riastrad .include "../drmkms/Makefile.inc"
      5       1.2  riastrad 
      6       1.9  riastrad KMOD=	i915drmkms
      7       1.9  riastrad IOCONF=	i915drmkms.ioconf
      8       1.9  riastrad MKLDSCRIPT=yes
      9       1.2  riastrad 
     10       1.2  riastrad .PATH:	${S}/external/bsd/drm2/i915drm
     11       1.9  riastrad 
     12       1.2  riastrad .PATH:	${S}/external/bsd/drm2/dist/drm/i915
     13       1.2  riastrad 
     14      1.10  riastrad CPPFLAGS+=	-I${S}/sys/modules/drmkms
     15      1.10  riastrad 
     16       1.9  riastrad CPPFLAGS+=	-I${S}/external/bsd/drm2/i915drm
     17       1.9  riastrad 
     18       1.9  riastrad CPPFLAGS+=	-I${S}/external/bsd/drm2/dist/drm/i915
     19       1.9  riastrad 
     20       1.9  riastrad CPPFLAGS+=	-DCONFIG_DRM_I915_FBDEV=1
     21       1.9  riastrad CPPFLAGS+=	-DCONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=0
     22       1.9  riastrad 
     23       1.9  riastrad # Substitute for _KERNEL_OPT flags.
     24       1.9  riastrad CPPFLAGS+=	-DNACPICA=1
     25       1.9  riastrad CPPFLAGS+=	-DNVGA=1
     26       1.9  riastrad 
     27       1.9  riastrad CWARNFLAGS+=	-Wno-shadow
     28      1.15  riastrad CWARNFLAGS+=	-Wno-pointer-arith
     29       1.9  riastrad 
     30       1.9  riastrad COPTS.i915_drv.c+=	${${ACTIVE_CC} == "gcc":? -Wno-override-init :}
     31       1.9  riastrad COPTS.i915_drv.c+=	${${ACTIVE_CC} == "clang":? -Wno-initializer-overrides :}
     32       1.9  riastrad 
     33       1.9  riastrad # NetBSD additions.
     34       1.9  riastrad SRCS+=	i915_module.c
     35       1.9  riastrad SRCS+=	i915_pci.c
     36       1.9  riastrad SRCS+=	intel_gtt.c
     37       1.9  riastrad 
     38       1.9  riastrad # wsconsole framebuffer.
     39       1.9  riastrad SRCS+=	intelfb.c
     40       1.2  riastrad 
     41       1.9  riastrad # Upstream sources.
     42       1.2  riastrad SRCS+=	dvo_ch7017.c
     43       1.2  riastrad SRCS+=	dvo_ch7xxx.c
     44       1.2  riastrad SRCS+=	dvo_ivch.c
     45       1.2  riastrad SRCS+=	dvo_ns2501.c
     46       1.2  riastrad SRCS+=	dvo_sil164.c
     47       1.2  riastrad SRCS+=	dvo_tfp410.c
     48       1.3  riastrad SRCS+=	i915_cmd_parser.c
     49       1.2  riastrad SRCS+=	i915_dma.c
     50       1.2  riastrad SRCS+=	i915_drv.c
     51       1.2  riastrad SRCS+=	i915_gem.c
     52       1.9  riastrad SRCS+=	i915_gem_batch_pool.c
     53       1.2  riastrad SRCS+=	i915_gem_context.c
     54       1.2  riastrad SRCS+=	i915_gem_debug.c
     55       1.9  riastrad #SRCS+=	i915_gem_dmabuf.c	# XXX drm prime
     56       1.2  riastrad SRCS+=	i915_gem_evict.c
     57       1.2  riastrad SRCS+=	i915_gem_execbuffer.c
     58       1.9  riastrad SRCS+=	i915_gem_fence.c
     59       1.2  riastrad SRCS+=	i915_gem_gtt.c
     60       1.9  riastrad SRCS+=	i915_gem_render_state.c
     61       1.9  riastrad SRCS+=	i915_gem_shrinker.c
     62       1.2  riastrad SRCS+=	i915_gem_stolen.c
     63       1.2  riastrad SRCS+=	i915_gem_tiling.c
     64       1.9  riastrad SRCS+=	i915_gem_userptr.c
     65       1.3  riastrad SRCS+=	i915_gpu_error.c
     66       1.9  riastrad SRCS+=	i915_guc_submission.c
     67       1.2  riastrad SRCS+=	i915_irq.c
     68       1.3  riastrad SRCS+=	i915_params.c
     69       1.2  riastrad SRCS+=	i915_suspend.c
     70       1.9  riastrad SRCS+=	i915_sysfs.c
     71       1.9  riastrad SRCS+=	i915_trace_points.c
     72       1.9  riastrad SRCS+=	i915_vgpu.c
     73       1.5    nonaka SRCS+=	intel_acpi.c
     74       1.9  riastrad SRCS+=	intel_atomic.c
     75       1.9  riastrad SRCS+=	intel_atomic_plane.c
     76       1.9  riastrad SRCS+=	intel_audio.c
     77       1.2  riastrad SRCS+=	intel_bios.c
     78       1.2  riastrad SRCS+=	intel_crt.c
     79       1.2  riastrad SRCS+=	intel_ddi.c
     80       1.2  riastrad SRCS+=	intel_display.c
     81       1.2  riastrad SRCS+=	intel_dp.c
     82       1.9  riastrad SRCS+=	intel_dp_mst.c
     83       1.3  riastrad SRCS+=	intel_dsi.c
     84       1.9  riastrad #SRCS+=	intel_dsi_panel_vbt.c
     85       1.9  riastrad #SRCS+=	intel_dsi_pll.c
     86       1.2  riastrad SRCS+=	intel_dvo.c
     87       1.9  riastrad SRCS+=	intel_fbc.c
     88       1.3  riastrad SRCS+=	intel_fbdev.c
     89       1.9  riastrad SRCS+=	intel_fifo_underrun.c
     90       1.9  riastrad SRCS+=	intel_frontbuffer.c
     91       1.9  riastrad SRCS+=	intel_guc_loader.c
     92       1.2  riastrad SRCS+=	intel_hdmi.c
     93       1.9  riastrad SRCS+=	intel_hotplug.c
     94       1.2  riastrad SRCS+=	intel_i2c.c
     95       1.9  riastrad SRCS+=	intel_lrc.c
     96       1.2  riastrad SRCS+=	intel_lvds.c
     97       1.9  riastrad SRCS+=	intel_mocs.c
     98       1.2  riastrad SRCS+=	intel_modes.c
     99       1.5    nonaka SRCS+=	intel_opregion.c
    100       1.2  riastrad SRCS+=	intel_overlay.c
    101       1.2  riastrad SRCS+=	intel_panel.c
    102       1.2  riastrad SRCS+=	intel_pm.c
    103       1.9  riastrad SRCS+=	intel_psr.c
    104       1.9  riastrad SRCS+=	intel_renderstate_gen6.c
    105       1.9  riastrad SRCS+=	intel_renderstate_gen7.c
    106       1.9  riastrad SRCS+=	intel_renderstate_gen8.c
    107       1.9  riastrad SRCS+=	intel_renderstate_gen9.c
    108       1.2  riastrad SRCS+=	intel_ringbuffer.c
    109       1.9  riastrad SRCS+=	intel_runtime_pm.c
    110       1.2  riastrad SRCS+=	intel_sdvo.c
    111       1.3  riastrad SRCS+=	intel_sideband.c
    112       1.2  riastrad SRCS+=	intel_sprite.c
    113       1.2  riastrad SRCS+=	intel_tv.c
    114       1.3  riastrad SRCS+=	intel_uncore.c
    115       1.2  riastrad 
    116      1.13       rin WARNS=	3
    117      1.13       rin 
    118  1.16.4.1   thorpej COPTS.intel_display.c+=		${GCC_NO_IMPLICIT_FALLTHRU}
    119  1.16.4.1   thorpej COPTS.intel_ddi.c+=		${GCC_NO_IMPLICIT_FALLTHRU}
    120  1.16.4.1   thorpej COPTS.intel_sdvo.c+=		${GCC_NO_IMPLICIT_FALLTHRU}
    121  1.16.4.1   thorpej COPTS.intel_ddi.c+=		${GCC_NO_MAYBE_UNINITIALIZED}
    122  1.16.4.1   thorpej COPTS.i915_guc_submission.c+=	${NO_ADDR_OF_PACKED_MEMBER}
    123      1.12       mrg 
    124       1.2  riastrad .include <bsd.kmodule.mk>
    125