Changeset 8c62cf4 in rtems for c/src


Ignore:
Timestamp:
Jun 6, 2018, 2:21:22 PM (18 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
46c2da6
Parents:
3248137
git-author:
Sebastian Huber <sebastian.huber@…> (06/06/18 14:21:22)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/11/18 12:47:32)
Message:

tools: Remove shgen

All tools should be removed from the RTEMS source repository at some
point in time. Tools with a BSD-style license will be moved to the RTEMS
tools repository. Unfortunately, the shgen tool is GPL licensed.

Remove all uses of this tool from the code base. Replace generated files
with stub functions. If users of this BSP still exist, they can
reimplement the functionality using a BSD-style license.

Close #3443.

Location:
c/src/lib/libbsp/sh
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/gensh1/Makefile.am

    r3248137 r8c62cf4  
    1717librtemsbsp_a_SOURCES =
    1818
    19 SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
    20 
    21 scitab.c: $(SHGEN)
    22         $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
    23 BUILT_SOURCES = scitab.c
    24 CLEANFILES = scitab.c
    25 
    2619# startup
    2720librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/start/bspstart.c
     
    3831librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/btimer/btimer.c
    3932# scitab
    40 librtemsbsp_a_SOURCES += scitab.c
     33librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh1/console/scitab.c
    4134# console
    4235librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/console/console.c
  • c/src/lib/libbsp/sh/gensh1/configure.ac

    r3248137 r8c62cf4  
    1414
    1515## bsp-specific options
    16 RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[20000000])
    17 RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ])
    18 
    1916RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
    2017RTEMS_BSPOPTS_HELP([START_HW_INIT],
     
    2219 'bsp_hw_init()' is always called from 'bspstart.c'])
    2320
    24 ## Used in scitab/Makefile.am
    25 AC_SUBST(CPU_CLOCK_RATE_HZ)
    26 
     21AC_DEFINE(CPU_CLOCK_RATE_HZ, 20000000, [cpu clock rate in HZ])
    2722RTEMS_BSP_CLEANUP_OPTIONS
    2823
  • c/src/lib/libbsp/sh/gensh2/Makefile.am

    r3248137 r8c62cf4  
    1919librtemsbsp_a_SOURCES =
    2020
    21 SHGEN = $(PROJECT_TOPdir)/tools/cpu/sh/shgen
    22 
    23 scitab.c: $(SHGEN)
    24         $(SHGEN) -H @CPU_CLOCK_RATE_HZ@ sci > $@
    25 BUILT_SOURCES = scitab.c
    26 CLEANFILES = scitab.c
    27 
    2821# startup
    2922librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/start/hw_init.c
     
    4033librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/btimer/btimer.c
    4134# scitab
    42 librtemsbsp_a_SOURCES += scitab.c
     35librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/gensh2/console/scitab.c
    4336# console
    4437librtemsbsp_a_SOURCES += ../../../../../../bsps/sh/shared/console/console.c
  • c/src/lib/libbsp/sh/gensh2/configure.ac

    r3248137 r8c62cf4  
    1414
    1515## bsp-specific options
    16 RTEMS_BSPOPTS_SET([CPU_CLOCK_RATE_HZ],[*],[29491200])
    17 RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ])
    18 
    19 ## Used in scitab/Makefile.am
    20 AC_SUBST(CPU_CLOCK_RATE_HZ)
     16AC_DEFINE(CPU_CLOCK_RATE_HZ, 29491200, [cpu clock rate in HZ])
    2117
    2218RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
Note: See TracChangeset for help on using the changeset viewer.