1. 23 Apr, 2013 18 commits
  2. 08 Apr, 2013 1 commit
  3. 02 Apr, 2013 7 commits
  4. 25 Mar, 2013 1 commit
  5. 21 Mar, 2013 8 commits
  6. 20 Mar, 2013 3 commits
    • Alessandro Rubini's avatar
      arch-wrpc: update wrc_ptp_ppsi.c · 59eb85c3
      Alessandro Rubini authored
      This new file needs some updates over what we imported from wrpc-sw,
      because we now have pp_globals (in preparation for multi-link, thanks
      Aurelio).
      
      The commit also makes a little order in the inclusions of this file,
      removing unneeded stuff and grouping hardware-related headers.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      59eb85c3
    • Alessandro Rubini's avatar
      arch-wrpc: add material to wrpc.h · de98570d
      Alessandro Rubini authored
      These few lines are a copy of "wrc_ptp.h" as found in ptp-noposix.
      They are added here because they are the prototypes of now-local
      functions, and little more.
      
      Including the file from wrpc-sw would have required another -I
      directory, and I'd better not.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      de98570d
    • Alessandro Rubini's avatar
      arch-wrpc: wrc_ptp_ppsi.c copied from wrpc-sw · 66b59234
      Alessandro Rubini authored
      This file comes from commit e00d99f of wrpc-sw.  It used to live there
      as an alternative to wrc_ptp_noposix.c, as a top-level entry point to
      the ptp engine.
      
      However, ppsi is quite a moving target these months, and most
      improvements in modularity of ppsi require a change in the top-level
      file (like we change the main and startup files in the other
      architectures).
      
      Thus, this commit brings the file into ppsi (and wrpc-sw will remove
      it when using this version of ppsi as submodule) so we can be work
      on this repository and build-test everything with no effort, saving us
      from always committing to wrpc-sw as well.
      
      Note: this commit copies the file unchanged, and doesn't even try to
      build it; later commits make the required adjustments to finally build
      it.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      Acked-by: Aurelio Colosimo's avatarAurelio Colosimo <aurelio@aureliocolosimo.it>
      66b59234
  7. 19 Mar, 2013 2 commits
    • Alessandro Rubini's avatar
      Makefiles: fix bare builds under newer compilers · 35d1e583
      Alessandro Rubini authored
      While building under ubuntu-12.04 (64 bits, at least), bare builds
      were failing because of undefined "__stack_chk_fail" and "__strcpy_chk".
      
      The former is fixed by passing -ffreestanding to the build of pp_printf
      (i.e., we now export CFLAGS in the toplevel Makefile), amd the latter
      is fixing by preventing use of the inline printf function when building
      for bare architectures.
      
      This is from the manpage of gcc under ubuntu-12.04:
      
           NOTE: In Ubuntu 8.10 and later versions, -D_FORTIFY_SOURCE=2 is set
           by default, and is activated when -O is set to 2 or higher.  This
           enables additional compile-time and run-time checks for several
           libc functions.  To disable, specify either -U_FORTIFY_SOURCE or
           -D_FORTIFY_SOURCE=0.
      
      Thanks Aurelio for reporting ./MAKEALL was failing.
      Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
      35d1e583
    • Alessandro Rubini's avatar
      7573f2d5