CHDK_DE Vorschauversion  Trunk Rev. 5663
 Alle Datenstrukturen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
makefile_sub.inc-Dateireferenz

gehe zum Quellcode dieser Datei

Funktionen

cat grep E *[[:space:][:alpha:](]**sub_ *[0-9A-Fa-f][[:space:]] sed s *** sub_ ([0-9A-Fa-f]*\).*/\1/'|\$(SORT)|uniq|\awk '
 
stubs_auto S ifdef THUMB_FW
allow batch rebuilds without 
ifneq ($(OPT_CAPSTONE_TOOLS), 1) override FORCE_GEN_STUBS
 
 then (FINSIG_EXE)$(TARGET_PRIMARY)$(ROMBASEADDR) stubs_entry.S $(ALT_ROMBASEADDR)
 

Variablen

stubs_auto S ifdef THUMB_FW FINSIG_EXE
 
else echo CAUTION stubs_entry
S is not updated due to target
firmware binary not 
found
 
touch stubs_entry S
 
 fi
 
 if ["X`grep 'ERROR' stubs_entry.S`"!="X"]
 
then grep ERROR stubs_entry S(ESED)"s/\/\/
ERROR else echo bin_compat 
h
 
grep Firmware Ver stubs_entry S awk F ["|@] {printf "\nver_sig_t ver_sigs[]={\n"
 
 str =toupper("$(PLATFORMSUB)")
 
 len =length(str)
 
 str1 =substr(str,1,len-3) "." substr(str,len-2)
 
 printf {(const char *)%s, \"GM%s\"},\n", substr($$5,2), str1
 
awk v ptt
 
 echo
 
echo pid_sig_t pid_sigs []
 

Dokumentation der Funktionen

stubs_auto S ifdef THUMB_FW allow batch rebuilds without ifneq (   $OPT_CAPSTONE_TOOLS,
 
)
override
cat grep E* [[:space:][:alpha:](] * * sub_* [0-9A-Fa-f][[:space:]] sed s* * * sub_ ( [0-9A-Fa-f] *\  )

Definiert in Zeile 108 der Datei makefile_sub.inc.

108  :alpha:]]*[[:space:]][[:space:]]*sub_\([0-9A-Fa-f]*\).*/\1/' | \
109  $(SORT) | uniq | \
110  awk '{if(NF>0){printf("STUB2(%s)\n",$$1)}}' >> stubs_auto.S
then ( FINSIG_EXE  )

Variablen-Dokumentation

echo<< Leaving $(FOLDER)$$i\donedepend-recursive:@foriin $(SUBDIRS) do\echo\> Entering to(FOLDER)$$i

Definiert in Zeile 173 der Datei makefile_sub.inc.

grep Firmware Ver stubs_entry S awk F["|@] {printf "\nver_sig_t ver_sigs[]={\n"

Definiert in Zeile 166 der Datei makefile_sub.inc.

fi

Definiert in Zeile 137 der Datei makefile_sub.inc.

stubs_auto S ifdef THUMB_FW FINSIG_EXE
Initialisierung:
=$(tools)/finsig_thumb2$(EXE)
# capstone tools required to build thumb2 stubs

Definiert in Zeile 113 der Datei makefile_sub.inc.

else echo CAUTION stubs_entry S is not updated due to target firmware binary not found

Definiert in Zeile 135 der Datei makefile_sub.inc.

bin_compat h

Definiert in Zeile 139 der Datei makefile_sub.inc.

if["X`grep 'ERROR' stubs_entry.S`"!="X"]

Definiert in Zeile 138 der Datei makefile_sub.inc.

len =length(str)

Definiert in Zeile 167 der Datei makefile_sub.inc.

echo pid_sig_t pid_sigs[]
Initialisierung:
={" >> bin_compat.h ; \
grep -E -h -s "PLATFORMID.+@" ../../makefile.inc makefile.inc stubs_entry.S | \
$(ESED) 's/(PLATFORMID.+@ *)([0-9xXa-fA-F]+)(.*)/PLATFORMID @ \2/' | \
awk -F'@' '{printf " {(short *)%s, PLATFORMID},\n", substr($$2,2); exit;}' >> bin_compat.h ; \
echo "}

Definiert in Zeile 174 der Datei makefile_sub.inc.

printf {(const char *)%s, \"GM%s\"},\n", substr($$5,2), str1

Definiert in Zeile 168 der Datei makefile_sub.inc.

awk v ptt
Initialisierung:
="^$(PLATFORM),.+,$(PLATFORMSUB)" -F',' '$$0 ~ ptt { str=toupper($$2); \
len=length(str); str1=substr(str,1,len-3) "." substr(str,len-2); \
printf " {(const char *)%s, \"GM%s\"},\n", "$(FWVERADDR)", str1;}' $(topdir)camera_list.csv \
>> bin_compat.h

Definiert in Zeile 169 der Datei makefile_sub.inc.

touch stubs_entry S

Definiert in Zeile 136 der Datei makefile_sub.inc.

str =toupper("$(PLATFORMSUB)")

Definiert in Zeile 167 der Datei makefile_sub.inc.

str1 =substr(str,1,len-3) "." substr(str,len-2)

Definiert in Zeile 167 der Datei makefile_sub.inc.