mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
Makefiles in much better shape even though not all files have automatically
generated menus yet.
This commit is contained in:
@@ -18,11 +18,10 @@ all: html info ps
|
||||
dirs:
|
||||
$(make-dirs)
|
||||
|
||||
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi \
|
||||
../../common/timing.texi
|
||||
COMMON_FILES=../../common/cpright.texi ../../common/setup.texi
|
||||
|
||||
GENERATED_FILES= \
|
||||
wksheets.texi
|
||||
timing.texi wksheets.texi
|
||||
|
||||
FILES= $(PROJECT).texi \
|
||||
bsp.texi callconv.texi cpumodel.texi cputable.texi fatalerr.texi \
|
||||
@@ -53,21 +52,21 @@ replace: timedata.texi
|
||||
# Chapters which get automatic processing
|
||||
#
|
||||
|
||||
# CPU Model
|
||||
# Calling Conventions
|
||||
# Memory Model
|
||||
|
||||
# Interrupt Chapter:
|
||||
# 1. Replace Times and Sizes
|
||||
# 2. Build Node Structure
|
||||
|
||||
intr.texi: intr.t SIS_TIMES
|
||||
${REPLACE} -p SIS_TIMES intr.t
|
||||
mv intr.t.fixed intr.texi
|
||||
|
||||
timetbl.t: ../../common/timetbl.t
|
||||
sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
|
||||
<../../common/timetbl.t >timetbl.t
|
||||
|
||||
timetbl.texi: timetbl.t SIS_TIMES
|
||||
${REPLACE} -p SIS_TIMES timetbl.t
|
||||
mv timetbl.t.fixed timetbl.texi
|
||||
|
||||
timedata.texi: timedata.t SIS_TIMES
|
||||
${REPLACE} -p SIS_TIMES timedata.t
|
||||
mv timedata.t.fixed timedata.texi
|
||||
# Fatal Error
|
||||
# BSP
|
||||
# CPU Table
|
||||
|
||||
# Worksheets Chapter:
|
||||
# 1. Obtain the Shared File
|
||||
@@ -84,7 +83,33 @@ wksheets.t: wksheets_NOTIMES.t SIS_TIMES
|
||||
wksheets.texi: wksheets.t Makefile
|
||||
$(BMENU) -p "Processor Dependent Information Table CPU Dependent Information Table" \
|
||||
-u "Top" \
|
||||
-n "ERC32 Timing Data" ${*}.t
|
||||
-n "Timing Specification" ${*}.t
|
||||
|
||||
# Timing Specification Chapter:
|
||||
# 1. Copy the Shared File
|
||||
# 3. Build Node Structure
|
||||
|
||||
timing.t: ../../common/timing.t
|
||||
cp ../../common/timing.t timing.t
|
||||
|
||||
timing.texi: timing.t Makefile
|
||||
$(BMENU) -p "Memory Requirements RTEMS RAM Workspace Worksheet" \
|
||||
-u "Top" \
|
||||
-n "ERC32 Timing Data" ${*}.t
|
||||
|
||||
# Timing Chapter
|
||||
|
||||
timetbl.t: ../../common/timetbl.t
|
||||
sed -e 's/TIMETABLE_NEXT_LINK/Command and Variable Index/' \
|
||||
<../../common/timetbl.t >timetbl.t
|
||||
|
||||
timetbl.texi: timetbl.t SIS_TIMES
|
||||
${REPLACE} -p SIS_TIMES timetbl.t
|
||||
mv timetbl.t.fixed timetbl.texi
|
||||
|
||||
timedata.texi: timedata.t SIS_TIMES
|
||||
${REPLACE} -p SIS_TIMES timedata.t
|
||||
mv timedata.t.fixed timedata.texi
|
||||
|
||||
html: dirs $(FILES)
|
||||
-mkdir -p $(WWW_INSTALL)/c_$(PROJECT)
|
||||
@@ -97,6 +122,6 @@ clean:
|
||||
rm -f $(PROJECT) $(PROJECT)-*
|
||||
rm -f c_sparc c_sparc-*
|
||||
rm -f timedata.texi timetbl.texi intr.texi $(GENERATED_FILES)
|
||||
rm -f timetbl.t wksheets.t wksheets_NOTIMES.t
|
||||
rm -f timetbl.t wksheets.t wksheets_NOTIMES.t timing.t
|
||||
rm -f *.fixed _*
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ END-INFO-DIR-ENTRY
|
||||
@include bsp.texi
|
||||
@include cputable.texi
|
||||
@include wksheets.texi
|
||||
@include ../../common/timing.texi
|
||||
@include timing.texi
|
||||
@include timedata.texi
|
||||
@ifinfo
|
||||
@node Top, Preface, (dir), (dir)
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
@end tex
|
||||
|
||||
@ifinfo
|
||||
@node ERC32 Timing Data, ERC32 Timing Data Introduction, Memory Requirements RTEMS RAM Workspace Worksheet, Top
|
||||
@node ERC32 Timing Data, ERC32 Timing Data Introduction, Timing Specification Terminology, Top
|
||||
@end ifinfo
|
||||
@chapter ERC32 Timing Data
|
||||
@ifinfo
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
@end tex
|
||||
|
||||
@ifinfo
|
||||
@node ERC32 Timing Data, ERC32 Timing Data Introduction, Memory Requirements RTEMS RAM Workspace Worksheet, Top
|
||||
@node ERC32 Timing Data, ERC32 Timing Data Introduction, Timing Specification Terminology, Top
|
||||
@end ifinfo
|
||||
@chapter ERC32 Timing Data
|
||||
@ifinfo
|
||||
|
||||
Reference in New Issue
Block a user