最近在嘗試build Uboot project, 想要新增新的source file 卻沒辦法,研究了一下Makefile一直往下追,才找到如何請complier 去build新增的檔案。 把source code放在自己想要的資料夾裡面。 然後針對該資料夾下的Makefile (又或者自己知道哪…
喬爾亂記
最近在嘗試build Uboot project, 想要新增新的source file 卻沒辦法,研究了一下Makefile一直往下追,才找到如何請complier 去build新增的檔案。 把source code放在自己想要的資料夾裡面。 然後針對該資料夾下的Makefile (又或者自己知道哪…
build UBoot時 gcc報錯說 variable ‘data’ set but not used [-Werror=unused-but-set-variable] 相關資訊,即便在if function 裡面使用變數依然會報錯。 把Makefile 裡面的build 的參數 -Werror…