linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected
[openwrt.git] / target / linux / omap24xx / 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
11 JFFS2OPTS += --little-endian --pagesize=0x800 --no-cleanmarkers --pad
12
13
14 define Image/BuildKernel
15 $(CP) $(LINUX_DIR)/arch/arm/boot/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage
16 chmod 0644 $(BIN_DIR)/$(IMG_PREFIX)-zImage
17 endef
18
19 define Image/Build/squashfs
20 $(call prepare_generic_squashfs,$(BIN_DIR)/$(IMG_PREFIX)-root.$(1))
21 endef
22
23 define Image/Build
24 $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-root.$(1)
25 $(call Image/Build/$(1),$(1))
26 endef
27
28
29 $(eval $(call BuildImage))
This page took 0.048719 seconds and 5 git commands to generate.