Hi, I'm trying to get my toolchain builds up and running in a chroot environment to guarantee defined tools. I'm using fakechroot to avoid root privileges. Everything seems to be running fine, except that make's $(wildcard ) function does not work as expected:
$ fakechroot chroot rootdir cat /tmp/Makefile all: @echo "Files in /tmp: $(wildcard /tmp/*)" @echo "Files in current directory: $(wildcard *)" $ fakechroot chroot rootdir/ make -C /tmp make: Entering directory `/tmp' Files in /tmp: Files in current directory: Makefile make: Leaving directory `/tmp' Obviously, $(wildcard ) does not find anything when the path is absolute. On the other hand, everything works fine without fakechroot: $ sudo chroot rootdir/ make -C /tmp make: Entering directory `/tmp' Files in /tmp: /tmp/Makefile Files in current directory: Makefile make: Leaving directory `/tmp' Can anyone guess why make does not play well with fakechroot w.r.t. $(wildcard )? Many thanks for any hints, Chris _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make