[etherlab-users] make distclean broken on etherlab master

Christoph Mathys eraserix at gmail.com
Fri Apr 16 10:12:47 CEST 2010


I noticed that the distclean target of the etherlab master is broken
(or I've a wrong version of some tool). The attached patch will only
fix the problem once ./bootstrap has been done, so it's of limited

host:~/ethercat-default$ hg id
131f655c03d3 tip
host:~/ethercat-default$ uname -rv
2.6.24-27-rt #1 SMP PREEMPT RT Fri Mar 12 03:03:40 UTC 2010

host:~/ethercat-default$ autoreconf --version
autoreconf (GNU Autoconf) 2.61

To reproduce:
host:~/ethercat-default$ ./bootstrap && ./configure
host:~/ethercat-default$ make distclean
make[2]: Leaving directory `$HOME/ethercat-default/devices'
rm -f Makefile
make[1]: Leaving directory `$HOME/ethercat-default/devices'
Making distclean in .
make[1]: Entering directory `$HOME/ethercat-default'
rm -rf .libs _libs
make -C "/usr/src/linux-headers-2.6.24-27-rt" M="$HOME/ethercat-default" clean
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-27-rt'
scripts/Makefile.clean:17:$HOME/ethercat-default/devices/Makefile: No
such file or directory
make[4]: *** No rule to make target
`$HOME/ethercat-default/devices/Makefile'.  Stop.
make[3]: *** [$HOME/ethercat-default/devices] Error 2
make[2]: *** [_clean_$HOME/ethercat-default] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-27-rt'
make[1]: *** [clean-local] Error 2
make[1]: Leaving directory `$HOME/ethercat-default'
make: *** [distclean-recursive] Error 1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-distclean.patch
Type: text/x-diff
Size: 1967 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20100416/533eeb8f/attachment-0003.patch>

More information about the Etherlab-users mailing list