mirror of
git://git.yoctoproject.org/poky
synced 2026-08-14 13:18:39 +00:00
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>
This commit is contained in:
parent
1cf456611d
commit
4a10634a88
@ -3,7 +3,7 @@
|
||||
|
||||
/* AUTOMATICALLY GENERATED - DO NOT EDIT */
|
||||
|
||||
#include "../conf.h"
|
||||
#include "conf.h"
|
||||
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
# undef IS_LITTLE_ENDIAN
|
||||
|
||||
@ -5,7 +5,7 @@ SECTION = "libs"
|
||||
# the package is licensed under either of the following
|
||||
LICENSE = "MPL1.1 | GPLv2+ | LGPLv2.1+"
|
||||
LIC_FILES_CHKSUM = "file://jsapi.c;beginline=4;endline=39;md5=347c6bbf4fb4547de1fa5ad830030063"
|
||||
PR = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "http://ftp.mozilla.org/pub/mozilla.org/js/js-1.8.0-rc1.tar.gz \
|
||||
file://link_with_gcc.patch \
|
||||
@ -40,6 +40,7 @@ do_install() {
|
||||
install -d ${D}${includedir}/js
|
||||
oe_libinstall -so -C Linux_All_OPT.OBJ libjs ${D}${libdir}
|
||||
install -m 0644 ${S}/*.h ${D}${includedir}/js
|
||||
install -m 0644 ${S}/jsproto.tbl ${D}${includedir}/js
|
||||
}
|
||||
|
||||
FILES_${PN} = "${libdir}/lib*.so"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user