• Alessandro Rubini's avatar
    Support E2E build without P2P. Saves 5kB in wrpc-sw · 3542ae48
    Alessandro Rubini authored
    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's avatarAlessandro Rubini <rubini@gnudd.com>
    3542ae48
Name
Last commit
Last update
..
include/arch Loading commit data...
Makefile Loading commit data...
wrc_ptp_ppsi.c Loading commit data...
wrpc-calibration.c Loading commit data...
wrpc-io.c Loading commit data...
wrpc-spll.c Loading commit data...
wrpc.h Loading commit data...