summaryrefslogtreecommitdiffstats
path: root/rules/templates/template-src-linux-driver-make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/templates/template-src-linux-driver-make')
-rw-r--r--rules/templates/template-src-linux-driver-make14
1 files changed, 1 insertions, 13 deletions
diff --git a/rules/templates/template-src-linux-driver-make b/rules/templates/template-src-linux-driver-make
index 6d6b385ee..2d562bc20 100644
--- a/rules/templates/template-src-linux-driver-make
+++ b/rules/templates/template-src-linux-driver-make
@@ -18,7 +18,7 @@ PACKAGES-$(PTXCONF_@PACKAGE@) += @package@
#
@PACKAGE@_VERSION := @VERSION@
@PACKAGE@ := @package@-$(@PACKAGE@_VERSION)
-@PACKAGE@_SRCDIR := $(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@)
+@PACKAGE@_URL := lndir://$(PTXDIST_WORKSPACE)/local_src/$(@PACKAGE@)
@PACKAGE@_DIR := $(BUILDDIR)/$(@PACKAGE@)
@PACKAGE@_LICENSE := unknown
@@ -27,14 +27,6 @@ $(STATEDIR)/kernel.targetinstall.post: $(STATEDIR)/@package@.targetinstall
endif
# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/@package@.extract:
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
@@ -48,10 +40,6 @@ $(STATEDIR)/@package@.prepare:
$(STATEDIR)/@package@.compile:
@$(call targetinfo)
-# # The kernel cannot build an out-of-tree driver out-of-tree :-)
-# # So we make a local copy.
- rm -fr $(@PACKAGE@_DIR)
- cp -a $(@PACKAGE@_SRCDIR) $(@PACKAGE@_DIR)
$(KERNEL_PATH) $(KERNEL_ENV) $(MAKE) $(KERNEL_MAKEVARS) \
-C $(KERNEL_DIR) \
M=$(@PACKAGE@_DIR) \