Rev 4560 | Rev 5097 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4104 | Serge | 1 | |
2 | FASM = e:/fasm/fasm.exe |
||
3 | |||
4 | |||
4560 | Serge | 5 | |
4104 | Serge | 6 | |
7 | DRV_INCLUDES = /d/kos/kolibri/drivers/include |
||
8 | DRM_TOPDIR = $(CURDIR)/.. |
||
9 | |||
10 | |||
5060 | serge | 11 | -I$(DRV_INCLUDES)/linux/asm -I$(DRV_INCLUDES)/linux/uapi -I./ |
12 | |||
4104 | Serge | 13 | |
5060 | serge | 14 | CFLAGS_OPT+= -mpreferred-stack-boundary=2 -mincoming-stack-boundary=2 -mno-ms-bitfields -flto |
4104 | Serge | 15 | CFLAGS = -c $(INCLUDES) $(DEFINES) $(CFLAGS_OPT) |
16 | |||
17 | |||
4389 | Serge | 18 | |
4104 | Serge | 19 | |
4389 | Serge | 20 | |
4104 | Serge | 21 | |
5060 | serge | 22 | |
4104 | Serge | 23 | |
5060 | serge | 24 | |
4104 | Serge | 25 | |
5060 | serge | 26 | |
4104 | Serge | 27 | |
28 | |||
29 | $(DRV_INCLUDES)/linux/list.h \ |
||
30 | $(DRV_INCLUDES)/linux/pci.h \ |
||
31 | $(DRV_INCLUDES)/drm/drm.h \ |
||
32 | $(DRV_INCLUDES)/drm/drmP.h \ |
||
33 | $(DRV_INCLUDES)/drm/drm_edid.h \ |
||
34 | $(DRV_INCLUDES)/drm/drm_crtc.h \ |
||
35 | $(DRV_INCLUDES)/drm/drm_mode.h \ |
||
36 | $(DRV_INCLUDES)/drm/drm_mm.h \ |
||
37 | i915_drv.h \ |
||
38 | bitmap.h |
||
39 | |||
40 | |||
41 | pci.c \ |
||
42 | dvo_ch7017.c \ |
||
43 | dvo_ch7xxx.c \ |
||
44 | dvo_ivch.c \ |
||
45 | dvo_ns2501.c \ |
||
46 | dvo_sil164.c \ |
||
47 | dvo_tfp410.c \ |
||
48 | i915_cmd_parser.c \ |
||
5060 | serge | 49 | i915_dma.c \ |
4104 | Serge | 50 | i915_drv.c \ |
51 | i915_gem.c \ |
||
52 | i915_gem_context.c \ |
||
53 | i915_gem_execbuffer.c \ |
||
4560 | Serge | 54 | i915_gem_evict.c \ |
5060 | serge | 55 | i915_gem_gtt.c \ |
4104 | Serge | 56 | i915_gem_render_state.c \ |
5060 | serge | 57 | i915_gem_stolen.c \ |
4104 | Serge | 58 | i915_gem_tiling.c \ |
59 | i915_gpu_error.c \ |
||
4126 | Serge | 60 | i915_irq.c \ |
4104 | Serge | 61 | i915_params.c \ |
5060 | serge | 62 | intel_bios.c \ |
4104 | Serge | 63 | intel_crt.c \ |
64 | intel_ddi.c \ |
||
65 | intel_display.c \ |
||
66 | intel_dp.c \ |
||
67 | intel_dp_mst.c \ |
||
5060 | serge | 68 | intel_dsi.c \ |
4560 | Serge | 69 | intel_dsi_cmd.c \ |
70 | intel_dsi_panel_vbt.c \ |
||
5060 | serge | 71 | intel_dsi_pll.c \ |
4560 | Serge | 72 | intel_dvo.c \ |
4104 | Serge | 73 | intel_fbdev.c \ |
4560 | Serge | 74 | intel_hdmi.c \ |
4104 | Serge | 75 | intel_i2c.c \ |
76 | intel_lvds.c \ |
||
77 | intel_modes.c \ |
||
78 | intel_panel.c \ |
||
79 | intel_pm.c \ |
||
80 | intel_renderstate_gen6.c \ |
||
5060 | serge | 81 | intel_renderstate_gen7.c \ |
82 | intel_renderstate_gen8.c \ |
||
83 | intel_ringbuffer.c \ |
||
4104 | Serge | 84 | intel_sdvo.c \ |
85 | intel_sideband.c \ |
||
86 | intel_sprite.c \ |
||
87 | intel_uncore.c \ |
||
88 | kms_display.c \ |
||
89 | kos_gem_fb.c \ |
||
4371 | Serge | 90 | utils.c \ |
4104 | Serge | 91 | ../hdmi.c \ |
92 | Gtt/intel-agp.c \ |
||
93 | Gtt/intel-gtt.c \ |
||
94 | ../drm_cache.c \ |
||
4371 | Serge | 95 | ../drm_global.c \ |
4104 | Serge | 96 | ../drm_drv.c \ |
97 | ../drm_vma_manager.c \ |
||
98 | $(DRM_TOPDIR)/i2c/i2c-core.c \ |
||
99 | $(DRM_TOPDIR)/i2c/i2c-algo-bit.c \ |
||
100 | $(DRM_TOPDIR)/drm_crtc.c \ |
||
101 | $(DRM_TOPDIR)/drm_crtc_helper.c \ |
||
102 | $(DRM_TOPDIR)/drm_dp_helper.c \ |
||
103 | ../drm_dp_mst_topology.c \ |
||
5060 | serge | 104 | $(DRM_TOPDIR)/drm_edid.c \ |
4104 | Serge | 105 | $(DRM_TOPDIR)/drm_fb_helper.c \ |
106 | $(DRM_TOPDIR)/drm_gem.c \ |
||
107 | $(DRM_TOPDIR)/drm_irq.c \ |
||
108 | $(DRM_TOPDIR)/drm_mm.c \ |
||
109 | $(DRM_TOPDIR)/drm_modes.c \ |
||
110 | $(DRM_TOPDIR)/drm_modeset_lock.c \ |
||
5060 | serge | 111 | $(DRM_TOPDIR)/drm_pci.c \ |
4104 | Serge | 112 | $(DRM_TOPDIR)/drm_plane_helper.c \ |
5060 | serge | 113 | $(DRM_TOPDIR)/drm_probe_helper.c \ |
114 | $(DRM_TOPDIR)/drm_rect.c \ |
||
4104 | Serge | 115 | $(DRM_TOPDIR)/drm_stub.c |
116 | |||
117 | |||
118 | |||
119 | |||
120 | |||
121 | $(patsubst %.c, %.o, $(NAME_SRC)))) |
||
122 | |||
123 | |||
124 | |||
125 | |||
126 | |||
127 | |||
5060 | serge | 128 | $(CC) $(CFLAGS_OPT) -fwhole-program -nostdlib -Wl,-L$(LIBPATH),$(LDFLAGS),-T,i915.lds -o $@ $(NAME_OBJS) $(LIBS) |
4104 | Serge | 129 | |
130 | |||
131 | |||
132 | $(CC) $(CFLAGS) $(DEFINES) -o $@ $< |
||
133 | |||
134 | |||
135 | as -o $@ $< |
||
136 | |||
137 | |||
138 | |||
139 | -rm -f ../*/*.o |
||
140 | |||
141 | |||
142 |