5eb5c2f2f132e599a5873983590f710c0eb3269e
[openwrt/svn-archive/archive.git] / target / linux / coldfire / image / Makefile
1 #
2 # Copyright (C) 2009 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
11
12 define Image/Prepare
13 endef
14
15 define Image/BuildKernel
16 endef
17
18 define Image/Build
19 $(call Image/Build/$(1),$(1))
20 endef
21
22 define Image/Build/jffs2-128k
23 endef
24
25 define Image/Build/squashfs
26 $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
27 endef
28
29 $(eval $(call BuildImage))