forked from Imagelibrary/rtems
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add preinstallation dirstamp support. * clock/Makefile.am: Cosmetics. * console/Makefile.am: Cosmetics. * ide/Makefile.am: Cosmetics. * irq/Makefile.am: Add preinstallation dirstamp support. * network/Makefile.am: Cosmetics. * startup/Makefile.am: Cosmetics. * vectors/Makefile.am: Add preinstallation dirstamp support. * wrapup/Makefile.am: Cosmetics.
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
* Makefile.am: Add preinstallation dirstamp support.
|
||||||
|
* clock/Makefile.am: Cosmetics.
|
||||||
|
* console/Makefile.am: Cosmetics.
|
||||||
|
* ide/Makefile.am: Cosmetics.
|
||||||
|
* irq/Makefile.am: Add preinstallation dirstamp support.
|
||||||
|
* network/Makefile.am: Cosmetics.
|
||||||
|
* startup/Makefile.am: Cosmetics.
|
||||||
|
* vectors/Makefile.am: Add preinstallation dirstamp support.
|
||||||
|
* wrapup/Makefile.am: Cosmetics.
|
||||||
|
|
||||||
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2003-12-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* clock/Makefile.am: Remove all-local: $(ARCH).
|
* clock/Makefile.am: Remove all-local: $(ARCH).
|
||||||
|
|||||||
@@ -20,25 +20,26 @@ all-local: $(PREINSTALL_FILES)
|
|||||||
|
|
||||||
EXTRA_DIST = times
|
EXTRA_DIST = times
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp:
|
$(PROJECT_INCLUDE)/bsp/$(dirstamp):
|
||||||
@$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
|
@$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp
|
@: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp/mbx.h: include/mbx.h
|
$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h $(PROJECT_INCLUDE)/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $@
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/coverhd.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/bsp/mbx.h: include/mbx.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/mbx.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mbx.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/mbx.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp/commproc.h: include/commproc.h
|
$(PROJECT_INCLUDE)/bsp/commproc.h: include/commproc.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $@
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/commproc.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/commproc.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/commproc.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp/8xx_immap.h: include/8xx_immap.h
|
$(PROJECT_INCLUDE)/bsp/8xx_immap.h: include/8xx_immap.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
$(INSTALL_DATA) $< $@
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/8xx_immap.h
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/8xx_immap.h
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/8xx_immap.h
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/coverhd.h: include/coverhd.h
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/coverhd.h
|
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/subdirs.am
|
include $(top_srcdir)/../../../../automake/subdirs.am
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../shared/clock
|
VPATH = @srcdir@:@srcdir@/../../shared/clock
|
||||||
|
|
||||||
C_FILES = p_clock.c
|
C_FILES = p_clock.c
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
PGM = $(ARCH)/console.rel
|
PGM = $(ARCH)/console.rel
|
||||||
|
|
||||||
C_FILES = console.c
|
C_FILES = console.c
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## Makefile.am,v 1.5 2002/08/11 06:59:03 ralf Exp
|
## Makefile.am,v 1.5 2002/08/11 06:59:03 ralf Exp
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
PGM = # $(ARCH)/console.rel
|
PGM = # $(ARCH)/console.rel
|
||||||
|
|
||||||
C_FILES = idecfg.c pcmcia_ide.c
|
C_FILES = idecfg.c pcmcia_ide.c
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
C_FILES = irq.c irq_init.c
|
C_FILES = irq.c irq_init.c
|
||||||
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
@@ -15,18 +14,6 @@ OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
|
|||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
include $(top_srcdir)/../../../../automake/lib.am
|
include $(top_srcdir)/../../../../automake/lib.am
|
||||||
|
|
||||||
$(PROJECT_INCLUDE):
|
|
||||||
$(mkinstalldirs) $@
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp:
|
|
||||||
$(mkinstalldirs) $@
|
|
||||||
|
|
||||||
$(PROJECT_INCLUDE)/bsp/%.h: %.h
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \
|
|
||||||
$(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# (OPTIONAL) Add local stuff here using +=
|
# (OPTIONAL) Add local stuff here using +=
|
||||||
#
|
#
|
||||||
@@ -40,4 +27,15 @@ all-local: $(PREINSTALL_FILES) $(OBJS) $(PGM)
|
|||||||
|
|
||||||
EXTRA_DIST = irq.c irq_asm.S irq_init.c
|
EXTRA_DIST = irq.c irq_asm.S irq_init.c
|
||||||
|
|
||||||
|
PREINSTALL_FILES =
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/bsp/$(dirstamp):
|
||||||
|
@$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
|
||||||
|
@: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/bsp/irq.h: irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
PGM = $(ARCH)/network.rel
|
PGM = $(ARCH)/network.rel
|
||||||
|
|
||||||
C_FILES = network.c
|
C_FILES = network.c
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
VPATH = @srcdir@:@srcdir@/../../../shared
|
VPATH = @srcdir@:@srcdir@/../../../shared
|
||||||
|
|
||||||
PGM = $(ARCH)/startup.rel
|
PGM = $(ARCH)/startup.rel
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
## $Id$
|
## $Id$
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|
||||||
C_FILES = vectors_init.c
|
C_FILES = vectors_init.c
|
||||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
||||||
|
|
||||||
@@ -24,16 +23,17 @@ include $(top_srcdir)/../../../../automake/lib.am
|
|||||||
$(PGM): $(OBJS)
|
$(PGM): $(OBJS)
|
||||||
$(make-rel)
|
$(make-rel)
|
||||||
|
|
||||||
$(PROJECT_INCLUDE):
|
|
||||||
$(mkinstalldirs) $@
|
|
||||||
$(PROJECT_INCLUDE)/bsp:
|
|
||||||
$(mkinstalldirs) $@
|
|
||||||
$(PROJECT_INCLUDE)/bsp/%.h: %.h
|
|
||||||
$(INSTALL_DATA) $< $@
|
|
||||||
|
|
||||||
PREINSTALL_FILES = $(PROJECT_INCLUDE)/bsp \
|
|
||||||
$(include_bsp_HEADERS:%=$(PROJECT_INCLUDE)/bsp/%)
|
|
||||||
|
|
||||||
all-local: $(PREINSTALL_FILES) $(OBJS)
|
all-local: $(PREINSTALL_FILES) $(OBJS)
|
||||||
|
|
||||||
|
PREINSTALL_FILES =
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/bsp/$(dirstamp):
|
||||||
|
@$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp
|
||||||
|
@: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
|
||||||
|
$(PROJECT_INCLUDE)/bsp/vectors.h: vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
|
||||||
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
|
||||||
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/local.am
|
include $(top_srcdir)/../../../../automake/local.am
|
||||||
|
|||||||
@@ -13,10 +13,11 @@ BSP_PIECES = clock irq ide startup console vectors $(NETWORKING)
|
|||||||
# mpc8xx/mmu mpc8xx/timer mpc8xx/vectors
|
# mpc8xx/mmu mpc8xx/timer mpc8xx/vectors
|
||||||
|
|
||||||
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
# bummer; have to use $foreach since % pattern subst rules only replace 1x
|
||||||
OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.$(OBJEXT))) \
|
OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard \
|
||||||
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
|
../$(piece)/$(ARCH)/*.$(OBJEXT))) $(wildcard \
|
||||||
../@exceptions@/$(ARCH)/rtems-cpu.rel \
|
../../../../libcpu/$(RTEMS_CPU)/shared/*/$(ARCH)/*.$(OBJEXT)) \
|
||||||
$(wildcard ../../../../libcpu/$(RTEMS_CPU)/mpc8xx/*/$(ARCH)/*.$(OBJEXT))
|
../@exceptions@/$(ARCH)/rtems-cpu.rel $(wildcard \
|
||||||
|
../../../../libcpu/$(RTEMS_CPU)/mpc8xx/*/$(ARCH)/*.$(OBJEXT))
|
||||||
LIB = $(ARCH)/libbsp.a
|
LIB = $(ARCH)/libbsp.a
|
||||||
|
|
||||||
include $(top_srcdir)/../../../../automake/compile.am
|
include $(top_srcdir)/../../../../automake/compile.am
|
||||||
|
|||||||
Reference in New Issue
Block a user