1 include $(TOPDIR
)/rules.mk
2 include $(INCLUDE_DIR
)/image.mk
4 JFFS2_BLOCKSIZE
=128k
16k
5 #JFFS2OPTS += -n -s 2048
8 define Image
/BuildKernel
10 cp
$(KDIR
)/vmlinuz
$(BIN_DIR
)/openwrt-
$(BOARD
)-zImage
14 cp
$(LINUX_DIR
)/arch
/arm
/boot
/zImage
$(KDIR
)/vmlinuz
18 define Image
/Build
/squashfs
19 $(call prepare_generic_squashfs
,$(BIN_DIR
)/openwrt-
$(BOARD
)-$(KERNEL
)-root.
$(1))
22 $(eval
$(call BuildImage
))