# -*-makefile-*-
#
# Copyright (C) 2013 by <>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_COMPATDRIVER) += compatdriver
#
# Paths and names and versions
#
COMPATDRIVER_VERSION := 3.9-rc4-2
COMPATDRIVER := compatdriver-$(COMPATDRIVER_VERSION)
COMPATDRIVER_URL := lndir://$(PTXDIST_WORKSPACE)/local_src/$(COMPATDRIVER)
COMPATDRIVER_DIR := $(BUILDDIR)/$(COMPATDRIVER)
COMPATDRIVER_LICENSE := unknown
ifdef PTXCONF_COMPATDRIVER
$(STATEDIR)/kernel.targetinstall.post: $(STATEDIR)/compatdriver.targetinstall
endif
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
$(STATEDIR)/compatdriver.prepare:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
$(STATEDIR)/compatdriver.compile:
@$(call targetinfo)
$(KERNEL_PATH) $(KERNEL_ENV) $(MAKE) $(KERNEL_MAKEVARS) \
-C $(KERNEL_DIR) \
M=$(COMPATDRIVER_DIR) \
modules
@$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/compatdriver.install:
@$(call targetinfo)
@$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/compatdriver.targetinstall:
@$(call targetinfo)
$(KERNEL_PATH) $(KERNEL_ENV) $(MAKE) $(KERNEL_MAKEVARS) \
-C $(KERNEL_DIR) \
M=$(COMPATDRIVER_DIR) \
modules_install
@$(call touch)
# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------
#$(STATEDIR)/compatdriver.clean:
# @$(call targetinfo)
# @$(call clean_pkg, COMPATDRIVER)
# vim: syntax=make