1 include $(TOPDIR)/rules.mk
2 include $(INCLUDE_DIR)/image.mk
4 LOADADDR = 0x8108c8f4 # RAM start + 16M
5 KERNEL_ENTRY = 0x80100000 # Default kernel entry in arch/mips/Makefile
6 RAMSIZE = 0x01000000 # 64MB
10 LOADADDR=$(LOADADDR) \
11 KERNEL_ENTRY=$(KERNEL_ENTRY) \
15 $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) clean
19 cat $(KDIR)/vmlinux | $(STAGING_DIR)/bin/lzma e -si -so -eos -lc1 -lp2 -pb2 > $(KDIR)/vmlinux.lzma
20 $(MAKE) -C ../generic/lzma-loader $(LOADER_MAKEOPTS) compile
24 cp $(KDIR)/vmlinux $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).img
27 $(eval $(call BuildImage))