Use 4 jobs to build nanox
authorDaniel G <giri@nwrk.biz>
Fri, 1 Feb 2019 03:20:47 +0000 (04:20 +0100)
committerDaniel G <giri@nwrk.biz>
Fri, 1 Feb 2019 03:20:47 +0000 (04:20 +0100)
_template/packages/nanox/Makefile

index 938d98d..cfb0d64 100644 (file)
@@ -35,7 +35,7 @@ android_arm:
        cd $(WORKDIR)/microwindows-master/src/; \
        sed -i -e 's/CFLAGS=.*/CFLAGS=--sysroot=\/usr\/lib\/android-ndk\/platforms\/android-$(ANDROID_TARGET_VER)\/arch-arm\/ -I..\/..\/..\/..\/..\/include  -DHAVE_SELECT=0/g' ./Makefile.rules; \
        sed -i -e 's/LDFLAGS=.*/LDFLAGS=--sysroot=\/usr\/lib\/android-ndk\/platforms\/android-$(ANDROID_TARGET_VER)\/arch-arm\//g' ./Makefile.rules; \
        cd $(WORKDIR)/microwindows-master/src/; \
        sed -i -e 's/CFLAGS=.*/CFLAGS=--sysroot=\/usr\/lib\/android-ndk\/platforms\/android-$(ANDROID_TARGET_VER)\/arch-arm\/ -I..\/..\/..\/..\/..\/include  -DHAVE_SELECT=0/g' ./Makefile.rules; \
        sed -i -e 's/LDFLAGS=.*/LDFLAGS=--sysroot=\/usr\/lib\/android-ndk\/platforms\/android-$(ANDROID_TARGET_VER)\/arch-arm\//g' ./Makefile.rules; \
-       make -j1
+       make -j4
        mkdir -p $(WORKDIR)/../../lib/android_arm
        mkdir -p $(WORKDIR)/../../include/nanox
        cp -rf $(WORKDIR)/microwindows-master/src/lib/*.a $(WORKDIR)/../../lib/android_arm
        mkdir -p $(WORKDIR)/../../lib/android_arm
        mkdir -p $(WORKDIR)/../../include/nanox
        cp -rf $(WORKDIR)/microwindows-master/src/lib/*.a $(WORKDIR)/../../lib/android_arm