2007年10月1日 星期一

[WindowsCE小技巧] Build出來的東西沒有在image裡

好像常會發生,都是prebuild搞的鬼...
  1. Copy your binary, symbols, map into %_FLATRELEASEDIR%
  2. Find out what package your file is in
    1. Cd %_FLATRELEASEDIR%
    2. "findstr /i [your filename] *.bsm.xml" Ex: findstr /i nk.exe *.bsm.xml
  3. This should return a package's xml file, for example oemxipkernel.bsm.xml. This tells you that it's in the OS package.
  4. Find the prebuilt package and delete it
    1. cd prebuilt
    2. del oemxipkernel.cab.pkg
  5. Makeimg
詳全文

2 則留言:

Unknown 提到...

不太懂?為甚麼把prebuild裡面的東西殺掉就可以了?
是因為prebuild裡面是舊的檔案嗎?

shl 提到...

如果有殘留prebuild的binary,就會被直接複製到release裡,而沒有先去build,應該是build的過程的問題才會這樣。