[kernel] refresh 2.6.32 patches
[openwrt.git] / target / linux / imx21 / image / Makefile
1 #
2 # Copyright (C) 2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/image.mk
9
10 JFFS2_BLOCKSIZE=128k 16k
11 #JFFS2OPTS += -n -s 2048
12 JFFS2OPTS += -n
13
14 define Image/BuildKernel
15 mkdir -p $(BIN_DIR)
16 cp $(KDIR)/vmlinuz $(BIN_DIR)/$(IMG_PREFIX)-zImage
17 endef
18
19 define Image/Prepare
20 cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz
21 endef
22
23
24 define Image/Build/squashfs
25 $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-root.$(1))
26 endef
27
28 $(eval $(call BuildImage))
This page took 0.04821 seconds and 5 git commands to generate.