From b22db326050db7f69943c7ab1ad2404251907bcc Mon Sep 17 00:00:00 2001 From: sato_masaki Date: Wed, 21 May 2008 06:07:52 +0000 Subject: [PATCH] =?UTF-8?q?nwm=5Ffirm.bin=E3=81=AE=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=B3=E6=83=85=E5=A0=B1=E3=82=92maketad?= =?UTF-8?q?=E3=81=AB=E6=B8=A1=E3=81=99=E3=82=88=E3=81=86=E5=A4=89=E6=9B=B4?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@1436 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/systemMenu_RED/wlanfirm/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/systemMenu_RED/wlanfirm/Makefile b/build/systemMenu_RED/wlanfirm/Makefile index 0a46ca5a..77df807e 100644 --- a/build/systemMenu_RED/wlanfirm/Makefile +++ b/build/systemMenu_RED/wlanfirm/Makefile @@ -31,7 +31,10 @@ MY_FIRM_ROOT_CYG = $(call eupath,$(MY_FIRM_ROOT)) MY_TITLE = HNCA MY_FIRM = $(MY_FIRM_ROOT_CYG)/nwm_firm.bin -MAKETAD_FLAGS += 0003000F484E4341 3031 0 WIRELESS_FW -p +# FWファイルの先頭1バイトに入っているバージョン情報を取得 +MY_VERSION = $(shell perl -e "open(IN,'$(MY_FIRM)');binmode(IN);read(IN, \$$buf, 1);print unpack("C", \$$buf);close(IN);") + +MAKETAD_FLAGS += 0003000F484E4341 3031 $(MY_VERSION) WIRELESS_FW -p #---------------------------------------------------------------------------- MY_TAD = $(MY_TITLE).tad