diff options
author | Titus von Boxberg <titus@v9g.de> | 2010-05-17 14:11:08 +0200 |
---|---|---|
committer | Titus von Boxberg <titus@v9g.de> | 2010-05-17 14:11:08 +0200 |
commit | ebf80df032c51b562c9aee44da01d3f366abd76d (patch) | |
tree | d919a5c23d830fda720579057b54b22384e29cf3 | |
parent | afa2b0aa0d22b3570e8906e92667f1862f12972b (diff) | |
download | crosstool-ng-ebf80df032c51b562c9aee44da01d3f366abd76d.tar.gz crosstool-ng-ebf80df032c51b562c9aee44da01d3f366abd76d.tar.bz2 crosstool-ng-ebf80df032c51b562c9aee44da01d3f366abd76d.zip |
ct-ng: Add ability to configure and use some GNU tools
Make the paths to libtool, objcopy, objdump, readelf, patch configurable.
-rw-r--r-- | Makefile.in | 10 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 6080fdfe..9533b7b8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -52,6 +52,11 @@ bash := @@bash@@ grep := @@grep@@ make := @@make@@ sed := @@sed@@ +libtool:= @@libtool@@ +objcopy:= @@objcopy@@ +objdump:= @@objdump@@ +readelf:= @@readelf@@ +patch := @@patch@@ ############################################################################### # Sanity checks @@ -139,6 +144,11 @@ paths.mk: echo "export grep=$(grep)"; \ echo "export make=$(make)"; \ echo "export sed=$(sed)"; \ + echo "export libtool=$(libtool)"; \ + echo "export objcopy=$(objcopy)"; \ + echo "export objdump=$(objdump)"; \ + echo "export readelf=$(readelf)"; \ + echo "export patch=$(patch)"; \ ) >paths.mk #-------------------------------------- @@ -365,6 +365,10 @@ has_or_abort prog=gzip has_or_abort prog=bzip2 has_or_abort prog=lzma has_or_abort prog=readlink +has_or_abort prog=objcopy var=objcopy +has_or_abort prog=objdump var=objdump +has_or_abort prog=readelf var=readelf +has_or_abort prog=patch var=patch has_or_abort inc="ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h" \ err="'ncurses' headers files were not found" |