Forum Discussion
Altera_Forum
Honored Contributor
20 years agoPlease try, in the kernel Makefile, remove the dos2unix line.
# execute the command and also postprocess generated .d dependencies # file # cygwhack: when generating dependencies with gcc 2.95.3, lines seem to be # terminated with CR/LFs reqardless of how directories are mounted. "newer" gcc versions # do not seem to exhibit this anomaly but we are stuck with the current version until # Altera upgrades their distribution. hence we dos2unix the .d file for fixdep... if_changed_dep = $(if $(strip $? $(filter-out FORCE $(wildcard $^),$^) $(filter-out $(cmd_$(1)),$(cmd_$@)) $(filter-out $(cmd_$@),$(cmd_$(1)))), $(Q)set -e; $(if $($(quiet)cmd_$(1)),echo ' $(subst ','\'',$($(quiet)cmd_$(1)))';) $(cmd_$(1)); - dos2unix $(depfile); scripts/basic/fixdep $(depfile) $@ '$(subst $$,$$$$,$(subst ','\'',$(cmd_$(1))))' > $(@D)/.$(@F).tmp; rm -f $(depfile); mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd)