Makefile revision 1494
1690N/A#
1690N/A# Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
1690N/A#
1690N/A# Permission is hereby granted, free of charge, to any person obtaining a
1690N/A# copy of this software and associated documentation files (the "Software"),
1690N/A# to deal in the Software without restriction, including without limitation
1690N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1690N/A# and/or sell copies of the Software, and to permit persons to whom the
1690N/A# Software is furnished to do so, subject to the following conditions:
1690N/A#
1690N/A# The above copyright notice and this permission notice (including the next
1690N/A# paragraph) shall be included in all copies or substantial portions of the
1690N/A# Software.
1690N/A#
1690N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1690N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1690N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1690N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1690N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1690N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1690N/A# DEALINGS IN THE SOFTWARE.
1690N/A#
1690N/A###############################################################################
1690N/A#
5139N/A# This Makefile drives the production of the DRM (Direct Rendering
6190N/A# Manager) common misc module.
1690N/A#
1690N/A###############################################################################
1690N/A
2086N/ATOP:sh = hg root
1690N/A
1690N/A#
1690N/A# X-consolidation defines:
2561N/A#
3902N/A# Module core info
1690N/A#
2800N/AMODULE = i915
2800N/A
3853N/A# MODULE_NAME - the package this module is installed in
3853N/AMODULE_NAME = $(MODULE)
2800N/AMODULE_DESC = i915 kernel driver
3853N/AMODULE_VERSION = src
1690N/A
2800N/A# This is the package this module should be installed into
5302N/AMODULE_PKGTAIL = drm
5302N/AMODULE_PKGTAIL_SET = yes
5302N/A
5302N/A# Where are the local sources relative to the build dir
5302N/AREL_SOURCE_DIR = ../src
3352N/A
2601N/A# Where do we install the driver.
2086N/AMODULE_PREFIX = kernel/drv/$(MACH64_i386)
5862N/AMODULE_PREFIX_SET = yes
3853N/A
3853N/A# No upstream sources for these files, since they're Solaris-specific
3853N/ASOURCE_TARBALL_NAME = NONE
2086N/ASOURCE_TARBALL_NAME_SET = yes
1690N/ASOURCE_TARGETS =
1690N/ASOURCE_TARGETS_SET = yes
1690N/A
3853N/A# No configure script, so pass usual environment to build/install instead
1690N/ACONFIGURE_TARGETS = $(BUILD_DIR)
2800N/ACONFIGURE_TARGETS_SET = yes
2800N/A
2800N/AMODULE_MAKEFLAGS = VPATH=$(REL_SOURCE_DIR) -f $(REL_SOURCE_DIR)/Makefile
1690N/AMODULE_BUILD_ENV = $(CONFIG_ENV) PREFIX=$(MODULE_PREFIX)
2561N/AMODULE_LDFLAGS = -r -dy -Nmisc/drm
2561N/A
2561N/A#
2800N/A# License info
2561N/A#
2601N/AMODULE_LICENSE = Intel license
2601N/AMODULE_LICENSE_SET = yes
2601N/AMODULE_DESC = Intel i915 KMS driver
2561N/AORACLE_TPNO = 5800
3902N/ALICENSE_FILE = ../license_i915
3902N/ALICENSE_FILE_SET = yes
3902N/A
3902N/A#
2800N/A# Include kernel rules.
2561N/A#
2561N/Ainclude $(TOP)/open-src/kernel/Makefile.inc
4156N/Ainclude $(TOP)/open-src/kernel/Makefile.rules
1690N/A