3 LOADADDR
= 0x81000000 # RAM start + 16M
4 KERNEL_ENTRY
= 0x80100000
5 RAMSIZE
= 0x00100000 # 1MB
10 KERNEL_ENTRY
=$(KERNEL_ENTRY
) \
14 $(MAKE
) -C ..
/generic
/lzma-loader
$(LOADER_MAKEOPTS
) clean
18 cat
$(KDIR
)/vmlinux |
$(STAGING_DIR
)/bin
/lzma e
-si
-so
-eos
-lc1
-lp2
-pb2
> $(KDIR
)/vmlinux.lzma
19 $(MAKE
) -C ..
/generic
/lzma-loader
$(LOADER_MAKEOPTS
) clean compile
22 define Image
/BuildKernel
23 .
/addVersion
-n ArubaOS
$(KDIR
)/loader.elf
$(BIN_DIR
)/openwrt-
$(BOARD
)-$(KERNEL
).ari version
28 @dd if
=$(BIN_DIR
)/openwrt-
$(BOARD
)-$(KERNEL
).ari of
=$(KDIR
)/image.tmp bs
=655360 conv
=sync
29 @cat
$(KDIR
)/root.
$(1) >> $(KDIR
)/image.tmp
30 @dd if
=$(KDIR
)/image.tmp of
=$(BIN_DIR
)/openwrt-
$(BOARD
)-$(KERNEL
)-$(patsubst jffs2-
%,jffs2
,$(1)).bin bs
=3604480 conv
=sync
31 @
rm -f
$(KDIR
)/image.tmp
35 $(eval
$(call BuildImage
))
This page took 0.039619 seconds and 5 git commands to generate.