ppc40x: add sysupgrade support
[openwrt.git] / target / linux / mx2 / image / Makefile
1 include $(TOPDIR)/rules.mk
2 include $(INCLUDE_DIR)/image.mk
3
4 JFFS2_BLOCKSIZE=128k 16k
5 #JFFS2OPTS += -n -s 2048
6 JFFS2OPTS += -n
7
8 define Image/BuildKernel
9 mkdir -p $(BIN_DIR)
10 cp $(KDIR)/vmlinuz $(BIN_DIR)/openwrt-$(BOARD)-zImage
11 endef
12
13 define Image/Prepare
14 cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz
15 endef
16
17
18 define Image/Build/squashfs
19 $(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-root.$(1))
20 endef
21
22 $(eval $(call BuildImage))
This page took 0.042227 seconds and 5 git commands to generate.