From 06c81414a4f1f93719a5c26eb0e5aa216d4d42a8 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 11 May 2007 22:20:39 +0000 Subject: Add a RB1xx profile to generate RouterBoard RB1xx series image and kernel command line hack patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7194 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120-2.6/image/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'target/linux/adm5120-2.6/image/Makefile') diff --git a/target/linux/adm5120-2.6/image/Makefile b/target/linux/adm5120-2.6/image/Makefile index 025146077..9c7b9bd7b 100644 --- a/target/linux/adm5120-2.6/image/Makefile +++ b/target/linux/adm5120-2.6/image/Makefile @@ -62,6 +62,10 @@ define Image/Build/MyLoader $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(3)-$(2).bin endef +define Image/Build/RouterBoard + $(CP) $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-vmlinux +endef + define Image/Build $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) $(STAGING_DIR)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-$(1)-noloader.trx -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1) @@ -88,6 +92,9 @@ ifneq ($(1),jffs2-128K) $(call Image/Build/MyLoader,$(1),wpp54g,$(patsubst jffs2-%,jffs2,$(1)),WPP54G) $(call Image/Build/MyLoader,$(1),wpp54ag,$(patsubst jffs2-%,jffs2,$(1)),WPP54AG) endif +ifeq ($(1),tgz) + $(call Image/Build/RouterBoard) +endif endef $(eval $(call BuildImage)) -- cgit v1.2.3