Go to file
Bernd Kuhls cbb7b49f4c package/nodejs: use host-libopenssl
host-nodejs is configured to build openssl by using its included openssl
source code which is based on openssl 1.0.2. If host-libopenssl was
already built its header files are being picked up during host-nodejs
build, this was verified by adding debug code to
$(HOST_DIR)/include/openssl/opensslv.h.

This situation was not a problem as long as host-libopenssl was the
same version than the openssl code included in nodejs.

Some code in host-nodejs-8.11.4/src/node_crypto.cc is guarded by

	#if OPENSSL_VERSION_NUMBER < 0x10100000L

to be used only with openssl 1.0.x.

This leads to problems if host-libopenssl 1.1.x was built before. Due
to the usage of its header files some code in node_crypto.cc is not
built leading to many linking errors later on, for example:

node_crypto.cc:(.text+0x1a1): undefined reference to `DH_get0_pqg'

When the nodejs package originally was added to buildroot back in
March 2013:
https://git.buildroot.net/buildroot/commit/?id=b31bc7d4387095091a109eb879464d54d37a5eab

We did not have a host-libopenssl package back then, it was added one
month later:
https://git.buildroot.net/buildroot/commit/?id=7842789cb539b6b64d61b03f5c8dbe6813f01da7

To fix the problem we use host-libopenssl for host-nodejs.
By using host-libopenssl the build time of nodejs is reduced by ~15s.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-08-21 00:00:08 +02:00
arch arch: drop now useless support for FDPIC 2018-07-01 15:17:27 +02:00
board configs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour 2018-08-05 14:46:29 +02:00
boot uboot: add option to depend on host-lzop 2018-08-14 16:23:05 +02:00
configs configs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour 2018-08-05 14:46:29 +02:00
docs core/sdk: generate the SDK tarball ourselves 2018-08-14 16:03:48 +02:00
fs fs: ensure hard links in TARGET_DIR are correctly copied for filesystem input 2018-05-27 23:46:29 +02:00
linux linux: bump default to version 4.18.3 2018-08-20 17:17:13 +02:00
package package/nodejs: use host-libopenssl 2018-08-21 00:00:08 +02:00
support support/misc: updating Vagrantfile to ubuntu 18.04 2018-08-13 11:45:48 +02:00
system skeleton: PAGER without blank and unset at end of for loop 2018-06-05 18:50:49 +02:00
toolchain toolchain: add 4.18.x choice for headers 2018-08-20 17:16:03 +02:00
utils scancpan: warn on undefined LICENSE 2018-08-14 15:37:14 +02:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: ignore utils/diffconfig 2018-03-13 22:37:54 +01:00
.gitignore
.gitlab-ci.yml Makefile: introduce check-package target 2018-08-12 14:39:32 +02:00
.gitlab-ci.yml.in Makefile: introduce check-package target 2018-08-12 14:39:32 +02:00
CHANGES CHANGES: update for 2018.08-rc1 2018-08-04 19:10:50 +02:00
Config.in Config.in: add BR2_HOST_GCC_AT_LEAST_8 2018-05-02 14:50:14 +02:00
Config.in.legacy package/x11r7/xserver_xorg-server: bump version to 1.20.0 2018-07-28 23:10:41 +02:00
COPYING
DEVELOPERS openresolv: new package 2018-08-14 22:06:32 +02:00
Makefile core/sdk: generate the SDK tarball ourselves 2018-08-14 16:03:48 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches