For parallel builds, make targets that build need to be separated from targets 
that install ;-)

Signed-off-by: Joe Roback <[email protected]>


---

Index: feeds/packages/libs/jpeg/Makefile
===================================================================
--- feeds/packages/libs/jpeg/Makefile   (revision 24262)
+++ feeds/packages/libs/jpeg/Makefile   (working copy)
@@ -57,7 +57,11 @@
        $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
                prefix="$(PKG_INSTALL_DIR)/usr" \
                exec_prefix="$(PKG_INSTALL_DIR)/usr" \
-               all install install-headers install-lib
+               all
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               prefix="$(PKG_INSTALL_DIR)/usr" \
+               exec_prefix="$(PKG_INSTALL_DIR)/usr" \
+               install install-headers install-lib
 endef
 
 define Build/InstallDev

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to