summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-04-30 13:20:06 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2014-04-30 13:20:06 (GMT)
commit3c80f49dc4e5da4e32febe077d17c19897417ad5 (patch)
tree714f5fc32c6e84e909ddecb22609188eee104b13
parent325d4643fc8536f1a461e7889b3568085bfc3312 (diff)
downloadnetsurf-all-3c80f49dc4e5da4e32febe077d17c19897417ad5.tar.gz
netsurf-all-3c80f49dc4e5da4e32febe077d17c19897417ad5.tar.bz2
make atri build explicitly specify javascript parameter
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 78c2356..2d2c4ce 100644
--- a/Makefile
+++ b/Makefile
@@ -23,14 +23,19 @@ NSLIB_FB_TARG := libnsfb
NSLIB_RO_TARG := librufl libpencil
-# only build what we reuire for the target
+# only build what we require for the target
ifeq ($(TARGET),riscos)
NSLIB_TARG := $(NSLIB_ALL_TARG) $(NSLIB_RO_TARG)
else
ifeq ($(TARGET),framebuffer)
NSLIB_TARG := $(NSLIB_ALL_TARG) $(NSLIB_FB_TARG)
else
- NSLIB_TARG := $(NSLIB_ALL_TARG)
+ ifeq ($(TARGET),amiga)
+ NSLIB_TARG := $(NSLIB_ALL_TARG)
+ NETSURF_CONFIG := NETSURF_USE_MOZJS=YES
+ else
+ NSLIB_TARG := $(NSLIB_ALL_TARG)
+ endif
endif
endif
@@ -54,7 +59,7 @@ $(TMP_PREFIX)/build-stamp:
mkdir -p $(TMP_PREFIX)/bin
$(foreach L,$(NSLIB_TARG),$(call do_prefix_install,$(L)))
$(MAKE) install --directory=$(NSGENBIND_TARG) PREFIX=$(TMP_PREFIX) TARGET=$(shell uname -s)
- $(MAKE) --directory=$(NETSURF_TARG) PREFIX=$(PREFIX) TARGET=$(TARGET)
+ $(MAKE) --directory=$(NETSURF_TARG) PREFIX=$(PREFIX) TARGET=$(TARGET) $(NETSURF_CONFIG)
touch $@
package: $(TMP_PREFIX)/build-stamp