Welcome to the Linux Foundation Forum!

Facing error in building the kernel

Options

Build Command -> make -j 8
Config file created using make menuconfig
System Kernel Config -> config-6.5.0-18-generic

Error:
make[1]: *** [/home/utkarsh/Desktop/linux/Makefile:1919: .] Error 2
make: *** [Makefile:240: __sub-make] Error 2

Makefile Snapshot of line 240:

239: __sub-make:
240: $(Q)$(MAKE) $(no-print-directory) -C $(abs_objtree) \
241: -f $(abs_srctree)/Makefile $(MAKECMDGOALS)

Need help to fix this error and build the kernel

Comments

  • utkarsh1905
    Options

    Resolved fro me using the following commands

    scripts/config --disable SYSTEM_TRUSTED_KEYS
    scripts/config --disable SYSTEM_REVOCATION_KEYS

Categories

Upcoming Training