Changeset 12545


Ignore:
Timestamp:
2008-09-07T15:28:07+02:00 (8 years ago)
Author:
juhosg
Message:

[ar71xx] build more image types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/image/Makefile

    r12453 r12545  
    1 #  
     1# 
    22# Copyright (C) 2008 OpenWrt.org 
    33# 
     
    88include $(INCLUDE_DIR)/image.mk 
    99 
     10VMLINUX:=openwrt-$(BOARD)-vmlinux 
     11 
     12ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) 
     13        VMLINUX:=openwrt-$(BOARD)-vmlinux-initramfs 
     14endif 
     15 
    1016define Image/BuildKernel 
    11         cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf 
     17        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(VMLINUX).elf 
     18        cp $(KDIR)/vmlinux $(BIN_DIR)/$(VMLINUX).bin 
    1219        gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz 
    1320        $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.bin.l7 
    14         dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.lzma bs=65536 conv=sync 
    15         dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/openwrt-$(BOARD)-vmlinux.gz bs=65536 conv=sync 
     21        dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/$(VMLINUX).lzma bs=65536 conv=sync 
     22        dd if=$(KDIR)/vmlinux.bin.gz of=$(BIN_DIR)/$(VMLINUX).gz bs=65536 conv=sync 
    1623        $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.lzma 
    1724        mkimage -A mips -O linux -T kernel -a 0x80060000 -C gzip -e \ 
Note: See TracChangeset for help on using the changeset viewer.