在使用比較新的gcc編譯核心時,經常遇到這個問題:

 問題一: 提示: mkimage" command not found - U-Boot images will not be built

  原因是新的ubuntu系統上,這個工具的名字已經變了,安裝方式如下所示:

  sudo apt-get install u-boot-tools

 問題二:

Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
問題原因是新的perl語音語法和舊的不一樣導致,問題的解決方法從下面網址所示:

https://github.com/Dazzozo/huawei-kernel-3.4/pull/3/commits/158c9bf883a203530b2f558be1b3cd168fc3d202?diff=split