source: trunk/target/linux/adm5120/image/rb1xx.mk @ 31513

Last change on this file since 31513 was 31513, checked in by juhosg, 4 years ago

adm5120: create a new subtarget for the RB1xx devices

  • Property svn:eol-style set to native
File size: 569 bytes
Line 
1#
2# Copyright (C) 2007,2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8
9define Image/cmdline/yaffs2
10        root=/dev/mtdblock3 rootfstype=yaffs2
11endef
12
13define Image/BuildKernel/RouterBoard
14        $(CP) $(KDIR)/vmlinux.elf $(call imgname,kernel,rb1xx)
15        $(STAGING_DIR_HOST)/bin/patch-cmdline $(call imgname,kernel,rb1xx) \
16                '$(strip $(call Image/cmdline/yaffs2))'
17endef
18
19ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
20  define Image/BuildKernel
21        $(call Image/BuildKernel/RouterBoard)
22  endef
23endif
24
Note: See TracBrowser for help on using the repository browser.