Changeset 28305


Ignore:
Timestamp:
2011-09-26T04:02:35+02:00 (5 years ago)
Author:
jow
Message:

[include] image.mk: pass through $(CONFIG_PKG_BUILD_JOBS) to the mksquashfs -processors option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/image.mk

    r27748 r28305  
    8888    define Image/mkfs/squashfs 
    8989                @mkdir -p $(TARGET_DIR)/overlay 
    90                 $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) -processors 1 
     90                $(STAGING_DIR_HOST)/bin/mksquashfs4 $(TARGET_DIR) $(KDIR)/root.squashfs -nopad -noappend -root-owned -comp $(SQUASHFSCOMP) -processors $(if $(CONFIG_PKG_BUILD_JOBS),$(CONFIG_PKG_BUILD_JOBS),1) 
    9191                $(call Image/Build,squashfs) 
    9292    endef 
Note: See TracChangeset for help on using the changeset viewer.