diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-25 10:40:50 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-25 10:40:50 +0000 |
commit | bea03c8fdd1f46eea716d62e00b6a985546c1002 (patch) | |
tree | 31e6a43b1f37400fbe7495ff6bb866b5bd2f8961 /rules/cross-gdb.make | |
parent | 040cee7d3045beaf9e9471ff018e7525144b73f0 (diff) | |
download | OSELAS.Toolchain-bea03c8fdd1f46eea716d62e00b6a985546c1002.tar.gz OSELAS.Toolchain-bea03c8fdd1f46eea716d62e00b6a985546c1002.tar.xz |
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/branches/OSELAS.Toolchain-mkl@6226 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/cross-gdb.make')
-rw-r--r-- | rules/cross-gdb.make | 34 |
1 files changed, 10 insertions, 24 deletions
diff --git a/rules/cross-gdb.make b/rules/cross-gdb.make index 5ac5de2..ff0989b 100644 --- a/rules/cross-gdb.make +++ b/rules/cross-gdb.make @@ -28,35 +28,25 @@ CROSS_GDB_DIR := $(CROSS_BUILDDIR)/$(CROSS_GDB) # Get # ---------------------------------------------------------------------------- -cross-gdb_get: $(STATEDIR)/cross-gdb.get - -$(STATEDIR)/cross-gdb.get: - @$(call targetinfo, $@) - @$(call touch, $@) - $(CROSS_GDB_SOURCE): - @$(call targetinfo, $@) + @$(call targetinfo) @$(call get, CROSS_GDB) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -cross-gdb_extract: $(STATEDIR)/cross-gdb.extract - $(STATEDIR)/cross-gdb.extract: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call clean, $(CROSS_GDB_DIR)) @$(call extract, CROSS_GDB, $(CROSS_BUILDDIR)) @$(call patchin, CROSS_GDB, $(CROSS_GDB_DIR)) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -cross-gdb_prepare: $(STATEDIR)/cross-gdb.prepare - CROSS_GDB_PATH := PATH=$(CROSS_PATH) CROSS_GDB_ENV := $(HOST_ENV) @@ -64,7 +54,7 @@ CROSS_GDB_ENV := $(HOST_ENV) # autoconf # CROSS_GDB_AUTOCONF := \ - --prefix=$(PTXCONF_PREFIX) \ + --prefix=$(PTXCONF_SYSROOT_CROSS) \ --build=$(GNU_HOST) \ --host=$(GNU_HOST) \ --target=$(PTXCONF_GNU_TARGET) \ @@ -78,34 +68,30 @@ CROSS_GDB_AUTOCONF += --with-sysroot=$(SYSROOT) endif $(STATEDIR)/cross-gdb.prepare: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call clean, $(CROSS_GDB_DIR)/config.cache) cd $(CROSS_GDB_DIR) && \ $(CROSS_GDB_PATH) $(CROSS_GDB_ENV) \ ./configure $(CROSS_GDB_AUTOCONF) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -cross-gdb_compile: $(STATEDIR)/cross-gdb.compile - $(STATEDIR)/cross-gdb.compile: - @$(call targetinfo, $@) + @$(call targetinfo) cd $(CROSS_GDB_DIR) && $(CROSS_GDB_PATH) $(MAKE) $(PARALLELMFLAGS) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -cross-gdb_install: $(STATEDIR)/cross-gdb.install - $(STATEDIR)/cross-gdb.install: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call install, CROSS_GDB,,h) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |