On 2015年08月26日 11:48, Ben Pfaff wrote:
On Wed, Aug 26, 2015 at 11:10:56AM +0800, rongqing...@windriver.com wrote:
From: Roy Li <rongqing...@windriver.com>

If build dir is not same as the source code, make the target .in wrong
due to no dir:
        vswitchd/ovs-vswitchd.conf.db.5.tmp: No such file or directory

The target .in has not dependency, but in fact, it needs other target to
create the dir to put its result, like builddir/vswitchd in below:

/usr/bin/perl soexpand.pl < ${S}/vswitchd/ovs-vswitchd.8.in | \
     sed \
         -e 's,[@]PKIDIR[@],/var/lib/openvswitch/pki,g' \
            ......
             > vswitchd/ovs-vswitchd.8.tmp

fix it by creating the dir in .in target

Signed-off-by: Roy Li <rongqing...@windriver.com>

Running "configure" creates all the necessary directories, so this patch
is not necessary.




after configure, I did not find the vswitchd dir under building dir.



the vswitchd dir is created in Makefile.am:


vswitchd/$(am__dirstamp):
        @$(MKDIR_P) vswitchd
        @: > vswitchd/$(am__dirstamp)


similar issues for other dirs


-Roy


--
Best Reagrds,
Roy | RongQing Li
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to