]> code.ossystems Code Review - openembedded-core.git/commit
Correct js jsautocfg.h and install jsproto.tbl
authorDarren Hart <dvhart@linux.intel.com>
Mon, 20 Sep 2010 23:15:05 +0000 (16:15 -0700)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 21 Sep 2010 22:40:17 +0000 (23:40 +0100)
commit4a10634a88f15bff4660310df772e0300dfe61d3
tree5c534a2362593e21c459b518ced91299a3387f07
parent1cf456611d1e14ab06d93da34ca8898fe3692a84
Correct js jsautocfg.h and install jsproto.tbl

I'm adding mediatomb packages and ran into a couple build issues with js.

The first complained that jsapi.h wasn't found/usable. This turned out to
be because jsautocfg.h was including "../conf.h" instead of "conf.h" as
they are installed in the same directory in the sysroot. I believe the correct
fix for this would involve the configure.ac script which is used to generate
the jsautocfg.h header file we store in the recipe. Commit
f25d26de776f9927e1d2c92f031085a9b9323087 (js: fix configure) added conf.h,
Qing can you comment here?

The second failure is due to jsproto.tbl not being installed but being
referenced by another header file.

This patch corrects the jsautocfg.h header directly and adds the jsproto.tbl
to the do_install() recipe function.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Qing He <qing.he@intel.com>
meta/recipes-support/js/files/jsautocfg.h
meta/recipes-support/js/js_1.7.0+1.8.0rc1.bb