summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-01 13:41:54 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-02-01 13:41:54 +0000
commit847dbbe6c70c6695803252b9f5132d777f9df3e7 (patch)
treee416d082e139ce4bc47ba202e21c1c51c483c233 /c/src/lib/libbsp/m68k
parentRemoved references to non-existent include files. (diff)
downloadrtems-847dbbe6c70c6695803252b9f5132d777f9df3e7.tar.bz2
Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that contains: * The fix for the gen68360/network/Makefile.am * automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :). * automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus) NOTES: * This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet). * This patch is against rtem-cvs as of this morning (MET). To apply: patch -p1 <rtems-rc-20000118-5.diff cvs rm -f ./c/src/lib/libbsp/Makefile.in cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in cvs rm -f ./c/src/lib/libcpu/Makefile.in cvs add ./c/src/lib/libbsp/Makefile.am cvs add ./c/src/lib/libbsp/shmdr/Makefile.am cvs add ./c/src/lib/libcpu/Makefile.am ./bootstrap
Diffstat (limited to 'c/src/lib/libbsp/m68k')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/network/Makefile.am19
-rw-r--r--c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile.am12
2 files changed, 16 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/network/Makefile.am b/c/src/lib/libbsp/m68k/gen68360/network/Makefile.am
index 7820f54b01..f5371f1f95 100644
--- a/c/src/lib/libbsp/m68k/gen68360/network/Makefile.am
+++ b/c/src/lib/libbsp/m68k/gen68360/network/Makefile.am
@@ -4,15 +4,12 @@
AUTOMAKE_OPTIONS = foreign 1.4
-PGM = ${ARCH}/network.rel
+PGM = $(ARCH)/network.rel
C_FILES = network.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
-
-H_FILES =
-noinst_HEADERS = $(H_FILES)
-
-network_rel_OBJECTS = $(C_O_FILES)
+C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
+
+OBJS = $(C_O_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../../automake/lib.am
@@ -23,14 +20,16 @@ include $(top_srcdir)/../../../../../../automake/lib.am
AM_CPPFLAGS += -D__INSIDE_RTEMS_BSD_TCPIP_STACK__
-$(PGM): ${network_rel_OBJECTS}
+$(PGM): $(OBJS)
$(make-rel)
+# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+
if HAS_NETWORKING
-all-local: ${ARCH} $(PGM)
+all-local: $(ARCH) $(OBJS) $(PGM)
endif
-# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+.PRECIOUS: $(PGM)
EXTRA_DIST = network.c
diff --git a/c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile.am b/c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile.am
index 0591d294b2..e115697f7e 100644
--- a/c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile.am
+++ b/c/src/lib/libbsp/m68k/mvme136/shmsupp/Makefile.am
@@ -4,10 +4,10 @@
AUTOMAKE_OPTIONS = foreign 1.4
-PGM = ${ARCH}/shmsupp.rel
+PGM = $(ARCH)/shmsupp.rel
C_FILES = addrconv.c getcfg.c lock.c mpisr.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
+C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
OBJS = $(C_O_FILES)
@@ -18,14 +18,16 @@ include $(top_srcdir)/../../../../../../automake/lib.am
# (OPTIONAL) Add local stuff here using +=
#
-$(PGM): ${OBJS}
+$(PGM): $(OBJS)
$(make-rel)
+# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+
if HAS_MP
-all-local: ${ARCH} $(OBJS) $(PGM)
+all-local: $(ARCH) $(OBJS) $(PGM)
endif
-# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
+.PRECIOUS: $(PGM)
EXTRA_DIST = addrconv.c getcfg.c lock.c mpisr.c