From patchwork Wed May 20 08:54:12 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Morales Vega X-Patchwork-Id: 474237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6EF8514027F for ; Wed, 20 May 2015 18:54:58 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 1742F28C08A; Wed, 20 May 2015 10:53:11 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 0FEEF28C088 for ; Wed, 20 May 2015 10:53:01 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .samknows. - helo: .mail-wi0-f179.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -8.5 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Wed, 20 May 2015 10:52:56 +0200 (CEST) Received: by wicmc15 with SMTP id mc15so142529614wic.1 for ; Wed, 20 May 2015 01:54:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=XcNNtdWVqSszOiQyVeb9eu0zeL7rEL+mPc1Xi7h/Wfc=; b=aTeUbn9rijKKY73KjEdNLUHMhfb5AhBFczfIV9bLcLD/ICVaHPKBRVktLLbOmuVkr+ S8RXAAWbxMQuV2y6yTVczeObeaNW2dkV3ddRBIJbMdRhZ1Q9mhcFDAhcG0ItGORl2Fp2 4nW7CTAr/2KMQC8hRVRid/QVRb3wRm2L/Oo64i+pF89jQCArjXh9GqnkALFXynSOpcI3 RDgGJAOBeETnf3ZB14ychA2TFwer2dn4Wut5Ml12BoydSjnfs9iKwTQ5yyxphn3YBFdA +f+U42YhQcCd9RpRX066uszblvdo+RcXYbthfW1+tUOJu4PxQqV0oRyv0Tnu8IMgFayI yZnw== X-Gm-Message-State: ALoCoQmnca9IbYirw5exme5ZE78XJ4MgQifKYmXZdQhjsY5d1naAVMDVAbjLpJr8l46D5XVuS8PF X-Received: by 10.180.101.65 with SMTP id fe1mr39049209wib.22.1432112057587; Wed, 20 May 2015 01:54:17 -0700 (PDT) Received: from localhost.localdomain (5751e334.skybroadband.com. [87.81.227.52]) by mx.google.com with ESMTPSA id gj7sm2315097wib.4.2015.05.20.01.54.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 May 2015 01:54:16 -0700 (PDT) From: Cristian Morales Vega To: openwrt-devel@lists.openwrt.org Date: Wed, 20 May 2015 09:54:12 +0100 Message-Id: <1432112052-24092-1-git-send-email-cristian@samknows.com> X-Mailer: git-send-email 2.1.0 Subject: [OpenWrt-Devel] [PATCH] ramips: check size after padding X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Cristian Morales Vega --- target/linux/ramips/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile index e6b5112..13f7c66 100644 --- a/target/linux/ramips/image/Makefile +++ b/target/linux/ramips/image/Makefile @@ -35,7 +35,7 @@ define Device/Default KERNEL := $(KERNEL_DTB) | uImage lzma IMAGES := sysupgrade.bin IMAGE_SIZE := $(ralink_default_fw_size_8M) - IMAGE/sysupgrade.bin := append-kernel | append-rootfs | check-size $$$$(IMAGE_SIZE) | pad-rootfs + IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) endef define Build/patch-dtb