2 # Copyright (C) 2010 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 JFFS2_BLOCKSIZE=128k 16k
11 #JFFS2OPTS += -n -s 2048
14 define Image/BuildKernel
16 cp $(KDIR)/vmlinuz $(BIN_DIR)/$(IMG_PREFIX)-zImage
20 cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz
24 define Image/Build/squashfs
25 $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-root.$(1))
28 $(eval $(call BuildImage))