android - Kernel bash scripts compilation error -


last time tried compile kernel device runs android, faced strange issues, shown here following errors:

/cmsource/kernel/samsung/msm7x30-common/scripts/mkmakefile: line 5: $'\r': command not found cmsource/kernel/samsung/msm7x30-common/scripts/mkmakefile: line 12: $'\r': command not found /cmsource/kernel/samsung/msm7x30-common/scripts/mkmakefile: line 59: warning: here-document @ line 24 delimited end-of-file (wanted `eof') cmsource/kernel/samsung/msm7x30-common/scripts/mkmakefile: line 60: syntax error: unexpected end of file 

the mkmakefile bash script know

i tried solve compilation errors couldn't figure out.

i suspecting this: made various changes in git in 1 week ago following changes:

git config --global core.autocrlf input git config --global core.whitespace trailing-space,space-before-tab,inden git config --global core.autocrlf true 

i saw following post while searching on net: the post on stackoverflow

i must downloaded kernel source using git clone

so seems me there relationship between setting git crlf, line ending settings , kernel compilation errors caused scripts

can shed lights on this?

the issue git config --global core.autocrlf true is global setting can affect all files, including ones eol (end-of-line) characters should not changed
(i found problematic in past).

try first:

 git config --global core.autocrlf false 

and clone again repo see if issue persists.


Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -