mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 02:39:46 +00:00
ct-ng: Add ability to configure and use some GNU tools
Make the paths to libtool, objcopy, objdump, readelf, patch configurable.
This commit is contained in:
parent
afa2b0aa0d
commit
ebf80df032
10
Makefile.in
10
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
|
||||
|
||||
#--------------------------------------
|
||||
|
4
configure
vendored
4
configure
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user