You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Make fails with the below mentioned error whenever try to compile the module for AutoSD kernel:
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
What version of L4T/JetPack
L4T/JetPack version: As mentioned earlier I am not using a JetPack kernel rather I am using a AutoSD kernel of Red Hat.
The kernel is in use is - kernel-automotive-5.14.0-212.176.el9iv.aarch64
Which Jetson
Jetson: nvidia-jetson-xavier-nx
To Reproduce
Steps to reproduce the behavior:
Use the source code of the mentioned kernel -
and run :
./build-module.sh
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
Expected behavior
The module should get built without any issue since the kernel source code and necessary dependencies / environment is present
The scripts provided are for building the kernel from NVIDIA provided source code specific to the Jetson. You can use the build files as an outline for your project, but I would not expect them to work without modification. Good luck on your project!
Describe the issue
Make fails with the below mentioned error whenever try to compile the module for AutoSD kernel:
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
Please note that I am not using nVidia JetPack rather I am using AutoSD - https://sig.centos.org/automotive/
What version of L4T/JetPack
L4T/JetPack version: As mentioned earlier I am not using a JetPack kernel rather I am using a AutoSD kernel of Red Hat.
The kernel is in use is - kernel-automotive-5.14.0-212.176.el9iv.aarch64
Which Jetson
Jetson: nvidia-jetson-xavier-nx
To Reproduce
Steps to reproduce the behavior:
Use the source code of the mentioned kernel -
and run :
./build-module.sh
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
make[1]: *** No rule to make target 'arch/arm64/tools/gen-cpucaps.awk', needed by 'arch/arm64/include/generated/asm/cpucaps.h'. Stop.
make: *** [arch/arm64/Makefile:178: archprepare] Error 2
Expected behavior
The module should get built without any issue since the kernel source code and necessary dependencies / environment is present
Additional context
The AutoSD is a development preview of the upcoming Red Hat In-Vehicle Operating System. You can download the source code of the kernel from here - https://gitlab.com/CentOS/automotive/src/kernel/kernel-automotive-9/-/tree/kernel-automotive-5.14.0-212.176.el9iv
The text was updated successfully, but these errors were encountered: