From 7e642bab20011142182cb99f7f627f2ceadd2e62 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 22 Nov 1999 19:27:13 +0000 Subject: Patch rtems-rc-19991117-9.diff from Ralf Corsepius to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib." --- c/src/lib/libbsp/powerpc/dmv177/clock/Makefile.in | 2 +- .../lib/libbsp/powerpc/dmv177/console/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/dmv177/scv64/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/dmv177/sonic/Makefile.in | 2 +- .../lib/libbsp/powerpc/dmv177/startup/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/dmv177/timer/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/dmv177/tod/Makefile.in | 2 +- .../lib/libbsp/powerpc/eth_comm/canbus/Makefile.in | 2 +- .../libbsp/powerpc/eth_comm/console/Makefile.in | 2 +- .../libbsp/powerpc/eth_comm/network/Makefile.in | 2 +- .../lib/libbsp/powerpc/eth_comm/start/Makefile.in | 2 +- .../libbsp/powerpc/eth_comm/startup/Makefile.in | 2 +- .../libbsp/powerpc/helas403/dlentry/Makefile.in | 2 +- .../libbsp/powerpc/helas403/flashentry/Makefile.in | 2 +- .../libbsp/powerpc/helas403/startup/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/mcp750/Makefile.in | 6 ++-- c/src/lib/libbsp/powerpc/mcp750/clock/Makefile.in | 2 +- .../lib/libbsp/powerpc/mcp750/openpic/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/mcp750/pci/Makefile.in | 2 +- .../lib/libbsp/powerpc/mcp750/residual/Makefile.in | 2 +- .../lib/libbsp/powerpc/mcp750/vectors/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/mcp750/wrapup/Makefile.in | 5 +-- .../libbsp/powerpc/motorola_powerpc/Makefile.in | 6 ++-- .../powerpc/motorola_powerpc/clock/Makefile.in | 2 +- .../powerpc/motorola_powerpc/openpic/Makefile.in | 2 +- .../powerpc/motorola_powerpc/pci/Makefile.in | 2 +- .../powerpc/motorola_powerpc/residual/Makefile.in | 2 +- .../powerpc/motorola_powerpc/vectors/Makefile.in | 2 +- .../powerpc/motorola_powerpc/wrapup/Makefile.in | 5 +-- c/src/lib/libbsp/powerpc/mvme2307/Makefile.in | 6 ++-- c/src/lib/libbsp/powerpc/mvme2307/boot/Makefile.in | 34 +++++++++--------- .../lib/libbsp/powerpc/mvme2307/clock/Makefile.in | 36 +++++++++---------- .../libbsp/powerpc/mvme2307/console/Makefile.in | 36 +++++++++---------- .../libbsp/powerpc/mvme2307/include/Makefile.in | 2 +- .../libbsp/powerpc/mvme2307/network/Makefile.in | 38 ++++++++++---------- .../lib/libbsp/powerpc/mvme2307/nvram/Makefile.in | 36 +++++++++---------- c/src/lib/libbsp/powerpc/mvme2307/pci/Makefile.in | 36 +++++++++---------- .../libbsp/powerpc/mvme2307/startup/Makefile.in | 42 ++++++++++++---------- .../lib/libbsp/powerpc/mvme2307/timer/Makefile.in | 36 +++++++++---------- .../lib/libbsp/powerpc/mvme2307/wrapup/Makefile.in | 29 ++++++++------- .../lib/libbsp/powerpc/papyrus/dlentry/Makefile.in | 2 +- .../libbsp/powerpc/papyrus/flashentry/Makefile.in | 2 +- .../lib/libbsp/powerpc/papyrus/startup/Makefile.in | 2 +- .../lib/libbsp/powerpc/ppcn_60x/clock/Makefile.in | 2 +- .../libbsp/powerpc/ppcn_60x/console/Makefile.in | 2 +- .../libbsp/powerpc/ppcn_60x/network/Makefile.in | 2 +- .../lib/libbsp/powerpc/ppcn_60x/nvram/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/ppcn_60x/pci/Makefile.in | 2 +- .../libbsp/powerpc/ppcn_60x/startup/Makefile.in | 6 ++-- .../lib/libbsp/powerpc/ppcn_60x/timer/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/ppcn_60x/tod/Makefile.in | 2 +- .../libbsp/powerpc/ppcn_60x/universe/Makefile.in | 2 +- .../libbsp/powerpc/ppcn_60x/vectors/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/clock/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/console/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/shmsupp/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/startup/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/timer/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/psim/vectors/Makefile.in | 2 +- .../libbsp/powerpc/score603e/PCI_bus/Makefile.in | 2 +- .../lib/libbsp/powerpc/score603e/clock/Makefile.in | 2 +- .../libbsp/powerpc/score603e/console/Makefile.in | 2 +- .../libbsp/powerpc/score603e/startup/Makefile.in | 2 +- .../lib/libbsp/powerpc/score603e/timer/Makefile.in | 2 +- c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in | 2 +- .../libbsp/powerpc/score603e/vectors/Makefile.in | 2 +- .../libbsp/powerpc/score603e/wrapup/Makefile.in | 5 ++- 67 files changed, 235 insertions(+), 229 deletions(-) (limited to 'c/src/lib/libbsp/powerpc') diff --git a/c/src/lib/libbsp/powerpc/dmv177/clock/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/clock/Makefile.in index 78f7cc853c..955f3da65d 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/clock/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/console/Makefile.in index 0833f84096..0aa9c5e725 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/console/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/dmv177/scv64/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/scv64/Makefile.in index 2e6a7b8b20..f303a25dc6 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/scv64/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/scv64/Makefile.in @@ -55,7 +55,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/dmv177/sonic/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/sonic/Makefile.in index 5eabc7636f..e0ce5fb7dc 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/sonic/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/sonic/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.in index 904bdb2c66..1f81024852 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/startup/Makefile.in @@ -64,7 +64,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/dmv177/timer/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/timer/Makefile.in index abd47fc400..cb4f76864e 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/timer/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/timer/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/dmv177/tod/Makefile.in b/c/src/lib/libbsp/powerpc/dmv177/tod/Makefile.in index a87c30d68a..4044f98462 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/tod/Makefile.in +++ b/c/src/lib/libbsp/powerpc/dmv177/tod/Makefile.in @@ -55,7 +55,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in index b0d880a83e..97eb820791 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/canbus/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in index bf4e64ddc4..c2c8b87d4b 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/console/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in index dd528dbab8..06b2475822 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/network/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in index cf0ad8c163..a72b7cb8c0 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/start/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in b/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in index 199c5656be..0067135692 100644 --- a/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/eth_comm/startup/Makefile.in @@ -64,7 +64,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.in b/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.in index c2239ceed2..16c188d93c 100644 --- a/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.in +++ b/c/src/lib/libbsp/powerpc/helas403/dlentry/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.in b/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.in index 7366eac279..4f713b011b 100644 --- a/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.in +++ b/c/src/lib/libbsp/powerpc/helas403/flashentry/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.in b/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.in index 95369e85e7..2d8a716595 100644 --- a/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/helas403/startup/Makefile.in @@ -59,7 +59,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/mcp750/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/Makefile.in index 4cd8161f04..584bb31e28 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/Makefile.in @@ -23,13 +23,13 @@ SRCS = README all: $(SRCS) # We only build the Network library if HAS_NETWORKING was defined -NETWORK_yes_V = dec21140 +NETWORK_yes_V = dec21140 NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) # wrapup is the one that actually builds and installs the library # from the individual .rel files built in other directories -SUBDIRS = clock console include pci residual openpic irq vectors \ - start startup bootloader $(NETWORK) wrapup +SUBDIRS = clock console include pci residual openpic irq vectors start \ + startup bootloader $(NETWORK) wrapup Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mcp750/clock/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/clock/Makefile.in index 2c8535c7f6..b1af70d442 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/clock/Makefile.in @@ -58,7 +58,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/mcp750/openpic/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/openpic/Makefile.in index 39ae3ee773..3b4fc9856b 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/openpic/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/openpic/Makefile.in @@ -60,7 +60,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) preinstall: diff --git a/c/src/lib/libbsp/powerpc/mcp750/pci/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/pci/Makefile.in index 8a975599cb..b09f066481 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/pci/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/pci/Makefile.in @@ -60,7 +60,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) preinstall: diff --git a/c/src/lib/libbsp/powerpc/mcp750/residual/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/residual/Makefile.in index bfa98dde92..d1b0ec1475 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/residual/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/residual/Makefile.in @@ -64,7 +64,7 @@ preinstall: @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) preinstall $(PGM) diff --git a/c/src/lib/libbsp/powerpc/mcp750/vectors/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/vectors/Makefile.in index 05f67fd53f..e37ed7230c 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/vectors/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/vectors/Makefile.in @@ -63,7 +63,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) preinstall: diff --git a/c/src/lib/libbsp/powerpc/mcp750/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/mcp750/wrapup/Makefile.in index 005283840d..15f3d8ddfa 100644 --- a/c/src/lib/libbsp/powerpc/mcp750/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mcp750/wrapup/Makefile.in @@ -14,10 +14,11 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ # We only build the Network library if HAS_NETWORKING was defined -NETWORK_yes_V = dec21140 +NETWORK_yes_V = dec21140 NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) -BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) vectors +BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) \ + vectors GENERIC_PIECES = # bummer; have to use $foreach since % pattern subst rules only replace 1x diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.in index 4cd8161f04..584bb31e28 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/Makefile.in @@ -23,13 +23,13 @@ SRCS = README all: $(SRCS) # We only build the Network library if HAS_NETWORKING was defined -NETWORK_yes_V = dec21140 +NETWORK_yes_V = dec21140 NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) # wrapup is the one that actually builds and installs the library # from the individual .rel files built in other directories -SUBDIRS = clock console include pci residual openpic irq vectors \ - start startup bootloader $(NETWORK) wrapup +SUBDIRS = clock console include pci residual openpic irq vectors start \ + startup bootloader $(NETWORK) wrapup Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/clock/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/clock/Makefile.in index 2c8535c7f6..b1af70d442 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/clock/Makefile.in @@ -58,7 +58,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.in index 39ae3ee773..3b4fc9856b 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.in @@ -60,7 +60,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) preinstall: diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in index 8a975599cb..b09f066481 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.in @@ -60,7 +60,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) preinstall: diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/residual/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/residual/Makefile.in index bfa98dde92..d1b0ec1475 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/residual/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/residual/Makefile.in @@ -64,7 +64,7 @@ preinstall: @$(mkinstalldirs) $(PROJECT_INCLUDE)/bsp @$(INSTALL_CHANGE) -m 644 $(H_FILES) $(PROJECT_INCLUDE)/bsp -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) preinstall $(PGM) diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.in index 05f67fd53f..e37ed7230c 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.in @@ -63,7 +63,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) preinstall: diff --git a/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in index 005283840d..15f3d8ddfa 100644 --- a/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/motorola_powerpc/wrapup/Makefile.in @@ -14,10 +14,11 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ # We only build the Network library if HAS_NETWORKING was defined -NETWORK_yes_V = dec21140 +NETWORK_yes_V = dec21140 NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) -BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) vectors +BSP_PIECES = clock console irq openpic pci residual startup $(NETWORK) \ + vectors GENERIC_PIECES = # bummer; have to use $foreach since % pattern subst rules only replace 1x diff --git a/c/src/lib/libbsp/powerpc/mvme2307/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/Makefile.in index d9fb6223b5..0ef7c0315e 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/Makefile.in @@ -18,7 +18,7 @@ include $(RTEMS_ROOT)/make/directory.cfg INSTALL_CHANGE = @INSTALL_CHANGE@ -SRCS=README +SRCS = README all: $(SRCS) @@ -28,8 +28,8 @@ NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) # wrapup is the one that actually builds and installs the library # from the individual .rel files built in other directories -SUBDIRS=include clock console startup boot \ - nvram timer pci $(NETWORK) wrapup +SUBDIRS = include clock console startup boot nvram timer pci $(NETWORK) \ + wrapup Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/boot/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/boot/Makefile.in index bf47b22464..9da2f8bca0 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/boot/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/boot/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGMS=${ARCH}/start.o +PGMS = ${ARCH}/start.o # C source names, if any, go here -- minus the .c -C_PIECES= -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES=start -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = start +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,13 +39,13 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,8 +57,8 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -all: ${ARCH} $(SRCS) $(OBJS) $(PGM) - $(INSTALL_VARIANT) -m 555 ${PGMS} $(PROJECT_RELEASE)/lib +all: ${ARCH} $(SRCS) $(OBJS) $(PGM) + $(INSTALL_VARIANT) -m 755 ${PGMS} $(PROJECT_RELEASE)/lib Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/clock/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/clock/Makefile.in index 1a774b0fed..033c81024e 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/clock/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGM=${ARCH}/clock.rel +PGM = ${ARCH}/clock.rel # C source names, if any, go here -- minus the .c -C_PIECES=ckinit -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = ckinit +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,13 +39,13 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,13 +57,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/console/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/console/Makefile.in index 1796dad794..5bc442c3ca 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/console/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGM=${ARCH}/console.rel +PGM = ${ARCH}/console.rel # C source names, if any, go here -- minus the .c -C_PIECES=console printk -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = console printk +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,13 +39,13 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,13 +57,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/include/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/include/Makefile.in index e81a30d7c0..7e806bc231 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/include/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/include/Makefile.in @@ -6,7 +6,7 @@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = ../../.. -subdir = powerpc/psim/include +subdir = powerpc/mvme2307/include RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/network/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/network/Makefile.in index 3673fea2ae..a33f6059ba 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/network/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/network/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGM=${ARCH}/network.rel +PGM = ${ARCH}/network.rel # C source names, if any, go here -- minus the .c -C_PIECES=network -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = network +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,14 +39,14 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS \ - -DDIAGNOSTIC -DBOOTP_COMPAT +DEFINES += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \ + -DBOOTP_COMPAT CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -58,13 +58,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/nvram/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/nvram/Makefile.in index 536386244a..d96a043571 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/nvram/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/nvram/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGM=${ARCH}/nvram.rel +PGM = ${ARCH}/nvram.rel # C source names, if any, go here -- minus the .c -C_PIECES=nvram -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = nvram +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,13 +39,13 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,13 +57,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/pci/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/pci/Makefile.in index 851ed096a4..2f75ec04e3 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/pci/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/pci/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGM=${ARCH}/pci.rel +PGM = ${ARCH}/pci.rel # C source names, if any, go here -- minus the .c -C_PIECES=interrupts pci -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = interrupts pci +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,13 +39,13 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,13 +57,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/startup/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/startup/Makefile.in index 78d2020c13..f867d2fcfa 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/startup/Makefile.in @@ -13,39 +13,45 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@:@srcdir@/../../../shared -PGM=${ARCH}/startup.rel +PGM = ${ARCH}/startup.rel # C source names, if any, go here -- minus the .c -C_PIECES=bspclean bsplibc bsppost bspstart main sbrk setvec -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = bspclean bsplibc bsppost bspstart main sbrk setvec +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=linkcmds $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = linkcmds $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg INSTALL_CHANGE = @INSTALL_CHANGE@ +mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs + +INSTALLDIRS = $(PROJECT_RELEASE)/lib + +$(INSTALLDIRS): + @$(mkinstalldirs) $(INSTALLDIRS) # # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,14 +63,14 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/timer/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/timer/Makefile.in index 8811cef356..ad3fbf7357 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/timer/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/timer/Makefile.in @@ -13,22 +13,22 @@ PROJECT_ROOT = @PROJECT_ROOT@ VPATH = @srcdir@ -PGM=${ARCH}/timer.rel +PGM = ${ARCH}/timer.rel # C source names, if any, go here -- minus the .c -C_PIECES=timer -C_FILES=$(C_PIECES:%=%.c) -C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) +C_PIECES = timer +C_FILES = $(C_PIECES:%=%.c) +C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) -H_FILES= +H_FILES = # Assembly source names, if any, go here -- minus the .S -S_PIECES= -S_FILES=$(S_PIECES:%=%.S) -S_O_FILES=$(S_FILES:%.S=${ARCH}/%.o) +S_PIECES = +S_FILES = $(S_PIECES:%=%.S) +S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) -SRCS=$(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) -OBJS=$(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) +SRCS = $(C_FILES) $(CC_FILES) $(H_FILES) $(S_FILES) +OBJS = $(C_O_FILES) $(CC_O_FILES) $(S_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/leaf.cfg @@ -39,13 +39,13 @@ INSTALL_CHANGE = @INSTALL_CHANGE@ # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -57,13 +57,13 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) -all: ${ARCH} $(SRCS) $(PGM) +all: ${ARCH} $(SRCS) $(PGM) # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile -install: all +install: all Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ diff --git a/c/src/lib/libbsp/powerpc/mvme2307/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/mvme2307/wrapup/Makefile.in index 71a609822c..bd170c3339 100644 --- a/c/src/lib/libbsp/powerpc/mvme2307/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/mvme2307/wrapup/Makefile.in @@ -17,10 +17,10 @@ VPATH = @srcdir@ NETWORK_yes_V = network NETWORK = $(NETWORK_$(HAS_NETWORKING)_V) -BSP_PIECES=startup clock console nvram timer pci $(NETWORK) +BSP_PIECES = startup clock console nvram timer pci $(NETWORK) # pieces to pick up out of libcpu/ppc -CPU_PIECES= -GENERIC_PIECES= +CPU_PIECES = +GENERIC_PIECES = include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(RTEMS_ROOT)/make/lib.cfg @@ -29,24 +29,23 @@ INSTALL = @INSTALL@ INSTALL_CHANGE = @INSTALL_CHANGE@ # bummer; have to use $foreach since % pattern subst rules only replace 1x -OBJS=$(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ - $(foreach piece, $(CPU_PIECES), \ - ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \ - $(foreach piece, $(GENERIC_PIECES), \ - ../../../$(piece)/$(ARCH)/$(piece).rel) -LIB=$(ARCH)/libbsp.a +OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ + $(foreach piece, $(CPU_PIECES), \ + ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) $(foreach \ + piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel) +LIB = $(ARCH)/libbsp.a # # (OPTIONAL) Add local stuff here using += # -DEFINES += +DEFINES += CPPFLAGS += -CFLAGS += +CFLAGS += -LD_PATHS += -LD_LIBS += -LDFLAGS += +LD_PATHS += +LD_LIBS += +LDFLAGS += # # Add your list of files to delete here. The config files @@ -61,7 +60,7 @@ CLOBBER_ADDITIONS += $(LIB): ${OBJS} $(make-library) -all: ${ARCH} $(SRCS) $(LIB) +all: ${ARCH} $(SRCS) $(LIB) $(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib $(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs: ../bsp_specs diff --git a/c/src/lib/libbsp/powerpc/papyrus/dlentry/Makefile.in b/c/src/lib/libbsp/powerpc/papyrus/dlentry/Makefile.in index 9928c91c25..be2eb448dc 100644 --- a/c/src/lib/libbsp/powerpc/papyrus/dlentry/Makefile.in +++ b/c/src/lib/libbsp/powerpc/papyrus/dlentry/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/papyrus/flashentry/Makefile.in b/c/src/lib/libbsp/powerpc/papyrus/flashentry/Makefile.in index 61cd2d4701..d3563b6085 100644 --- a/c/src/lib/libbsp/powerpc/papyrus/flashentry/Makefile.in +++ b/c/src/lib/libbsp/powerpc/papyrus/flashentry/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/papyrus/startup/Makefile.in b/c/src/lib/libbsp/powerpc/papyrus/startup/Makefile.in index cc12954d7c..56c55694a1 100644 --- a/c/src/lib/libbsp/powerpc/papyrus/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/papyrus/startup/Makefile.in @@ -59,7 +59,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/clock/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/clock/Makefile.in index b50b6fb996..2b55b9188f 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/clock/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/console/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/console/Makefile.in index 58c5de814c..fa6fe3df13 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/console/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/network/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/network/Makefile.in index b450da0cd9..a827a83240 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/network/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/network/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/nvram/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/nvram/Makefile.in index 94ddcf2257..8137ded65d 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/nvram/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/nvram/Makefile.in @@ -54,7 +54,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/pci/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/pci/Makefile.in index 2e70e72907..9015017e41 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/pci/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/pci/Makefile.in @@ -54,7 +54,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/Makefile.in index be13fbea36..b9c32f2295 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/startup/Makefile.in @@ -16,8 +16,8 @@ VPATH = @srcdir@:@srcdir@/../../../shared PGM = ${ARCH}/startup.rel # C source names, if any, go here -- minus the .c -C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main \ - bootcard bsplibc bsppost gnatinstallhandler +C_PIECES = bspstart bspclean sbrk setvec spurious genpvec swap main bootcard \ + bsplibc bsppost gnatinstallhandler C_FILES = $(C_PIECES:%=%.c) C_O_FILES = $(C_PIECES:%=${ARCH}/%.o) @@ -69,7 +69,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/timer/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/timer/Makefile.in index 34f4eccfe5..40dc357c56 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/timer/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/timer/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/tod/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/tod/Makefile.in index 97793d0c64..2213a35182 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/tod/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/tod/Makefile.in @@ -54,7 +54,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/universe/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/universe/Makefile.in index c1f8c15ea2..523a05f820 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/universe/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/universe/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/ppcn_60x/vectors/Makefile.in b/c/src/lib/libbsp/powerpc/ppcn_60x/vectors/Makefile.in index d5f61a0f12..5a818f6c3a 100644 --- a/c/src/lib/libbsp/powerpc/ppcn_60x/vectors/Makefile.in +++ b/c/src/lib/libbsp/powerpc/ppcn_60x/vectors/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/psim/clock/Makefile.in b/c/src/lib/libbsp/powerpc/psim/clock/Makefile.in index b1ee7164d1..b3dbc0337f 100644 --- a/c/src/lib/libbsp/powerpc/psim/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/psim/clock/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/psim/console/Makefile.in b/c/src/lib/libbsp/powerpc/psim/console/Makefile.in index d4b54a5b31..46cf1b50a9 100644 --- a/c/src/lib/libbsp/powerpc/psim/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/psim/console/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/psim/shmsupp/Makefile.in b/c/src/lib/libbsp/powerpc/psim/shmsupp/Makefile.in index 11de8846bb..eb7611e224 100644 --- a/c/src/lib/libbsp/powerpc/psim/shmsupp/Makefile.in +++ b/c/src/lib/libbsp/powerpc/psim/shmsupp/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/psim/startup/Makefile.in b/c/src/lib/libbsp/powerpc/psim/startup/Makefile.in index 41d579f499..460756543b 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/psim/startup/Makefile.in @@ -64,7 +64,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/psim/timer/Makefile.in b/c/src/lib/libbsp/powerpc/psim/timer/Makefile.in index 9fc354e146..94a4ed775a 100644 --- a/c/src/lib/libbsp/powerpc/psim/timer/Makefile.in +++ b/c/src/lib/libbsp/powerpc/psim/timer/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/psim/vectors/Makefile.in b/c/src/lib/libbsp/powerpc/psim/vectors/Makefile.in index 50779e0991..4c63099352 100644 --- a/c/src/lib/libbsp/powerpc/psim/vectors/Makefile.in +++ b/c/src/lib/libbsp/powerpc/psim/vectors/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in index 81bb4b2ad1..a1fe511540 100644 --- a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in index fe3c1b4bc5..24841d653f 100644 --- a/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in index 47797a5394..cc08bc74a1 100644 --- a/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in @@ -52,7 +52,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in index 22f8900061..9e0fa62c4c 100644 --- a/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in @@ -70,7 +70,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in index 6bab281d6c..a0c030a008 100644 --- a/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in index 56b08c3b4d..acdbe1f105 100644 --- a/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in @@ -58,7 +58,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in index f7663d2cbc..dd1875cee5 100644 --- a/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in @@ -57,7 +57,7 @@ LDFLAGS += CLEAN_ADDITIONS += CLOBBER_ADDITIONS += -${PGM}: ${SRCS} ${OBJS} +$(PGM): ${OBJS} $(make-rel) all: ${ARCH} $(SRCS) $(PGM) diff --git a/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in index e8ce41d7da..4d6988d22c 100644 --- a/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in @@ -21,9 +21,8 @@ GENERIC_PIECES = # bummer; have to use $foreach since % pattern subst rules only replace 1x OBJS = $(foreach piece, $(BSP_PIECES), $(wildcard ../$(piece)/$(ARCH)/*.o)) \ $(foreach piece, $(CPU_PIECES), \ - ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) \ - $(foreach piece, $(GENERIC_PIECES), \ - ../../../$(piece)/$(ARCH)/$(piece).rel) + ../../../../libcpu/$(RTEMS_CPU)/$(piece)/$(ARCH)/$(piece).rel) $(foreach \ + piece, $(GENERIC_PIECES), ../../../$(piece)/$(ARCH)/$(piece).rel) LIB = $(ARCH)/libbsp.a include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -- cgit v1.2.3