|
|
@ -74,6 +74,7 @@ define PatchKernelGzip |
|
|
|
gzip -9 -c $(KDIR_TMP)/vmlinux$(3)-$(1) > $(KDIR_TMP)/vmlinux$(3)-$(1).bin.gz
|
|
|
|
gzip -9 -c $(KDIR_TMP)/vmlinux$(3)-$(1) > $(KDIR_TMP)/vmlinux$(3)-$(1).bin.gz
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(SUBTARGET),mikrotik) |
|
|
|
define MkuImage |
|
|
|
define MkuImage |
|
|
|
mkimage -A mips -O linux -T kernel -a 0x80060000 -C $(1) $(2) \
|
|
|
|
mkimage -A mips -O linux -T kernel -a 0x80060000 -C $(1) $(2) \
|
|
|
|
-e 0x80060000 -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
|
|
|
-e 0x80060000 -n 'MIPS OpenWrt Linux-$(LINUX_VERSION)' \
|
|
|
@ -103,6 +104,7 @@ endef |
|
|
|
define MkuImageOKLI |
|
|
|
define MkuImageOKLI |
|
|
|
$(call MkuImage,lzma,-M 0x4f4b4c49,$(KDIR)/vmlinux.bin.lzma,$(KDIR_TMP)/vmlinux-$(1).okli)
|
|
|
|
$(call MkuImage,lzma,-M 0x4f4b4c49,$(KDIR)/vmlinux.bin.lzma,$(KDIR_TMP)/vmlinux-$(1).okli)
|
|
|
|
endef |
|
|
|
endef |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
define CatFiles |
|
|
|
define CatFiles |
|
|
|
if [ $(2) -eq 0 ]; then \
|
|
|
|
if [ $(2) -eq 0 ]; then \
|
|
|
|