1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
MPH.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Makefile Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
OpenSLES_IID.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.txt Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
frag1.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
frag2.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
frag3.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
hash.sed Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
interfaces.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
part1.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
part4.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
part6.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
part8.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
test.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.txt

This re-generates the file IID_to_MPH.c using gperf.
You need to do this after modifying either OpenSLES_IID.c or MPH.c.

Prerequisites:
 * GNU make
 * GNU gperf perfect hash generator
   $ gperf --version
   GNU gperf 3.0.4
 * GNU sed
   $ sed --version
   GNU sed version 4.2.2

Usage:
Type 'make'.
Diff the old file in ../../src/autogen vs. the newly generated IID_to_MPH.c here.
If the differences look OK, then copy the new IID_to_MPH.c back to
  its stable location in ../../src/autogen using 'make install'.
Build and test the usage of the new IID on host by "make run_test"
*and* on the target by tests/sandbox/engine.c.  The host test
checks all GUIDs, and the target test checks a subset of GUIDs.
Then do 'make clean' or 'make distclean' here.

hashgen is known to work on Linux with GNU gperf 3.0.4 and GNU sed
version 4.2.2.  There are reports of problems on Mac OS X.