Changeset 288


Ignore:
Timestamp:
Jul 23, 2011, 11:53:20 AM (8 years ago)
Author:
amain
Message:

Add menuconfig option to pass commandline parameters to openwrt make ( by default -j 3 is passed )

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.in

    r284 r288  
    962962          "build/openwrt-<board>-<revision>-<kernel>" and not to "."
    963963
     964config OPENWRT_MAKE_OPTIONS
     965        string "OpenWrt make command line options"
     966    default "-j 3"
     967    help
     968      Add make command line options to OpenWrt
     969
    964970# End of file
  • trunk/openwrt/openwrt.mk

    r286 r288  
    2424openwrt/build: openwrt/prepare
    2525ifeq ("$(origin V)", "command line")
    26         $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR) V=$(V)
     26        $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR) $(CONFIG_OPENWRT_MAKE_OPTIONS) V=$(V)
    2727else
    28         $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR)
     28        $(SCRIPT_CLEAN_EXEC) $(MAKE) -C $(OPENWRT_BUILD_DIR) $(CONFIG_OPENWRT_MAKE_OPTIONS)
    2929endif
    3030        touch $@
Note: See TracChangeset for help on using the changeset viewer.