Changeset 25d457b8 in rtems


Ignore:
Timestamp:
02/18/99 18:16:40 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
52b0d9d
Parents:
38840f7b
Message:

Yet another part of automake VI from Ralf Corsepius <corsepiu@…>:

4) rtems-rc-19990202-0.diff /reorg-score-cpu.sh

reorg-score-cpu.sh reorganizes the cpu/<cpu>/* subdirectories in a
similar manner than previous reorg scripts did. rtems-rc-19990202-0.diff
contains the diffs after reorg-score-cpu.sh has been run on a
rtems-19981215 snapshot + my patches up to rtems-rc-19990131-2.diff.

This patch is rather nasty and may break something. However, I've tested
it for about 10 different target/bsp pairs and believe to have shaken
out most bugs.

I wonder about the following .h files that were not moved:

a29k/asm.h
a29k/cpu_asm.h
i386/asm.h
i960/asm.h
m68k/asm.h
m68k/m68302.h
m68k/m68360.h
m68k/qsm.h
m68k/sim.h
mips64orion/asm.h
mips64orion/cpu_asm.h
mips64orion/mips64orion.h
no_cpu/asm.h
no_cpu/cpu_asm.h
powerpc/asm.h
powerpc/mpc860.h
sh/asm.h
sparc/asm.h
sparc/erc32.h

Files:
49 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/a29k/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 #  Normally cpu_asm and rtems are assembly files
    15 C_PIECES=cpu rtems
    16 C_FILES=$(C_PIECES:%=%.c)
    17 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    18 
    19 H_FILES=$(srcdir)/cpu.h $(srcdir)/a29k.h $(srcdir)/a29ktypes.h
    20 
    21 # H_FILES that get installed externally
    22 EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/amd.ah \
    23       $(srcdir)/pswmacro.ah $(srcdir)/register.ah
    24 
    25 # Assembly source names, if any, go here -- minus the .S
    26 #  Normally cpu_asm and rtems are assembly files
    27 S_PIECES=cpu_asm sig
    28 S_FILES=$(S_PIECES:%=%.S)
    29 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    30 
    31 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    32 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    33 
    34 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    35 include $(RTEMS_ROOT)/make/leaf.cfg
    36 
    37 #
    38 # (OPTIONAL) Add local stuff here using +=
    39 #
    40 
    41 DEFINES  +=
    42 CPPFLAGS +=
    43 CFLAGS   += $(CFLAGS_OS_V)
    44 
    45 LD_PATHS  +=
    46 LD_LIBS   +=
    47 LDFLAGS   +=
    48 
    49 #
    50 # Add your list of files to delete here.  The config files
    51 #  already know how to delete some stuff, so you may want
    52 #  to just run 'make clean' first to see what gets missed.
    53 #  'make clobber' already includes 'make clean'
    54 #
    55 
    56 CLEAN_ADDITIONS +=
    57 CLOBBER_ADDITIONS +=
    58 
    59 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    60         $(INSTALL_VARIANT) -m 444 $(RELS) ${PROJECT_RELEASE}/lib
    61 
    62 $(ARCH)/rtems-cpu.rel: $(OBJS)
    63         $(make-rel)
    64 
    65 # Install the program(s), appending _g or _p as appropriate.
    66 # for include files, just use $(INSTALL)
    67 
    68 preinstall: $(ARCH)
    69         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    70 # we will share the basic cpu file
    71         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    72 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/hppa1.1/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES=$(srcdir)/cpu.h $(srcdir)/hppa.h $(srcdir)/cpu_asm.h \
    19         $(srcdir)/hppatypes.h
    20 
    21 # H_FILES that get installed externally
    22 EXTERNAL_H_FILES =
    23 
    24 # Assembly source names, if any, go here -- minus the .s
    25 S_PIECES=cpu_asm rtems
    26 S_FILES=$(S_PIECES:%=%.S)
    27 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    28 
    29 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    30 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    31 
    32 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    33 include $(RTEMS_ROOT)/make/leaf.cfg
    34 
    35 #
    36 # (OPTIONAL) Add local stuff here using +=
    37 #
    38 
    39 DEFINES  +=
    40 CPPFLAGS := -I$(ARCH) $(CPPFLAGS)
    41 CFLAGS   += $(CFLAGS_OS_V)
    42 
    43 LD_PATHS  +=
    44 LD_LIBS   +=
    45 LDFLAGS   +=
    46 
    47 #
    48 # Add your list of files to delete here.  The config files
    49 #  already know how to delete some stuff, so you may want
    50 #  to just run 'make clean' first to see what gets missed.
    51 #  'make clobber' already includes 'make clean'
    52 #
    53 
    54 CLEAN_ADDITIONS +=
    55 CLOBBER_ADDITIONS +=
    56 
    57 $(ARCH)/offsets.h: $(ARCH) cpu.h $(PROJECT_RELEASE)/bin/genoffsets
    58         $(RM) $@
    59         $(PROJECT_RELEASE)/bin/genoffsets > $@
    60         $(CHMOD) -w $@
    61 
    62 $(ARCH)/rtems-cpu.rel: $(OBJS)
    63         $(make-rel)
    64 
    65 all:  ${ARCH} install-headers preinstall $(RELS)
    66 
    67 preinstall: $(ARCH) $(SRCS) $(ARCH)/offsets.h
    68         $(INSTALL) -m 444 $(ARCH)/offsets.h $(PROJECT_INCLUDE)/rtems/score
    69 
    70 install-headers: $(ARCH)
    71         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    72 # we will share the basic cpu file
    73         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    74 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/i386/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES=$(srcdir)/cpu.h $(srcdir)/i386.h $(srcdir)/i386types.h
    19 
    20 # H_FILES that get installed externally
    21 # i386.h is handled specially
    22 EXTERNAL_H_FILES = $(srcdir)/asm.h
    23 
    24 # Assembly source names, if any, go here -- minus the .S
    25 S_PIECES=cpu_asm rtems
    26 S_FILES=$(S_PIECES:%=%.S)
    27 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    28 
    29 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    30 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    31 
    32 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    33 include $(RTEMS_ROOT)/make/leaf.cfg
    34 
    35 #
    36 # (OPTIONAL) Add local stuff here using +=
    37 #
    38 
    39 DEFINES  +=
    40 CPPFLAGS +=
    41 CFLAGS   += $(CFLAGS_OS_V)
    42 
    43 LD_PATHS  +=
    44 LD_LIBS   +=
    45 LDFLAGS   +=
    46 
    47 #
    48 # Add your list of files to delete here.  The config files
    49 #  already know how to delete some stuff, so you may want
    50 #  to just run 'make clean' first to see what gets missed.
    51 #  'make clobber' already includes 'make clean'
    52 #
    53 
    54 CLEAN_ADDITIONS +=
    55 CLOBBER_ADDITIONS +=
    56 
    57 $(ARCH)/rtems-cpu.rel: $(OBJS)
    58         $(make-rel)
    59 
    60 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    61 
    62 # Install the program(s), appending _g or _p as appropriate.
    63 # for include files, just use $(INSTALL)
    64 install:  all
    65 
    66 preinstall: $(ARCH)
    67         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    68 # we will share the basic cpu file
    69         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    70 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/i960/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES=$(srcdir)/cpu.h $(srcdir)/i960.h $(srcdir)/i960types.h
    19 
    20 # H_FILES that get installed externally
    21 EXTERNAL_H_FILES = $(srcdir)/asm.h
    22 
    23 # Assembly source names, if any, go here -- minus the .S
    24 S_PIECES=cpu_asm rtems
    25 S_FILES=$(S_PIECES:%=%.S)
    26 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    27 
    28 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    29 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    30 
    31 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    32 include $(RTEMS_ROOT)/make/leaf.cfg
    33 
    34 #
    35 # (OPTIONAL) Add local stuff here using +=
    36 #
    37 
    38 DEFINES  +=
    39 CPPFLAGS +=
    40 CFLAGS   += $(CFLAGS_OS_V)
    41 
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
    45 
    46 #
    47 # Add your list of files to delete here.  The config files
    48 #  already know how to delete some stuff, so you may want
    49 #  to just run 'make clean' first to see what gets missed.
    50 #  'make clobber' already includes 'make clean'
    51 #
    52 
    53 CLEAN_ADDITIONS +=
    54 CLOBBER_ADDITIONS +=
    55 
    56 $(ARCH)/rtems-cpu.rel: $(OBJS)
    57         $(make-rel)
    58 
    59 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    60 
    61 # Install the program(s), appending _g or _p as appropriate.
    62 # for include files, just use $(INSTALL)
    63 install:  all
    64 
    65 preinstall: $(ARCH)
    66         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    67 # we will share the basic cpu file
    68         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    69 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/m68k/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu memcpy
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES=$(srcdir)/cpu.h $(srcdir)/m68k.h $(srcdir)/m68ktypes.h
    19 
    20 # H_FILES that get installed externally
    21 EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/m68302.h $(srcdir)/m68360.h \
    22         $(srcdir)/qsm.h $(srcdir)/sim.h
    23 
    24 # Assembly source names, if any, go here -- minus the .S
    25 S_PIECES=cpu_asm rtems
    26 S_FILES=$(S_PIECES:%=%.S)
    27 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    28 
    29 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    30 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    31 
    32 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    33 include $(RTEMS_ROOT)/make/leaf.cfg
    34 
    35 #
    36 # (OPTIONAL) Add local stuff here using +=
    37 #
    38 
    39 DEFINES  +=
    40 CPPFLAGS +=
    41 CFLAGS   += $(CFLAGS_OS_V)
    42 
    43 LD_PATHS  +=
    44 LD_LIBS   +=
    45 LDFLAGS   +=
    46 
    47 #
    48 # Add your list of files to delete here.  The config files
    49 #  already know how to delete some stuff, so you may want
    50 #  to just run 'make clean' first to see what gets missed.
    51 #  'make clobber' already includes 'make clean'
    52 #
    53 
    54 CLEAN_ADDITIONS +=
    55 CLOBBER_ADDITIONS +=
    56 
    57 $(ARCH)/rtems-cpu.rel: $(OBJS)
    58         $(make-rel)
    59 
    60 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    61 
    62 preinstall: $(ARCH)
    63         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    64 # we will share the basic cpu file
    65         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    66 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/mips64orion/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 #  Normally cpu_asm and rtems are assembly files
    15 C_PIECES=cpu rtems
    16 C_FILES=$(C_PIECES:%=%.c)
    17 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    18 
    19 H_FILES=$(srcdir)/cpu.h $(srcdir)/mips64orion.h $(srcdir)/mipstypes.h \
    20         $(srcdir)/idtcpu.h $(srcdir)/iregdef.h $(srcdir)/idtmon.h
    21 
    22 # H_FILES that get installed externally
    23 EXTERNAL_H_FILES = $(srcdir)/asm.h
    24 
    25 # Assembly source names, if any, go here -- minus the .s
    26 #  Normally cpu_asm and rtems are assembly files
    27 S_PIECES=cpu_asm
    28 S_FILES=$(S_PIECES:%=%.S)
    29 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    30 
    31 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    32 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    33 
    34 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    35 include $(RTEMS_ROOT)/make/leaf.cfg
    36 
    37 #
    38 # (OPTIONAL) Add local stuff here using +=
    39 #
    40 
    41 DEFINES  +=
    42 CPPFLAGS +=
    43 CFLAGS   += $(CFLAGS_OS_V)
    44 
    45 LD_PATHS  +=
    46 LD_LIBS   +=
    47 LDFLAGS   +=
    48 
    49 #
    50 # Add your list of files to delete here.  The config files
    51 #  already know how to delete some stuff, so you may want
    52 #  to just run 'make clean' first to see what gets missed.
    53 #  'make clobber' already includes 'make clean'
    54 #
    55 
    56 CLEAN_ADDITIONS +=
    57 CLOBBER_ADDITIONS +=
    58 
    59 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    60         $(INSTALL_VARIANT) -m 444 $(RELS) ${PROJECT_RELEASE}/lib
    61 
    62 $(ARCH)/rtems-cpu.rel: $(OBJS)
    63         $(make-rel)
    64 
    65 # Install the program(s), appending _g or _p as appropriate.
    66 # for include files, just use $(INSTALL)
    67 
    68 preinstall: $(ARCH)
    69         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    70 # we will share the basic cpu file
    71         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    72 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/no_cpu/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 #  Normally cpu_asm and rtems are assembly files
    15 C_PIECES=cpu cpu_asm rtems
    16 C_FILES=$(C_PIECES:%=%.c)
    17 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    18 
    19 H_FILES=$(srcdir)/cpu.h $(srcdir)/no_cpu.h $(srcdir)/no_cputypes.h
    20 
    21 # H_FILES that get installed externally
    22 EXTERNAL_H_FILES = $(srcdir)/asm.h
    23 
    24 # Assembly source names, if any, go here -- minus the .S
    25 #  Normally cpu_asm and rtems are assembly files
    26 S_PIECES=
    27 S_FILES=$(S_PIECES:%=%.S)
    28 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    29 
    30 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    31 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    32 
    33 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    34 include $(RTEMS_ROOT)/make/leaf.cfg
    35 
    36 #
    37 # (OPTIONAL) Add local stuff here using +=
    38 #
    39 
    40 DEFINES  +=
    41 CPPFLAGS +=
    42 CFLAGS   += $(CFLAGS_OS_V)
    43 
    44 LD_PATHS  +=
    45 LD_LIBS   +=
    46 LDFLAGS   +=
    47 
    48 #
    49 # Add your list of files to delete here.  The config files
    50 #  already know how to delete some stuff, so you may want
    51 #  to just run 'make clean' first to see what gets missed.
    52 #  'make clobber' already includes 'make clean'
    53 #
    54 
    55 CLEAN_ADDITIONS +=
    56 CLOBBER_ADDITIONS +=
    57 
    58 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    59 
    60 $(ARCH)/rtems-cpu.rel: $(OBJS)
    61         $(make-rel)
    62 
    63 # Install the program(s), appending _g or _p as appropriate.
    64 # for include files, just use $(INSTALL)
    65 install:  all
    66 
    67 preinstall: $(ARCH)
    68         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    69 # we will share the basic cpu file
    70         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/powerpc/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 #  Normally cpu_asm and rtems are assembly files
    15 C_PIECES=cpu ppccache
    16 C_FILES=$(C_PIECES:%=%.c)
    17 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    18 
    19 H_FILES=$(srcdir)/cpu.h $(srcdir)/ppc.h $(srcdir)/ppctypes.h
    20 
    21 # H_FILES that get installed externally
    22 EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/mpc860.h
    23 
    24 # Assembly source names, if any, go here -- minus the .S
    25 #  Normally cpu_asm and rtems are assembly files
    26 S_PIECES=cpu_asm rtems
    27 S_FILES=$(S_PIECES:%=%.S)
    28 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    29 
    30 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    31 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    32 
    33 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    34 include $(RTEMS_ROOT)/make/leaf.cfg
    35 
    36 #
    37 # (OPTIONAL) Add local stuff here using +=
    38 #
    39 
    40 DEFINES  +=
    41 CPPFLAGS +=
    42 CFLAGS   += $(CFLAGS_OS_V)
    43 
    44 LD_PATHS  +=
    45 LD_LIBS   +=
    46 LDFLAGS   +=
    47 
    48 #
    49 # Add your list of files to delete here.  The config files
    50 #  already know how to delete some stuff, so you may want
    51 #  to just run 'make clean' first to see what gets missed.
    52 #  'make clobber' already includes 'make clean'
    53 #
    54 
    55 CLEAN_ADDITIONS +=
    56 CLOBBER_ADDITIONS +=
    57 
    58 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    59 
    60 $(ARCH)/rtems-cpu.rel: $(OBJS)
    61         $(make-rel)
    62 
    63 $(ARCH)/cpu_asm.o: irq_stub.s
    64 
    65 # Install the program(s), appending _g or _p as appropriate.
    66 # for include files, just use $(INSTALL)
    67 install:  all
    68 
    69 preinstall: $(ARCH)
    70         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    71 # we will share the basic cpu file
    72         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    73 # make a link in case we are not compiling in the source directory
    74         #test -f irq_stub.s || $(LN) -s $(srcdir)/irq_stub.s irq_stub.s
    75 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/sh/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu cpu_asm cpu_isps rtems
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES= \
    19         $(srcdir)/cpu.h \
    20         $(srcdir)/shtypes.h \
    21         $(srcdir)/sh.h \
    22         $(srcdir)/sh_io.h \
    23         $(srcdir)/cpu_isps.h \
    24         $(srcdir)/iosh7030.h
    25 
    26 # H_FILES that get installed externally
    27 EXTERNAL_H_FILES = \
    28         $(srcdir)/asm.h
    29 
    30 # Assembly source names, if any, go here -- minus the .S
    31 #  Normally cpu_asm and rtems are assembly files
    32 S_PIECES=
    33 S_FILES=$(S_PIECES:%=%.S)
    34 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    35 
    36 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    37 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    38 
    39 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    40 include $(RTEMS_ROOT)/make/leaf.cfg
    41 
    42 #
    43 # (OPTIONAL) Add local stuff here using +=
    44 #
    45 
    46 DEFINES  +=
    47 CPPFLAGS +=
    48 CFLAGS   += $(CFLAGS_OS_V)
    49 
    50 LD_PATHS  +=
    51 LD_LIBS   +=
    52 LDFLAGS   +=
    53 
    54 #
    55 # Add your list of files to delete here.  The config files
    56 #  already know how to delete some stuff, so you may want
    57 #  to just run 'make clean' first to see what gets missed.
    58 #  'make clobber' already includes 'make clean'
    59 #
    60 
    61 CLEAN_ADDITIONS +=
    62 CLOBBER_ADDITIONS +=
    63 
    64 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    65 
    66 $(ARCH)/rtems-cpu.rel: $(OBJS)
    67         $(make-rel)
    68 
    69 # Install the program(s), appending _g or _p as appropriate.
    70 # for include files, just use $(INSTALL)
    71 install:  all
    72 
    73 preinstall: $(ARCH)
    74         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    75 # we will share the basic cpu file
    76         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/sparc/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES=$(srcdir)/cpu.h $(srcdir)/sparc.h $(srcdir)/sparctypes.h
    19 
    20 # H_FILES that get installed externally
    21 EXTERNAL_H_FILES = $(srcdir)/asm.h $(srcdir)/erc32.h
    22 
    23 # Assembly source names, if any, go here -- minus the .S
    24 S_PIECES=cpu_asm rtems
    25 S_FILES=$(S_PIECES:%=%.S)
    26 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    27 
    28 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) $(EXTERNAL_H_FILES)
    29 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    30 
    31 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    32 include $(RTEMS_ROOT)/make/leaf.cfg
    33 
    34 #
    35 # (OPTIONAL) Add local stuff here using +=
    36 #
    37 
    38 DEFINES  +=
    39 CPPFLAGS +=
    40 CFLAGS   += $(CFLAGS_OS_V)
    41 
    42 LD_PATHS  +=
    43 LD_LIBS   +=
    44 LDFLAGS   +=
    45 
    46 #
    47 # Add your list of files to delete here.  The config files
    48 #  already know how to delete some stuff, so you may want
    49 #  to just run 'make clean' first to see what gets missed.
    50 #  'make clobber' already includes 'make clean'
    51 #
    52 
    53 CLEAN_ADDITIONS +=
    54 CLOBBER_ADDITIONS +=
    55 
    56 $(ARCH)/rtems-cpu.rel: $(OBJS)
    57         $(make-rel)
    58 
    59 all:    ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS)
    60 
    61 preinstall: $(ARCH)
    62         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    63 # we will share the basic cpu file
    64         $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE)
    65 
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/cpu/unix/Makefile.in

    r38840f7b r25d457b8  
    99PROJECT_ROOT = @PROJECT_ROOT@
    1010
    11 RELS=$(ARCH)/rtems-cpu.rel
     11include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     12include $(RTEMS_ROOT)/make/directory.cfg
    1213
    13 # C source names, if any, go here -- minus the .c
    14 C_PIECES=cpu
    15 C_FILES=$(C_PIECES:%=%.c)
    16 C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
    17 
    18 H_FILES=$(srcdir)/cpu.h $(srcdir)/unix.h $(srcdir)/unixtypes.h
    19 
    20 # Assembly source names, if any, go here -- minus the .S
    21 S_PIECES=
    22 S_FILES=$(S_PIECES:%=%.S)
    23 S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o)
    24 
    25 SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES)
    26 OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES)
    27 
    28 include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
    29 include $(RTEMS_ROOT)/make/leaf.cfg
    30 
    31 #
    32 # (OPTIONAL) Add local stuff here using +=
    33 #
    34 
    35 DEFINES  +=
    36 CPPFLAGS +=
    37 CFLAGS   += $(CFLAGS_OS_V) -DCPU_SYNC_IO $(LIBC_DEFINES)
    38 
    39 LD_PATHS  +=
    40 LD_LIBS   +=
    41 LDFLAGS   +=
    42 
    43 #
    44 # Add your list of files to delete here.  The config files
    45 #  already know how to delete some stuff, so you may want
    46 #  to just run 'make clean' first to see what gets missed.
    47 #  'make clobber' already includes 'make clean'
    48 #
    49 
    50 CLEAN_ADDITIONS +=
    51 CLOBBER_ADDITIONS +=
    52 
    53 $(ARCH)/unixsize.h: $(ARCH) cpu.h $(GENSIZE)
    54         $(RM) $@
    55         $(GENSIZE) > $@
    56         $(CHMOD) -w $@
    57 
    58 $(ARCH)/rtems-cpu.rel: $(OBJS)
    59         $(make-rel)
    60 
    61 all:  ${ARCH} $(SRCS) $(ARCH)/unixsize.h preinstall $(RELS)
    62 
    63 # Install the program(s), appending _g or _p as appropriate.
    64 # for include files, just use $(INSTALL)
    65 install:  all
    66 
    67 preinstall: $(ARCH) $(ARCH)/unixsize.h
    68         $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score
    69         $(INSTALL) -m 444 ${ARCH}/unixsize.h $(PROJECT_INCLUDE)/rtems/score
     14SUB_DIRS = rtems wrap
  • c/src/exec/score/tools/hppa1.1/Makefile.in

    r38840f7b r25d457b8  
    3636DEFINES  +=
    3737CPPFLAGS += -I$(PROJECT_INCLUDE) \
    38             -I$(CPU_DIR)
     38            -I$(CPU_DIR) -I$(srcdir)/$(CPU_DIR)
    3939CFLAGS   +=
    4040
     
    5252all:    ${ARCH} $(SRCS) preinstall $(PGMS)
    5353
    54 # Hack
    55 # we are #including files that haven't been installed yet.
    56 # Make sure they are available.
    57 preinstall: ${ARCH} headers $(SRCS) $(PGMS)
     54preinstall: ${ARCH} $(SRCS) $(PGMS)
    5855        $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin
    59 
    60 headers: FORCE
    61         cd $(CPU_DIR);   $(MAKE) install-headers
    6256
    6357# Install the program(s), appending _g or _p as appropriate.
Note: See TracChangeset for help on using the changeset viewer.