Skip to content

linux-samsung-xcover3lte: Fixed kernel build

Currently the build fails due to following reason.

AS doesn't like the #-appendix in section definition of .text.init anymore.

  HOSTLD  scripts/mod/modpost
  AS      arch/arm64/mm/proc.o
/mnt/linux/arch/arm64/mm/proc.S: Assembler messages:
/mnt/linux/arch/arm64/mm/proc.S:167: Error: junk at end of line, first unrecognized character is `#'
make[2]: *** [/mnt/linux/scripts/Makefile.build:344: arch/arm64/mm/proc.o] Error 1
make[1]: *** [/mnt/linux/Makefile:1442: arch/arm64/mm/proc.o] Error 2
make: *** [Makefile:133: sub-make] Error 2

The pre-commit hook now prevents "Substring Expansion". Other downstream kernels are using this approach as well.

Edited by blacksilver

Merge request reports

Loading