summaryrefslogtreecommitdiff
path: root/package/lua/lua.mk
AgeCommit message (Collapse)Author
2012-08-04lua: Add license infoDanomi Manchego
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
2012-07-22lua: fix typoThomas Petazzoni
Commit c8da6d1dd656caf5454c50ee5dddb4beead60326 introduced a stupid typo. Fix it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20lua: use install -D everywhereThomas Petazzoni
Installation of host-lua was failing because it was the first package to be built, and $(HOST_DIR)/usr/lib didn't exist. Therefore, use install -D everywhere so that intermediate directories are created as needed. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-20lua: ensure that host-lua does not depend on host-readline and host-ncursesThomas Petazzoni
Commit ad6af5819f88bac9ca7f50e565c4fc68d3e408cc removed the HOST_LUA_DEPENDENCIES assignement to the empty variable, so from that commit, the dependencies of host-lua are automatically computed from the dependencies of lua. Since lua can depend on readline and ncurses, it means that host-lua can depend on host-readline and host-ncurses, and the host-readline package does not exist in Buildroot. Since there is no reason to build host-lua with readline/ncurses support, just re-add the HOST_LUA_DEPENDENCIES variable. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Francois Perrad <fperrad@gmail.com>
2012-07-18lua: refactor without sedFrancois Perrad
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17lua: refactor root path tuningFrancois Perrad
Use a patch rather than sed'ing files in the build process. Signed-off-by: Francois Perrad <fperrad@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)
This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-14lua: bump version to 5.1.5François Perrad
[thomas.petazzoni@free-electrons.com: rewrote the patch, which was corrupted in the original submission. Used quilt to refresh the Lua patches, so that the version numbers are no longer present in the file names] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-03-13lua: fix non-shared library buildArnout Vandecappelle (Essensium/Mind)
Building without BR2_PACKAGE_LUA_SHARED_LIBRARY failed because of missing -ldl. dl is used by lua's dynamic module loading. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-19Avoid the warnings about the redefinition of LUA_USE_DLOPEN, when ↵Francois Perrad
BR2_PACKAGE_LUA_INTERPRETER_READLINE is set See src/luaconf.h lines 36-40 Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-26lua: Allow building lua for the hostWill Newton
Signed-off-by: Will Newton <will.newton@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29package: remove useless arguments from GENTARGETSThomas Petazzoni
Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-24lua: make sure that CFLAGS are passedThomas Petazzoni
We were passing a custom MYCFLAGS value to Lua's Makefile, but because of $(TARGET_CONFIGURE_OPTS), we were also passing a CFLAGS variable, which was overriding Lua's internal CFLAGS variable. The result was that MYCFLAGS wasn't taken into account. Extracted from the patch proposed by François Perrad in bug #2353. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-05-02lua: fix pkgconfig installationPeter Korsgaard
install -D needs the destination filename, not just it's directory, otherwise we end up with a pkgconfig file instead. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-01lua: Migrate to gentargets and improve itGustavo Zacarias
Closes #803 Based on initial patch by rvpaasen@t3i.nl [Peter: lua/luac needs liblua.so.* on target] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-03lua: only install headers if BR2_HAVE_DEVFILES is enabledPeter Korsgaard
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03package: Remove unnecessary dependencies on uclibc.Will Newton
A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-04-08lua: bump versionPeter Korsgaard
Patch by Michael Roth <mroth@nessie.de>.
2009-01-16package/: convert to DOWNLOAD helperPeter Korsgaard
2008-12-08package/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-03-27buildroot: cleanup <package>-clean targets.Peter Korsgaard
Based on input from Arndt Kritzner & Bernhard Fischer.
2007-11-30Add lua packageUlf Samuelsson