messing around earlier and it seems that running either of "make
clean" or "make dirclean" first does a "prepare-tmpinfo" and loads up
the tmp/ directory, only to remove it all immediately afterwards.

  as Exhibit A, i have a totally clean openwrt checkout, in which i
did the following:

$ make V=s clean
Checking 'non-root'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'getopt'... ok.
Checking 'fileutils'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'perl'... ok.
Checking '/usr/bin/python2.7'... ok.
Checking 'wget'... ok.
Checking 'git'... ok.
Checking 'gnutar'... ok.
Checking 'svn'... ok.
Checking 'openssl'... ok.
Checking 'gnu-find'... ok.
Checking 'getopt-extended'... ok.
Checking 'file'... ok.
... etc etc ...

i killed that command while it was in the middle of "make
prepare-tmpinfo". why do those two cleaning targets do all that work,
only to remove it right away?

  this is not the case with "make distclean", which seems to be
defined differently so it doesn't have this issue.

rday

p.s.  a wild guess, but it seems that there are weird side effects to
using "FORCE" instead of simply declaring targets as ".PHONY".

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to