aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/image/router_le.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2007-10-02 09:09:55 +0000
committerGabor Juhos <juhosg@openwrt.org>2007-10-02 09:09:55 +0000
commit58fcfa7ea057045d19aad1050e5f21789503768b (patch)
tree6ec2d49c636b743ed8d1e5ee0a03631f3247dc2d /target/linux/adm5120/image/router_le.mk
parentb3ab6c458d859747f65317cfee2f2f270ff57382 (diff)
downloadupstream-58fcfa7ea057045d19aad1050e5f21789503768b.tar.gz
upstream-58fcfa7ea057045d19aad1050e5f21789503768b.tar.bz2
upstream-58fcfa7ea057045d19aad1050e5f21789503768b.zip
make image names shorten
SVN-Revision: 9089
Diffstat (limited to 'target/linux/adm5120/image/router_le.mk')
-rw-r--r--target/linux/adm5120/image/router_le.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/target/linux/adm5120/image/router_le.mk b/target/linux/adm5120/image/router_le.mk
index 54b9c4adca..be70ed21a5 100644
--- a/target/linux/adm5120/image/router_le.mk
+++ b/target/linux/adm5120/image/router_le.mk
@@ -226,7 +226,7 @@ endef
# Mikrotik RB-1xx
#
define Image/Build/Board/RB1xx/Initramfs
- $(CP) $(KDIR)/vmlinux.elf $(IMGNAME)-ramfs-rb1xx.elf
+ $(CP) $(KDIR)/vmlinux.elf $(call imgname,netboot,rb1xx)
endef
#
@@ -266,6 +266,7 @@ define Image/Build/Group/All
$(call Image/Build/Group/Edimax,$(1))
$(call Image/Build/Group/Cellvision,$(1))
$(call Image/Build/Group/Infineon,$(1))
+ $(call Image/Build/Board/RB1xx/$(1))
endef
#
@@ -311,14 +312,14 @@ define Image/Build/Profile/RouterBoard
$(call Image/Build/Board/RB1xx/$(1))
endef
-ifeq ($(PROFILE),Routerboard)
+ifeq ($(PROFILE),RouterBoard)
define Image/cmdline/yaffs2
- root=/dev/mtdblock1 rootfstype=yaffs2 init=/etc/preinit
+ root=/dev/mtdblock3 rootfstype=yaffs2 init=/etc/preinit
endef
define Image/BuildKernel/RouterBoard
- $(CP) $(KDIR)/vmlinux.elf $(IMGNAME)-rb1xx-vmlinux
- $(STAGING_DIR_HOST)/bin/patch-cmdline $(KDIR)/vmlinux.elf \
+ $(CP) $(KDIR)/vmlinux.elf $(call imgname,kernel,rb1xx)
+ $(STAGING_DIR_HOST)/bin/patch-cmdline $(call imgname,kernel,rb1xx) \
'$(strip $(call Image/cmdline/yaffs2))'
endef