Go to file
Romain Naour 9ba8d1cce4 package/luajit: build host variant dynamically
While building libevas.so for the host-efl with luajit support, the link fail
when libluajit is build statically:

/usr/bin/ld: output/host/usr/lib/libluajit-5.1.a(ljamalg.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
output/host/usr/lib/libluajit-5.1.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

Build luajit dynamically in order to build host-efl with luajit support.

Also, passing HOST_LDFLAGS is needed so that a proper rpath is added
to the resulting binaries. Note that it is expected to have
HOST_LDFLAGS assigned to TARGET_LDFLAGS, it's just that luajit has a
somewhat non-conventional naming of variables. This is needed to avoid
the following error from the rpath sanity check:

***
*** ERROR: package host-luajit installs executables without proper RPATH:
***   output/host/usr/bin/luajit

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-03-20 22:26:30 +01:00
arch arch/arm: add Cortex-M4 entry 2016-03-20 15:37:30 +01:00
board qemu-m68k: add new board 2016-03-20 15:28:55 +01:00
boot barebox: bump to version 2016.03.0 2016-03-17 14:29:06 +01:00
configs qemu-m68k: add new board 2016-03-20 15:28:55 +01:00
docs core: add the possibility to provide help for custom rules 2016-03-19 16:41:22 +01:00
fs fs/common: generate users before setting permissions 2016-02-01 07:25:36 +01:00
linux linux: build and install kernel selftests 2016-03-20 22:04:47 +01:00
package package/luajit: build host variant dynamically 2016-03-20 22:26:30 +01:00
support scancpan: use recommend & test flags only at first level 2016-03-15 23:16:33 +01:00
system skeleton: Recreate /var/run symlink 2016-02-11 23:20:38 +01:00
toolchain toolchain/external: add hashes for actual sources 2016-03-19 15:10:18 +01:00
.defconfig
.gitignore
CHANGES Update for 2016.02 2016-03-01 21:47:30 +01:00
Config.in Config.in: add symbols for BR2_HOST_GCC_AT_LEAST_4_6 2016-03-20 14:55:27 +01:00
Config.in.legacy uboot: remove deprecated BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR option 2016-03-15 22:47:47 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
Makefile core: also display the custom help with our main help 2016-03-19 16:41:26 +01:00
Makefile.legacy
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

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