[examples-v2 commit] file_io/crc/Makefile: Update to match wscript

Joel Sherrill joel at rtems.org
Sun Oct 14 21:20:35 UTC 2018


Module:    examples-v2
Branch:    master
Commit:    c1e8df1079b435c07be782e1d045a4d2f3966069
Changeset: http://git.rtems.org/examples-v2/commit/?id=c1e8df1079b435c07be782e1d045a4d2f3966069

Author:    Joel Sherrill <joel at rtems.org>
Date:      Sun Oct 14 16:13:17 2018 -0500

file_io/crc/Makefile: Update to match wscript

---

 file_io/crc/Makefile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/file_io/crc/Makefile b/file_io/crc/Makefile
index 29dc67b..c632fe2 100644
--- a/file_io/crc/Makefile
+++ b/file_io/crc/Makefile
@@ -8,11 +8,11 @@ PGM=${ARCH}/crc.exe
 MANAGERS=all
 
 # C source names
-CSRCS = crc_32.c init.c FilesystemImage.c
+CSRCS = crc_32.c init.c fs-root-tar.c
 COBJS = $(CSRCS:%.c=${ARCH}/%.o)
 
 CLEAN_ADDITIONS += stamp-fs-image
-CLEAN_ADDITIONS += FilesystemImage FilesystemImage.c FilesystemImage.h
+CLEAN_ADDITIONS += fs-root-tar fs-root-tar.c fs-root-tar.h
 
 include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
 include $(RTEMS_CUSTOM)
@@ -24,15 +24,15 @@ all:    ${ARCH} $(OBJS) $(PGM)
 
 $(ARCH)/init.o: init.c stamp-fs-image
 
-$(ARCH)/FilesystemImage.o: stamp-fs-image FilesystemImage.c FilesystemImage.h
+$(ARCH)/fs-root-tar.o: stamp-fs-image fs-root-tar.c fs-root-tar.h
 
-FilesystemImage: $(ARCH) rootfs/image.img
+fs-root-tar: $(ARCH) rootfs/image.img
 	cd rootfs ; \
-	    tar cf ../FilesystemImage --exclude CVS --exclude .cvsignore .
+	    tar cf ../fs-root-tar --exclude CVS --exclude .cvsignore .
 
-stamp-fs-image: $(ARCH) FilesystemImage
-	$(PROJECT_ROOT)/bin/rtems-bin2c FilesystemImage FilesystemImage
-	ls -l Filesystem*
+stamp-fs-image: $(ARCH) fs-root-tar
+	rtems-bin2c fs-root-tar fs-root-tar
+	ls -l fs-root-tar*
 	touch stamp-fs-image
 
 $(PGM): $(OBJS)




More information about the vc mailing list