diff options
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -20,6 +20,7 @@ BUSYBOX_VERSION=1.17.1 ACPID_VERSION=1.0.10 GPM_VERSION=1.20.6 PERL_VERSION=5.12.1 +LUA_VERSION=5.1.4 PARALLEL=-j12 @@ -60,7 +61,7 @@ step4: kernel busybox acpid # step5: additional user space tools: # - GPM for mouse copy-pate # - Miniperl -step5: gpm perl +step5: gpm perl lua # disk image and directories @@ -205,6 +206,15 @@ perl: perl-clean: -rm -rf perl-$(PERL_VERSION) +lua: + -rm -rf lua-$(LUA_VERSION) + tar zxf tarballs/lua-$(LUA_VERSION).tar.gz + cd lua-$(LUA_VERSION) && make posix $(PARALLEL) + cd lua-$(LUA_VERSION) && cp src/lua ../target/usr/bin/lua + +lua-clean: + -rm -rf lua-$(LUA_VERSION) + # helpers mount-disk: @@ -256,3 +266,6 @@ source: -test -r tarballs/perl-$(PERL_VERSION).tar.gz || \ wget -O tarballs/perl-$(PERL_VERSION).tar.gz \ http://www.cpan.org/src/perl-$(PERL_VERSION).tar.gz + -test -r tarballs/lua-$(LUA_VERSION).tar.gz || \ + wget -O tarballs/lua-$(LUA_VERSION).tar.gz \ + http://www.lua.org/ftp/lua-$(LUA_VERSION).tar.gz |