The armeb-unknown-linux-uclibc sample now builds without libfloat.
The generated toolchain is at least able to build busybox (which wasn't the case before).
1 # Makefile.in for building crosstool-NG
2 # This file serves as source for the ./configure operation
6 ###############################################################################
7 # Configuration variables
15 MAKE := $(shell which make || type -p make || echo /usr/bin/make)
17 ###############################################################################
20 build: build-bin build-lib build-doc
22 install: build install-bin install-lib install-doc
24 clean: clean-bin clean-lib clean-doc
29 uninstall: uninstall-bin uninstall-lib uninstall-doc
31 ###############################################################################
34 #--------------------------------------
42 build-doc: docs/ct-ng.1
45 @sed -r -e 's,@@CT_MAKE@@,$(MAKE),g;' \
46 -e 's,@@CT_BINDIR@@,$(BINDIR),g;' \
47 -e 's,@@CT_LIBDIR@@,$(LIBDIR),g;' \
48 -e 's,@@CT_DOCDIR@@,$(DOCDIR),g;' \
49 -e 's,@@CT_MANDIR@@,$(MANDIR),g;' \
50 -e 's,@@CT_VERSION@@,$(VERSION),g;' \
51 -e 's,@@CT_DATE@@,$(DATE),g;' \
54 #--------------------------------------
65 #--------------------------------------
68 install-bin: $(BINDIR)
69 @install -m 755 ct-ng $(BINDIR)/ct-ng
71 install-lib: $(LIBDIR) install-lib-main install-lib-samples
73 install-lib-main: $(LIBDIR)
74 @for src_dir in config kconfig patches scripts tools; do \
75 tar cf - --exclude=.svn $${src_dir} |(cd $(LIBDIR); tar xf -); \
77 @for src_file in Makefile.steps version; do \
78 install -m 644 $${src_file} $(LIBDIR)/$${src_file}; \
81 # Samples need a little love:
82 # - change every occurence of CT_TOP_DIR to CT_LIB_DIR
83 install-lib-samples: $(LIBDIR) install-lib-main
84 @tar cf - --exclude=.svn samples |(cd $(LIBDIR); tar xf -)
85 @for samp_file in $(LIBDIR)/samples/*/crosstool.config; do \
86 sed -r -i -e 's,\$$\{CT_TOP_DIR\},\$$\{CT_LIB_DIR\},g;' $${samp_file}; \
89 install-doc: $(DOCDIR) $(MANDIR)
90 @for doc_file in CREDITS docs/overview.txt; do \
91 install -m 644 "$${doc_file}" $(DOCDIR); \
93 @install -m 644 docs/ct-ng.1 $(MANDIR)
95 $(BINDIR) $(LIBDIR) $(DOCDIR) $(MANDIR)::
99 #--------------------------------------
103 @rm -f $(BINDIR)/ct-ng
110 @rm -f $(MANDIR)/ct-ng.1