|
From: <ba...@us...> - 2006-11-24 17:39:38
|
Revision: 383
http://svn.sourceforge.net/cadcdev/?rev=383&view=rev
Author: bardtx
Date: 2006-11-24 09:38:32 -0800 (Fri, 24 Nov 2006)
Log Message:
-----------
Fix commented out paths in dc-chain (thanks Christian Henz)
Modified Paths:
--------------
kos/utils/dc-chain/Makefile
Modified: kos/utils/dc-chain/Makefile
===================================================================
--- kos/utils/dc-chain/Makefile 2006-11-12 23:27:53 UTC (rev 382)
+++ kos/utils/dc-chain/Makefile 2006-11-24 17:38:32 UTC (rev 383)
@@ -71,15 +71,12 @@
# ---- build {{{
build: build-sh4 build-arm
-# build-sh4: build-sh4-binutils build-sh4-gcc
-build-sh4: build-sh4-gcc
+build-sh4: build-sh4-binutils build-sh4-gcc
build-arm: build-arm-binutils build-arm-gcc
-# build-sh4-gcc: build-sh4-gcc-pass1 build-sh4-newlib build-sh4-gcc-pass2
-build-sh4-gcc: build-sh4-newlib build-sh4-gcc-pass2
+build-sh4-gcc: build-sh4-gcc-pass1 build-sh4-newlib build-sh4-gcc-pass2
build-arm-gcc: build-arm-gcc-pass1
$(clean_arm_hack)
-#build-sh4-newlib: build-sh4-newlib-only fixup-sh4-newlib
-build-sh4-newlib: fixup-sh4-newlib
+build-sh4-newlib: build-sh4-newlib-only fixup-sh4-newlib
# Ensure that, no matter where we enter, prefix and target are set correctly.
build_sh4_targets=build-sh4-binutils build-sh4-gcc build-sh4-gcc-pass1 build-sh4-newlib build-sh4-newlib-only build-sh4-gcc-pass2
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <at...@us...> - 2007-07-18 18:16:59
|
Revision: 421
http://svn.sourceforge.net/cadcdev/?rev=421&view=rev
Author: atani
Date: 2007-07-18 11:16:53 -0700 (Wed, 18 Jul 2007)
Log Message:
-----------
default paths update
Modified Paths:
--------------
kos/utils/dc-chain/Makefile
Modified: kos/utils/dc-chain/Makefile
===================================================================
--- kos/utils/dc-chain/Makefile 2007-07-18 18:15:56 UTC (rev 420)
+++ kos/utils/dc-chain/Makefile 2007-07-18 18:16:53 UTC (rev 421)
@@ -20,10 +20,10 @@
# User configuration
sh_target=sh-elf
arm_target=arm-elf
-sh_prefix := /opt/dc/$(sh_target)
-arm_prefix := /opt/dc/$(arm_target)
+sh_prefix := /usr/local/dc/$(sh_target)
+arm_prefix := /usr/local/dc/$(arm_target)
# kos_root: KOS subversion root (contains kos/ and kos-ports/)
-kos_root=~/prj/svn
+kos_root=$(curdir)/../../..
# kos_base: equivalent of KOS_BASE (contains include/ and kernel/)
kos_base=$(kos_root)/kos
binutils_ver=2.15
@@ -108,6 +108,7 @@
> $(log)
cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) $(to_log)
make -C $(build) all install $(to_log)
+ make -C $(build)/bfd install_libbfd $(to_log)
$(clean_up)
$(build_gcc_pass1) $(build_gcc_pass2): build = build-gcc-$(target)-$(gcc_ver)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <c99...@us...> - 2008-02-17 01:40:55
|
Revision: 560
http://cadcdev.svn.sourceforge.net/cadcdev/?rev=560&view=rev
Author: c99koder
Date: 2008-02-16 17:40:49 -0800 (Sat, 16 Feb 2008)
Log Message:
-----------
Support for building gdb and insight for dc-chain, patch contributed by Christian Henz
Modified Paths:
--------------
kos/utils/dc-chain/Makefile
Modified: kos/utils/dc-chain/Makefile
===================================================================
--- kos/utils/dc-chain/Makefile 2008-02-17 01:23:00 UTC (rev 559)
+++ kos/utils/dc-chain/Makefile 2008-02-17 01:40:49 UTC (rev 560)
@@ -16,6 +16,8 @@
# build-sh4-gcc: build-sh4-gcc-pass1 build-sh4-newlib build-sh4-gcc-pass2
# build-arm-gcc: build-arm-gcc-pass1
# build-sh4-newlib: build-sh4-newlib-only fixup-sh4-newlib
+# gdb
+# insight
# User configuration
sh_target=sh-elf
@@ -29,6 +31,8 @@
binutils_ver=2.17
gcc_ver=3.4.6
newlib_ver=1.12.0
+gdb_ver=6.7.1
+insight_ver=6.7.1
thread_model=posix
erase=0
verbose=0
@@ -167,6 +171,95 @@
# ---- }}}}
+
+# GDB building
+
+gdb-$(gdb_ver).tar.bz2:
+ @echo "+++ Downloading GDB..."
+ wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-$(gdb_ver).tar.bz2
+
+unpack_gdb: gdb-$(gdb_ver).tar.bz2 unpack_gdb_stamp
+
+unpack_gdb_stamp:
+ @echo "+++ Unpacking GDB..."
+ rm -f $@
+ rm -rf gdb-$(gdb_ver)
+ tar jxf gdb-$(gdb_ver).tar.bz2
+ touch $@
+
+build_gdb: log = $(logdir)/gdb-$(gdb_ver).log
+build_gdb: logdir
+build_gdb: unpack_gdb build_gdb_stamp
+
+build_gdb_stamp:
+ @echo "+++ Building GDB..."
+ rm -f $@
+ > $(log)
+ rm -rf build-gdb-$(gdb_ver)
+ mkdir build-gdb-$(gdb_ver)
+ cd build-gdb-$(gdb_ver); ../gdb-$(gdb_ver)/configure \
+ --prefix=$(sh_prefix) \
+ --target=$(sh_target) $(to_log)
+ make -C build-gdb-$(gdb_ver) $(to_log)
+ touch $@
+
+install_gdb: log = $(logdir)/gdb-$(gdb_ver).log
+install_gdb: logdir
+install_gdb: build_gdb install_gdb_stamp
+
+install_gdb_stamp:
+ @echo "+++ Installing GDB..."
+ rm -f $@
+ make -C build-gdb-$(gdb_ver) install $(to_log)
+ touch $@
+
+gdb: install_gdb
+
+
+# INSIGHT building
+
+insight-$(insight_ver).tar.bz2:
+ @echo "+++ Downloading INSIGHT..."
+ wget -c ftp://sourceware.org/pub/insight/releases/insight-$(insight_ver).tar.bz2
+
+unpack_insight: insight-$(insight_ver).tar.bz2 unpack_insight_stamp
+
+unpack_insight_stamp:
+ @echo "+++ Unpacking INSIGHT..."
+ rm -f $@
+ rm -rf insight-$(insight_ver)
+ tar jxf insight-$(insight_ver).tar.bz2
+ touch $@
+
+build_insight: log = $(logdir)/insight-$(insight_ver).log
+build_insight: logdir
+build_insight: unpack_insight build_insight_stamp
+
+build_insight_stamp:
+ @echo "+++ Building INSIGHT..."
+ rm -f $@
+ > $(log)
+ rm -rf build-insight-$(insight_ver)
+ mkdir build-insight-$(insight_ver)
+ cd build-insight-$(insight_ver); ../insight-$(insight_ver)/configure \
+ --prefix=$(sh_prefix) \
+ --target=$(sh_target) $(to_log)
+ make -C build-insight-$(insight_ver) $(to_log)
+ touch $@
+
+install_insight: log = $(logdir)/insight-$(insight_ver).log
+install_insight: logdir
+install_insight: build_insight install_insight_stamp
+
+install_insight_stamp:
+ @echo "+++ Installing INSIGHT..."
+ rm -f $@
+ make -C build-insight-$(insight_ver) install $(to_log)
+ touch $@
+
+insight: install_insight
+
+
# ---- support {{{
clean:
@@ -176,6 +269,8 @@
-rm -rf build-gcc-$(arm_target)-$(gcc_ver)
-rm -rf build-binutils-$(sh_target)-$(binutils_ver)
-rm -rf build-binutils-$(arm_target)-$(binutils_ver)
+ -rm -rf build-gdb-$(gdb_ver) install_gdb_stamp build_gdb_stamp
+ -rm -rf build-insight-$(gdb_ver) install_insight_stamp build_insight_stamp
logdir:
@mkdir -p $(logdir)
@@ -208,6 +303,8 @@
.PHONY: $(newlib_patches) $(binutils_patches) $(gcc_patches) $(kos_patches)
.PHONY: all build patch build-sh4 build-arm $(build_sh4_targets) $(build_arm_targets) clean
.PHONY: build-binutils build-newlib build-gcc-pass1 build-gcc-pass2 fixup-sh4-newlib
+.PHONY: gdb install_gdb build_gdb unpack_gdb
+.PHONY: insight install_insight build_insight unpack_insight
# ---- }}}}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <fa...@us...> - 2008-05-21 22:04:42
|
Revision: 591
http://cadcdev.svn.sourceforge.net/cadcdev/?rev=591&view=rev
Author: fackue
Date: 2008-05-21 15:04:23 -0700 (Wed, 21 May 2008)
Log Message:
-----------
DESTDIR patch
Modified Paths:
--------------
kos/utils/dc-chain/Makefile
Modified: kos/utils/dc-chain/Makefile
===================================================================
--- kos/utils/dc-chain/Makefile 2008-05-21 20:33:31 UTC (rev 590)
+++ kos/utils/dc-chain/Makefile 2008-05-21 22:04:23 UTC (rev 591)
@@ -92,10 +92,10 @@
build_arm_targets=build-arm-binutils build-arm-gcc build-arm-gcc-pass1
$(build_sh4_targets): prefix = $(sh_prefix)
$(build_sh4_targets): target = $(sh_target)
-$(build_arm_targets): extra_configure_args = ""
+$(build_sh4_targets): extra_configure_args =
$(build_arm_targets): prefix = $(arm_prefix)
$(build_arm_targets): target = $(arm_target)
-$(build_arm_targets): extra_configure_args = "--with-arch=armv4"
+$(build_arm_targets): extra_configure_args = --with-arch=armv4
# To avoid code repetition, we use the same commands for both
# architectures. But we can't create a single target called
@@ -116,8 +116,8 @@
-mkdir -p $(build)
> $(log)
cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) $(to_log)
- make -C $(build) all install $(to_log)
- make -C $(build)/bfd install_libbfd $(to_log)
+ make -C $(build) all install DESTDIR=$(DESTDIR) $(to_log)
+ make -C $(build)/bfd install_libbfd DESTDIR=$(DESTDIR) $(to_log)
$(clean_up)
$(build_gcc_pass1) $(build_gcc_pass2): build = build-gcc-$(target)-$(gcc_ver)
@@ -128,7 +128,7 @@
-mkdir -p $(build)
> $(log)
cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --without-headers --with-newlib --enable-languages=c $(extra_configure_args) $(to_log)
- make -C $(build) all-gcc install-gcc $(to_log)
+ make -C $(build) all-gcc install-gcc DESTDIR=$(DESTDIR) $(to_log)
$(build_newlib): build = build-newlib-$(target)-$(newlib_ver)
$(build_newlib): src_dir = newlib-$(newlib_ver)
@@ -140,10 +140,10 @@
cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) $(to_log)
make -C $(build) all install CC_FOR_TARGET=$(install)/$(target)-gcc AS_FOR_TARGET=$(install)/$(target)-as \
LD_FOR_TARGET=$(install)/$(target)-ld AR_FOR_TARGET=$(install)/$(target)-ar \
- RANLIB_FOR_TARGET=$(install)/$(target)-ranlib $(to_log)
+ RANLIB_FOR_TARGET=$(install)/$(target)-ranlib DESTDIR=$(DESTDIR) $(to_log)
$(clean_up)
-fixup-sh4-newlib: newlib_inc=$(sh_prefix)/$(sh_target)/include
+fixup-sh4-newlib: newlib_inc=$(DESTDIR)$(sh_prefix)/$(sh_target)/include
fixup-sh4-newlib:
@echo "+++ Fixing up sh4 newlib includes..."
# KOS pthread.h is modified
@@ -166,7 +166,7 @@
> $(log)
cd $(build); ../$(src_dir)/configure --target=$(target) --prefix=$(prefix) --with-newlib \
--enable-threads=$(thread_model) --enable-languages=c,c++ $(to_log)
- make -C $(build) all install $(to_log)
+ make -C $(build) all install DESTDIR=$(DESTDIR) $(to_log)
$(clean_up)
# ---- }}}}
@@ -210,7 +210,7 @@
install_gdb_stamp:
@echo "+++ Installing GDB..."
rm -f $@
- make -C build-gdb-$(gdb_ver) install $(to_log)
+ make -C build-gdb-$(gdb_ver) install DESTDIR=$(DESTDIR) $(to_log)
touch $@
gdb: install_gdb
@@ -254,7 +254,7 @@
install_insight_stamp:
@echo "+++ Installing INSIGHT..."
rm -f $@
- make -C build-insight-$(insight_ver) install $(to_log)
+ make -C build-insight-$(insight_ver) install DESTDIR=$(DESTDIR) $(to_log)
touch $@
insight: install_insight
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|