2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
8 include $(INCLUDE_DIR
)/image.mk
10 LOADADDR
= 0x8108c8f4 # RAM start + 16M
11 KERNEL_ENTRY
= 0x80100000 # Default kernel entry in arch/mips/Makefile
12 RAMSIZE
= 0x01000000 # 64MB
16 LOADADDR
=$(LOADADDR
) \
17 KERNEL_ENTRY
=$(KERNEL_ENTRY
) \
21 $(MAKE
) -C ..
/generic
/lzma-loader
$(LOADER_MAKEOPTS
) clean
25 cat
$(KDIR
)/vmlinux |
$(STAGING_DIR
)/bin
/lzma e
-si
-so
-eos
-lc1
-lp2
-pb2
> $(KDIR
)/vmlinux.lzma
26 $(MAKE
) -C ..
/generic
/lzma-loader
$(LOADER_MAKEOPTS
) compile
30 cp
$(KDIR
)/vmlinux
$(BIN_DIR
)/openwrt-
$(BOARD
)-$(KERNEL
)-$(1).img
33 $(eval
$(call BuildImage
))
This page took 0.052558 seconds and 5 git commands to generate.