From 0641a78fd4681a4310843bc41ac2b4853baf48df Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 9 Aug 2001 01:20:43 +0000 Subject: Changed uclibc-gcc to uclibc-toolchain. Added fixups for changes in the Makefiles. --- debian/control | 4 +++- debian/control.in | 4 +++- debian/rules | 7 +++++++ 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 44a74ff53..278bfd6f0 100644 --- a/debian/control +++ b/debian/control @@ -23,10 +23,12 @@ Description: A small implementation of the C library much smaller than glibc, which makes it useful for embedded systems. -Package: uclibc-gcc +Package: uclibc-toolchain Section: devel Architecture: any Depends: gcc|c-compiler, binutils, ${shlibs:Depends} +Conflicts: uclibc-gcc +Replaces: uclibc-gcc Description: A compiler wrapper for uClibc This is a small wrapper for gcc, ld, and other toolchain utilities to do compilation against uClibc instead of the native libc. diff --git a/debian/control.in b/debian/control.in index 9443af936..1992b0a11 100644 --- a/debian/control.in +++ b/debian/control.in @@ -23,10 +23,12 @@ Description: A small implementation of the C library much smaller than glibc, which makes it useful for embedded systems. -Package: uclibc_TARGET_-gcc +Package: uclibc_TARGET_-toolchain Section: devel Architecture: any Depends: gcc|c-compiler, binutils, ${shlibs:Depends} +Conflicts: uclibc_TARGET_-gcc +Replaces: uclibc_TARGET_-gcc Description: A compiler wrapper for uClibc This is a small wrapper for gcc, ld, and other toolchain utilities to do compilation against uClibc instead of the native libc. diff --git a/debian/rules b/debian/rules index f31438825..3c6603cc3 100755 --- a/debian/rules +++ b/debian/rules @@ -104,6 +104,13 @@ ifeq ($(target),$(DEB_HOST_GNU_CPU)) debian/$(p_lib)/lib/ld-uClibc.so.0 endif endif + + install -d debian/$(p_gcc)/usr/bin + mv debian/$(p_gcc)/usr/$(target)-linux-uclibc/bin/$(target)-* \ + debian/$(p_gcc)/usr/bin + install -d debian/$(p_lib)/usr/bin + mv debian/$(p_lib)/usr/$(target)-linux-uclibc/bin/$(target)-* \ + debian/$(p_lib)/usr/bin # Build architecture-independent files here. binary-indep: -- cgit v1.2.3