Support E2E build without P2P. Saves 5kB in wrpc-sw
Here in ppsi,
./MAKEALL wrpc_defconfig wrpc_pdelay_defconfig
shows a very small difference, but most pdelay code is then
discarded by the wrpc-sw link time, due to --gc-sections.
This is the result:
laptopo% ./MAKEALL spec_defconfig spec_pdelay_defconfig
##### Building with 'spec_defconfig'
/opt/lm32-gcc-4.5.3/bin/lm32-elf-ar: creating libsdbfs.a
text data bss dec hex filename
87688 3492 6352 97532 17cfc wrc.elf
##### Building with 'spec_pdelay_defconfig'
/opt/lm32-gcc-4.5.3/bin/lm32-elf-ar: creating libsdbfs.a
text data bss dec hex filename
93140 3492 6360 102992 19250 wrc.elf
What is missing now is the run-time choice between e2e and p2p. Later....
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment