On Tue, May 29, 2012 at 06:35:13PM +0200, Yann E. MORIN wrote: >Bernhard, All, > >On Saturday 26 May 2012 00:22:35 Bernhard Reutner-Fischer wrote: >> On Fri, May 25, 2012 at 11:58:13PM +0200, Yann E. MORIN wrote:
>> >I believe this would be good, at least in one part: the build system. >> >I just cloned the uClibc++ repository, and it just does not build: >> > $ git clone >> > Cloning into uClibc++... >> > [...] >> > $ cd uClibc++ >> > $ git checkout v0.2.4 >> > [...blabla detached head...] >> > $ make menuconfig >> > make[1]: Entering directory `/home/ymorin/tmp/uClibc++/extra/config' >> > make[1]: *** ../../.config: Is a directory. Stop. >> > make[1]: Leaving directory `/home/ymorin/tmp/uClibc++/extra/config' >> > make: *** [extra/config/mconf] Error 2 >[--SNIP--] >> polluted env? Please paste your $ env >> somewhere. > >I tried with a minimalist environement, and was able to reproduce the error: >ymorin@treguer:/home/ymorin/dev/uClibc++$ make menuconfig >make[1]: Entering directory `/home/ymorin/dev/uClibc++/extra/config' >make[1]: *** ../../.config: Is a directory. Stop. >make[1]: Leaving directory `/home/ymorin/dev/uClibc++/extra/config' >make: *** [extra/config/mconf] Error 2 > >ymorin@treguer:/home/ymorin/dev/uClibc++$ /opt/make/bin/make-3.81 menuconfig >make[1]: Entering directory `/home/ymorin/dev/uClibc++/extra/config' >make[1]: *** ../../.config: Is a directory. Stop. >make[1]: Leaving directory `/home/ymorin/dev/uClibc++/extra/config' >make-3.81: *** [extra/config/mconf] Error 2 >Fact is, it doesn't even try to build anything, so even the kconfig stuff >is *not* built at time of error. :-/ I see this too now (after an mkdir /.config). Will push diff --git a/Rules.mak b/Rules.mak index fba09e0..f4b60c5 100644 --- a/Rules.mak +++ b/Rules.mak @@ -69,7 +69,8 @@ PREFIX = $(DESTDIR) # Pull in the user's uClibc++ configuration ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) --include $(TOPDIR).config +# Prevent make from searching +-include $(abspath $(TOPDIR).config) endif # A nifty macro to make testing gcc features easier _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
