CVS: packaging makefile, 1.36, 1.37 mspgcc-full-install.nsi, 1.22, 1.23
"Chris Liechti" <[email protected]> Wed, 31 Dec 2008 02:43:51 +0000
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/packaging
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21230
Modified Files:
makefile mspgcc-full-install.nsi
Log Message:
- install msp430-hexdump tool
- revert back to gdb (no insight)
Index: makefile
===================================================================
RCS file: /cvsroot/mspgcc/packaging/makefile,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -w -d -r1.36 -r1.37
--- makefile 8 Dec 2008 21:23:17 -0000 1.36
+++ makefile 31 Dec 2008 02:43:49 -0000 1.37
@@ -77,11 +77,7 @@
# sites where the files are downloaded from
MIRROR_BINUTILS = ftp://sources.redhat.com/pub/binutils/releases
#MIRROR_BINUTILS = ftp://sources.redhat.com/pub/binutils/snapshots
-ifdef WINDOWS
-MIRROR_GDB = ftp://sources.redhat.com/pub/insight/snapshots/current
-else
-MIRROR_GDB = ftp://sources.redhat.com/pub/insight/releases
-endif
+MIRROR_GDB = ftp://sources.redhat.com/pub/gdb/releases
MIRROR_GCC = ftp://ftp.gnu.org/gnu/gcc
# inernal
@@ -90,7 +86,8 @@
# external tools
NSIS := makensis
-DOWONLOAD := wget
+#~ DOWONLOAD := wget
+DOWONLOAD := python $(PWD)/get.py
ifdef WINDOWS
# file lists are used to build the windows installer
FILELIST := python filelist.py
@@ -143,7 +140,7 @@
@echo " mspgcc patches are located in '$(CVSFILES)'"
@echo " working PATH is set to '$(PATH)'"
@echo ""
- @echo " Versions: $(BINUTILS) $(GCC) insight-$(GDB_VERSION)"
+ @echo " Versions: $(BINUTILS) $(GCC) gdb-$(GDB_VERSION)"
debug:
@echo BUILDDATE = $(BUILDDATE)
@@ -192,8 +189,8 @@
$(ARCHIVES)/gcc-g++-$(GCC_VERSION).tar.bz2:
cd $(ARCHIVES) && $(DOWONLOAD) $(MIRROR_GCC)/gcc-$(GCC_VERSION)/gcc-g++-$(GCC_VERSION).tar.bz2
-$(ARCHIVES)/insight-$(GDB_VERSION).tar.bz2:
- cd $(ARCHIVES) && $(DOWONLOAD) $(MIRROR_GDB)/insight-$(GDB_VERSION).tar.bz2
+$(ARCHIVES)/gdb-$(GDB_VERSION).tar.bz2:
+ cd $(ARCHIVES) && $(DOWONLOAD) $(MIRROR_GDB)/gdb-$(GDB_VERSION).tar.bz2
##############################################################################
#### Build
@@ -288,36 +285,36 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# The debugger
-# provides gdb and insight
+# provides gdb
gdb-clean:
@echo "###############################################################################"
- @echo "## msp430-gdb/insight ($(GDB_VERSION))"
+ @echo "## msp430-gdb ($(GDB_VERSION))"
@echo "###############################################################################"
- rm -rf $(BUILDDIR)/insight-$(GDB_VERSION)
+ rm -rf $(BUILDDIR)/gdb-$(GDB_VERSION)
gdb-build: gdb-clean \
- $(ARCHIVES)/insight-$(GDB_VERSION).tar.bz2
- cd $(BUILDDIR) && tar xjf $(ARCHIVES)/insight-$(GDB_VERSION).tar.bz2
- #~ cd $(BUILDDIR) && mv src insight-$(GDB_VERSION) # needed for snapshot only
+ $(ARCHIVES)/gdb-$(GDB_VERSION).tar.bz2
+ cd $(BUILDDIR) && tar xjf $(ARCHIVES)/gdb-$(GDB_VERSION).tar.bz2
+ #~ cd $(BUILDDIR) && mv src gdb-$(GDB_VERSION) # needed for snapshot only
@echo "## Applying mspgcc patches"
- #~ cp -r $(CVSFILES)/gdb/gdb-$(GDB_VERSION)/* $(BUILDDIR)/insight-$(GDB_VERSION)
- cd $(BUILDDIR)/insight-$(GDB_VERSION) && patch -p1 < $(PATCHES)/msp430-gdb-6.8.patch
- cd $(BUILDDIR)/insight-$(GDB_VERSION) && patch -p1 < $(PATCHES)/msp430-gdb-6.8-fix.patch
- #~ cd $(BUILDDIR)/insight-$(GDB_VERSION) && patch -p1 < $(PATCHES)/insight-6.8-mingw.patch
- #~ cd $(BUILDDIR)/insight-$(GDB_VERSION) && patch -p1 < $(PATCHES)/insight-weekly-20080602-doc.patch # snapshot only
- #~ cd $(BUILDDIR)/insight-$(GDB_VERSION)&& patch -p1 < $(PATCHES)/insight-6.7.1-msp430-20080313.patch
- cd $(BUILDDIR)/insight-$(GDB_VERSION) && patch -p1 < $(PATCHES)/gdb-6.8-430X.patch
- #~ uname -a | grep x86_64 && cd $(BUILDDIR)/insight-$(GDB_VERSION)&& patch -p1 < $(PATCHES)/insight-6.7.1-64bit.patch
- @echo "## Configuring and building msp430-insight (this takes a while)"
- cd $(BUILDDIR)/insight-$(GDB_VERSION)&& ./configure \
+ #~ cp -r $(CVSFILES)/gdb/gdb-$(GDB_VERSION)/* $(BUILDDIR)/gdb-$(GDB_VERSION)
+ cd $(BUILDDIR)/gdb-$(GDB_VERSION) && patch -p1 < $(PATCHES)/msp430-gdb-6.8.patch
+ cd $(BUILDDIR)/gdb-$(GDB_VERSION) && patch -p1 < $(PATCHES)/msp430-gdb-6.8-fix.patch
+ #~ cd $(BUILDDIR)/gdb-$(GDB_VERSION) && patch -p1 < $(PATCHES)/gdb-6.8-mingw.patch
+ #~ cd $(BUILDDIR)/gdb-$(GDB_VERSION) && patch -p1 < $(PATCHES)/gdb-weekly-20080602-doc.patch # snapshot only
+ #~ cd $(BUILDDIR)/gdb-$(GDB_VERSION)&& patch -p1 < $(PATCHES)/gdb-6.7.1-msp430-20080313.patch
+ cd $(BUILDDIR)/gdb-$(GDB_VERSION) && patch -p1 < $(PATCHES)/gdb-6.8-430X.patch
+ #~ uname -a | grep x86_64 && cd $(BUILDDIR)/gdb-$(GDB_VERSION)&& patch -p1 < $(PATCHES)/gdb-6.7.1-64bit.patch
+ @echo "## Configuring and building msp430-gdb (this takes a while)"
+ cd $(BUILDDIR)/gdb-$(GDB_VERSION)&& ./configure \
--enable-targets=msp430 --target=msp430 \
--prefix=$(PREFIX) \
--disable-nls \
>$(BUILDDIR)/gdb-build.log 2>&1
- cd $(BUILDDIR)/insight-$(GDB_VERSION)&& make >>$(BUILDDIR)/gdb-build.log 2>&1
- @echo "## msp430-insight done"
+ cd $(BUILDDIR)/gdb-$(GDB_VERSION)&& make >>$(BUILDDIR)/gdb-build.log 2>&1
+ @echo "## msp430-gdb done"
gdb-install:
$(FILELIST) $(INSTALLDIR) >files-before.txt
- cd $(BUILDDIR)/insight-$(GDB_VERSION); make install >>$(BUILDDIR)/gdb-build.log 2>&1
+ cd $(BUILDDIR)/gdb-$(GDB_VERSION); make install >>$(BUILDDIR)/gdb-build.log 2>&1
$(FILELIST) $(INSTALLDIR) >files-after.txt
$(FILEDIFF) files-before.txt files-after.txt >$(BUILDDIR)/files-gdb.txt
$(FILELIST_RM) files-before.txt files-after.txt
@@ -501,7 +498,7 @@
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# strip executables so that they get smaller
stripfiles:
- @echo "## stipping executables"
+ @echo "## removing debun information from executables (reduce size)"
ifdef WINDOWS
strip $(INSTALLDIR)/bin/*.exe
strip $(INSTALLDIR)/msp430/bin/*.exe
Index: mspgcc-full-install.nsi
===================================================================
RCS file: /cvsroot/mspgcc/packaging/mspgcc-full-install.nsi,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -w -d -r1.22 -r1.23
--- mspgcc-full-install.nsi 4 Jun 2008 02:58:26 -0000 1.22
+++ mspgcc-full-install.nsi 31 Dec 2008 02:43:49 -0000 1.23
@@ -179,6 +179,7 @@
File "${SRCDIR}\bin\msp430-bsl.exe"
File "${SRCDIR}\bin\msp430-jtag.exe"
File "${SRCDIR}\bin\msp430-ram-usage.exe"
+ File "${SRCDIR}\bin\msp430-hexdump.exe"
File "${SRCDIR}\bin\msp430-miniterm.exe"
File "${SRCDIR}\bin\MSP430mspgcc.dll"
File "${SRCDIR}\bin\MSP430.dll"
@@ -416,6 +417,7 @@
Delete "$INSTDIR\bin\msp430-bsl.exe"
Delete "$INSTDIR\bin\msp430-jtag.exe"
Delete "$INSTDIR\bin\msp430-ram-usage.exe"
+ Delete "$INSTDIR\bin\msp430-hexdump.exe"
Delete "$INSTDIR\bin\msp430-miniterm.exe"
Delete "$INSTDIR\bin\MSP430mspgcc.dll"
Delete "$INSTDIR\bin\MSP430.dll"
------------------------------------------------------------------------------