From patchwork Mon Oct 26 10:12:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 55848 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9QADrkc006509 for ; Mon, 26 Oct 2009 10:17:37 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755502AbZJZKRc (ORCPT ); Mon, 26 Oct 2009 06:17:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755501AbZJZKRc (ORCPT ); Mon, 26 Oct 2009 06:17:32 -0400 Received: from mail-yx0-f187.google.com ([209.85.210.187]:46946 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755502AbZJZKRb (ORCPT ); Mon, 26 Oct 2009 06:17:31 -0400 Received: by yxe17 with SMTP id 17so9619393yxe.33 for ; Mon, 26 Oct 2009 03:17:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:date:message-id :subject; bh=bOFITSPOYvC7MYUX2eONizNN4k8OlKtVj/9t/HJ3iiA=; b=jBlSlbRzKaywrQNZ23k1+F4M2YfGviivEnJ16p+rl9E8Mw1+aAINB3HnbCiiDZXKLc 5G70RIE2/zNAxHM7UVJZdzXaeSJ9504iD/PvihYH33dT30FhPyPK7LfsiWl85WTsFHwl EBsNBkU63D76pxrh76lY3SdYKGRoAmiXCMdr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:subject; b=V61YSQGLqFh0TuU5b2/PW3vDQa7omZauxJFfhunlmpN6yc4+q2cvpxrVAzzi4FdfBv HGZXHogTOim7HQO2i1zdDD5ZcX6Je8a+A8nA2j8eV9z5GPQ1boXQM16yLZGJrIQrERBV UJ/BF8kVxx9bEayMexgOw5VQcKm7K6OPHxh2Y= Received: by 10.150.45.34 with SMTP id s34mr3410275ybs.274.1256552256160; Mon, 26 Oct 2009 03:17:36 -0700 (PDT) Received: from rxone.opensource.se (49.14.32.202.bf.2iij.net [202.32.14.49]) by mx.google.com with ESMTPS id 4sm1026354ywg.28.2009.10.26.03.17.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Oct 2009 03:17:35 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Cc: Magnus Damm , lethal@linux-sh.org Date: Mon, 26 Oct 2009 19:12:39 +0900 Message-Id: <20091026101239.13565.94659.sendpatchset@rxone.opensource.se> Subject: [PATCH] sh: add uImage.bin target Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org --- 0001/arch/sh/Makefile +++ work/arch/sh/Makefile 2009-10-26 18:54:04.000000000 +0900 @@ -199,7 +199,7 @@ endif libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) -BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec \ +BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec uImage.bin \ zImage vmlinux.srec romImage PHONY += maketools $(BOOT_TARGETS) FORCE --- 0001/arch/sh/boot/Makefile +++ work/arch/sh/boot/Makefile 2009-10-26 18:58:16.000000000 +0900 @@ -20,11 +20,12 @@ CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 CONFIG_ENTRY_OFFSET ?= 0x00001000 +suffix-y := bin suffix-$(CONFIG_KERNEL_GZIP) := gz suffix-$(CONFIG_KERNEL_BZIP2) := bz2 suffix-$(CONFIG_KERNEL_LZMA) := lzma -targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma +targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz uImage.bz2 uImage.lzma uImage.bin extra-y += vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma subdir- := compressed romimage @@ -88,6 +89,9 @@ $(obj)/uImage.gz: $(obj)/vmlinux.bin.gz $(obj)/uImage.lzma: $(obj)/vmlinux.bin.lzma $(call if_changed,uimage,lzma) +$(obj)/uImage.bin: $(obj)/vmlinux.bin + $(call if_changed,uimage,none) + OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec $(obj)/vmlinux.srec: $(obj)/compressed/vmlinux $(call if_changed,objcopy)