mirror of https://github.com/hak5/openwrt-owl.git
parent
49e628f765
commit
bec2fe7c6c
|
@ -101,13 +101,6 @@ config TAR_VERBOSITY
|
|||
prompt "Tar verbose" if BUILDOPTS
|
||||
default n
|
||||
|
||||
config JLEVEL
|
||||
int
|
||||
prompt "Number of jobs to run simultaneously" if BUILDOPTS
|
||||
default "1"
|
||||
help
|
||||
Number of jobs to run simultanesouly
|
||||
|
||||
config CCACHE
|
||||
bool
|
||||
prompt "Use ccache" if BUILDOPTS
|
||||
|
|
|
@ -59,7 +59,7 @@ endef
|
|||
|
||||
define Kernel/CompileModules/Default
|
||||
rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map
|
||||
$(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" modules
|
||||
$(MAKE) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" modules
|
||||
endef
|
||||
|
||||
ifeq ($(KERNEL),2.6)
|
||||
|
@ -82,7 +82,7 @@ ifeq ($(KERNEL),2.6)
|
|||
endif
|
||||
define Kernel/CompileImage/Default
|
||||
$(call Kernel/SetInitramfs)
|
||||
$(MAKE) -j$(CONFIG_JLEVEL) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" $(KERNELNAME)
|
||||
$(MAKE) $(KERNEL_MAKEOPTS) CC="$(KERNEL_CC)" $(KERNELNAME)
|
||||
$(KERNEL_CROSS)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)
|
||||
$(KERNEL_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.elf
|
||||
endef
|
||||
|
|
Loading…
Reference in New Issue