mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 3/3] cryptodev: simplify rules
Date: Sun, 22 Feb 2026 16:19:53 +0100	[thread overview]
Message-ID: <aZsemdV8RhiCkBxQ@lenoch> (raw)
In-Reply-To: <aZseChqY58Wcw65n@lenoch>

From: Ladislav Michl <ladis@triops.cz>

As a header is installed in separate cryptodev-api package rules can
call kernel build system directly.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/cryptodev.make | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/rules/cryptodev.make b/rules/cryptodev.make
index 4f4f2944a..d5e34e39a 100644
--- a/rules/cryptodev.make
+++ b/rules/cryptodev.make
@@ -45,11 +45,8 @@ CRYPTODEV_WRAPPER_ACCEPT_PATHS = \
 	$(KERNEL_DIR)
 
 CRYPTODEV_MAKE_OPT = \
-	O=$(KERNEL_BUILD_DIR) \
-	$(KERNEL_BASE_OPT) \
-	KERNEL_DIR=$(KERNEL_DIR) \
-	DESTDIR=$(CRYPTODEV_PKGDIR) \
-	prefix=/usr
+	$(KERNEL_MODULE_OPT) \
+	modules
 
 # ----------------------------------------------------------------------------
 # Install
@@ -65,7 +62,7 @@ $(STATEDIR)/cryptodev.install:
 
 $(STATEDIR)/cryptodev.targetinstall:
 	@$(call targetinfo)
-	@$(call compile, CRYPTODEV, $(CRYPTODEV_MAKE_OPT) install)
+	@$(call compile, CRYPTODEV, $(CRYPTODEV_MAKE_OPT)_install)
 	@$(call touch)
 
 # vim: syntax=make
-- 
2.47.3




      parent reply	other threads:[~2026-02-22 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-22 15:17 [ptxdist] [PATCH 0/3] cryptodev update Ladislav Michl
2026-02-22 15:18 ` [ptxdist] [PATCH 1/3] cryptodev: fix compilation with Linux-6.18-rc1 Ladislav Michl
2026-02-22 15:19 ` [ptxdist] [PATCH 2/3] cryptodev: move cryptodev kernel module to platform Ladislav Michl
2026-02-22 15:19 ` Ladislav Michl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aZsemdV8RhiCkBxQ@lenoch \
    --to=oss-lists@triops.cz \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox