Daniel Pouzzner
|
6ee22de999
linuxkm: initial support for cross-compilation.
|
5 mesi fa |
JacobBarthelmeh
|
31a6a2bf59
update copyright to 2024
|
4 mesi fa |
Daniel Pouzzner
|
ae0d40b119
linuxkm/Makefile: use old/deprecated cp --no-clobber rather than newfangled cp --update=none in libwolfssl.ko recipe, for compatibility with older cp (pre-coreutils-9.3 of 2023-04-18). note that coreutils-9.5 restores the behavior of --no-clobber pre-9.2, whereby skips of existing files are non-errors.
|
5 mesi fa |
Daniel Pouzzner
|
d3a6b71f5f
linuxkm/Makefile: copy link tree of wolfcrypt/ as a whole, rather than just wolfcrypt/src/ and wolfcrypt/test/, to pull in wolfcrypt/benchmark/.
|
6 mesi fa |
Daniel Pouzzner
|
41cbbfe3ab
linuxkm: updates for kernel 6.10: use new _noprof names for newly macro-shimmed kmalloc, krealloc, kzmalloc, kvmalloc_node, and kmalloc_trace, and refactor linuxkm/Makefile and linuxkm/Kbuild to set up links to sources in the dest tree (works around breakage from linux commit 9a0ebe5011).
|
6 mesi fa |
Daniel Pouzzner
|
44e0ee1ecd
wolfssl/wolfcrypt/types.h:
|
10 mesi fa |
Jacob Barthelmeh
|
9dcc48c8f7
update copyright to 2023
|
1 anno fa |
Daniel Pouzzner
|
23b16c09d7
linuxkm/Makefile: add support for $KBUILD_EXTRA_FLAGS.
|
2 anni fa |
Daniel Pouzzner
|
542c53f3ac
snip out errant "#/" strings added to various text files by copyright boilerplate update in 8eaa85e412.
|
2 anni fa |
Jacob Barthelmeh
|
8eaa85e412
update copyright year to 2022
|
2 anni fa |
Masashi Honma
|
ace5d444a4
Fix failure of make distclean when linuxkm is enabled
|
3 anni fa |
Masashi Honma
|
30a01a0758
Fix failure of check at commiting when linuxkm is enabled
|
3 anni fa |
Daniel Pouzzner
|
742492cb5e
linuxkm/Makefile: fix module sign-file error handling.
|
3 anni fa |
Daniel Pouzzner
|
fc73c6dbea
linuxkm: fix Makefile to properly pivot module signature on CONFIG_MODULE_SIG==y; remove not-yet-kernel-compatible asm files from the ASFLAGS_FPU_DISABLE_SIMD_ENABLE list, matching the OBJECT_FILES_NON_STANDARD list, for clarity.
|
3 anni fa |
Daniel Pouzzner
|
3745b1c9db
linuxkm: fix clean rules/definitions to not pick up top level Makefile, and to clean up empty object directories.
|
3 anni fa |
Daniel Pouzzner
|
947a0d6a2f
autotools/Makefiles: enable reproducible build by default for FIPS, and add -DHAVE_REPRODUCIBLE_BUILD to AM_CFLAGS;
|
3 anni fa |
Daniel Pouzzner
|
34e88b0605
linuxkm: properly pass {AM_,}CPPFLAGS to Kbuild, and include kdf.h in module_exports.c.template.
|
3 anni fa |
Daniel Pouzzner
|
83e0e19e03
linuxkm feature additions:
|
3 anni fa |
Daniel Pouzzner
|
3226e69649
--enable-linuxkm-pie (FIPS Linux kernel module) (#4276)
|
3 anni fa |
Daniel Pouzzner
|
15c890179f
Linux kernel module: add an explicit -ffreestanding to CFLAGS in linuxkm/Makefile, and in wc_port.h ifdef WOLFSSL_LINUXKM, ignore -Wtype-limits in Linux kernel header files (needed for kernel v5.13), and suppress inclusion of stdint-gcc.h.
|
3 anni fa |
Jacob Barthelmeh
|
c729318ddd
update copyright date
|
3 anni fa |
Daniel Pouzzner
|
3858bda7e9
add "module", "modules_install", and "clean_module" rules to BUILD_LINUXKM section of Makefile.am, and add working install rule to linuxkm/Makefile, so that "make module" and "make modules_install" now work when --enable-linuxkm; fix "make dist" logic in Makefile.am and scripts/include.am to be unaffected by --enable-linuxkm; don't build wolfcrypt/benchmark or testwolfcrypt when --enable-linuxkm and --enable-crypttests.
|
4 anni fa |
Daniel Pouzzner
|
5d1bea4ff7
linuxkm/Makefile: rename KERNEL_OPT to KERNEL_EXTRA_CFLAGS.
|
4 anni fa |
Daniel Pouzzner
|
5504d9cd4e
linuxkm: dial in SIMD options in Kbuild; add boilerplate at the top of all files added for linuxkm.
|
4 anni fa |
Daniel Pouzzner
|
69052ff535
linuxkm: explanatory message and error exit on attempted make install.
|
4 anni fa |
Daniel Pouzzner
|
05bca8b0ee
when BUILD_LINUXKM, suppress building the library; rename $KROOT/$KARCH to $KERNEL_ROOT/$KERNEL_ARCH; remove SIMD enablement from linuxkm CFLAGS; add linuxkm support for -DKERNEL_OPT=x.
|
4 anni fa |
Daniel Pouzzner
|
9549a5f973
linuxkm: add linuxkm/module_exports.c.template, and autogenerate linuxkm/module_exports.c.
|
4 anni fa |
Daniel Pouzzner
|
d7450b85f7
linuxkm/Makefile: use -Wno-declaration-after-statement (needed for heapful DECLARE_VAR() et al).
|
4 anni fa |
Daniel Pouzzner
|
9611f7abfd
linuxkm/Makefile: add no-op distdir rule.
|
4 anni fa |
Daniel Pouzzner
|
03fe9c15c0
linuxkm/Makefile: add do-nothing dist rule, and refactor setness tests for libwolfssl.ko to be make-dist-compatible.
|
4 anni fa |