Home | History | Annotate | only in /frameworks/wilhelm/tools/hashgen
Up to higher level directory
NameDateSize
frag1.c21-Oct-20161.2K
frag2.c21-Oct-2016124
frag3.c21-Oct-20161,016
hash.sed21-Oct-2016101
interfaces.c21-Oct-20163.3K
Makefile21-Oct-20161.6K
MPH.h21-Oct-20165.2K
OpenSLES_IID.c21-Oct-201613K
part1.c21-Oct-20161,012
part4.c21-Oct-201647
part6.c21-Oct-2016134
part8.c21-Oct-2016353
README.txt21-Oct-2016882
test.c21-Oct-20161.5K

README.txt

      1 This re-generates the file IID_to_MPH.c using gperf.
      2 You need to do this after modifying either OpenSLES_IID.c or MPH.c.
      3 
      4 Prerequisites:
      5  * GNU make
      6  * GNU gperf perfect hash generator
      7    $ gperf --version
      8    GNU gperf 3.0.4
      9  * GNU sed
     10    $ sed --version
     11    GNU sed version 4.2.2
     12 
     13 Usage:
     14 Type 'make'.
     15 Diff the old file in ../../src/autogen vs. the newly generated IID_to_MPH.c here.
     16 If the differences look OK, then copy the new IID_to_MPH.c back to
     17   its stable location in ../../src/autogen using 'make install'.
     18 Build and test the usage of the new IID on host by "make run_test"
     19 *and* on the target by tests/sandbox/engine.c.  The host test
     20 checks all GUIDs, and the target test checks a subset of GUIDs.
     21 Then do 'make clean' or 'make distclean' here.
     22 
     23 hashgen is known to work on Linux with GNU gperf 3.0.4 and GNU sed
     24 version 4.2.2.  There are reports of problems on Mac OS X.
     25