generic: ar8216: use the generic get_port_link implementation
[openwrt.git] / target / linux / coldfire / image / Makefile
1 #
2 # Copyright (C) 2009-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
12 define Image/Prepare
13 endef
14
15 define Image/BuildKernel
16 $(TARGET_CROSS)objcopy -O binary -R .bss -R .note -R .comment \
17 -R .note.gnu.build-id -S $(LINUX_DIR)/vmlinux $(KDIR)/vmlinux.bin
18 mkimage -A m68k -O linux -T kernel -a 0x00020000 -e 0x00020000 \
19 -C none -n 'M68K OpenWrt Linux-$(LINUX_VERSION)' \
20 -d $(KDIR)/vmlinux.bin $(BIN_DIR)/$(IMG_PREFIX)-uImage
21 endef
22
23 define Image/Build
24 $(call Image/Build/$(1),$(1))
25 endef
26
27 define Image/Build/jffs2-128k
28 endef
29
30 define Image/Build/squashfs
31 $(call prepare_generic_squashfs,$(KDIR)/root.squashfs)
32 endef
33
34 $(eval $(call BuildImage))
This page took 0.041495 seconds and 5 git commands to generate.