diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-07-02 11:44:28 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2020-07-04 09:43:37 +0200 |
commit | 1c0292cf7ed346a03b094c7f3aa895abb84177e5 (patch) | |
tree | 415337a1e3ccdfa89851e5a5e652309e818e6a62 /rules/cryptodev.make | |
parent | 91187d21903659b388e79153e53d25dfdb7d947b (diff) | |
download | ptxdist-1c0292cf7ed346a03b094c7f3aa895abb84177e5.tar.gz ptxdist-1c0292cf7ed346a03b094c7f3aa895abb84177e5.tar.xz |
kernel: cleanup and refactor KERNEL_MAKE_OPT and KERNEL_CONF_OPT
This introduces KERNEL_MODULE_OPT as a explicit variable that should be
used by kernel module packages. Hopefully, this will be the last time that
kernel module packages need to be changes due to changes in the kernel
rule. A new check ensures, that an error occurs when other packages use
KERNEL_MAKE_OPT.
cryptodev and the kernel module template now use KERNEL_MODULE_OPT.
Remove KERNEL_MODULES_BUILD. Use ptx/ifdef instead. That's much simpler and
avoids the extra kconfig option.
KERNEL_MAKE_OPT can now contain all necessary options so world/compile can
be used to build the kernel itself.
The variables are structured in a way that makes it possible to add extra
options to KERNEL_MAKE_OPT and KERNEL_CONF_OPT that are not used by the
other. This will be used in later commits.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/cryptodev.make')
-rw-r--r-- | rules/cryptodev.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/cryptodev.make b/rules/cryptodev.make index 06f5eedeb..3d82e95c5 100644 --- a/rules/cryptodev.make +++ b/rules/cryptodev.make @@ -41,7 +41,7 @@ CRYPTODEV_CONF_TOOL := NO # ---------------------------------------------------------------------------- CRYPTODEV_MAKE_OPT = \ - $(KERNEL_MAKE_OPT) \ + $(KERNEL_MODULE_OPT) \ KERNEL_DIR=$(KERNEL_DIR) \ DESTDIR=$(CRYPTODEV_PKGDIR) \ prefix=/usr \ |