mirror of https://github.com/hak5/openwrt.git
parent
49e628f765
commit
bec2fe7c6c
|
@ -101,13 +101,6 @@ config TAR_VERBOSITY
|
||||||
prompt "Tar verbose" if BUILDOPTS
|
prompt "Tar verbose" if BUILDOPTS
|
||||||
default n
|
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
|
config CCACHE
|
||||||
bool
|
bool
|
||||||
prompt "Use ccache" if BUILDOPTS
|
prompt "Use ccache" if BUILDOPTS
|
||||||
|
|
|
@ -59,7 +59,7 @@ endef
|
||||||
|
|
||||||
define Kernel/CompileModules/Default
|
define Kernel/CompileModules/Default
|
||||||
rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map
|
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
|
endef
|
||||||
|
|
||||||
ifeq ($(KERNEL),2.6)
|
ifeq ($(KERNEL),2.6)
|
||||||
|
@ -82,7 +82,7 @@ ifeq ($(KERNEL),2.6)
|
||||||
endif
|
endif
|
||||||
define Kernel/CompileImage/Default
|
define Kernel/CompileImage/Default
|
||||||
$(call Kernel/SetInitramfs)
|
$(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 -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
|
$(KERNEL_CROSS)objcopy -R .reginfo -R .note -R .comment -R .mdebug -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux.elf
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in New Issue