From patchwork Thu Sep 24 13:11:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Ardelean X-Patchwork-Id: 522309 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 6C65D1401CD for ; Thu, 24 Sep 2015 23:12:17 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=joWAptYf; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id A64632804AF; Thu, 24 Sep 2015 15:10:49 +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,FREEMAIL_FROM, T_DKIM_INVALID, T_SUBJ_BRKN_WORDNUMS autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id E69072802B3 for ; Thu, 24 Sep 2015 15:10:23 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 24 Sep 2015 15:10:23 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so111887068wic.0 for ; Thu, 24 Sep 2015 06:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=06WCXLVJDckLqSOm7zbyvf0Q6jcWDvuee3+YOFesQqA=; b=joWAptYfpw2BJbVqQ+WIRapM8nuOHir5RxbElm1+fdzSnfN2DrEgabRKEtbJ57bSWz P6/DicBvc46QjH0Z+g7aPzk7sxyDhP3fq4LQJkERlNTyjNt67kUU2n8Ap72gJUxGYFih 2ZnSr89IYpT1qms1RGct65zFWzTbHl+/DC5R4UI7X3yZvfD8S/1IQJQfzRwNOtt4Qorm 1PPI20cJTU1kS8Vu/OunyPYXX6nw/Pjt5saF2epWT76uOiC10S8WX4ZVqk8wO2qR1tmC KEmuLz19+EU820RwRN14hIOuuPNJGDU4lZkkGmHrffc05ljkKgVx9nmNLERXgSR0bLFB fpgw== X-Received: by 10.180.12.241 with SMTP id b17mr328231wic.55.1443100300247; Thu, 24 Sep 2015 06:11:40 -0700 (PDT) Received: from orion.ocedo.cluj.local ([5.2.198.78]) by smtp.gmail.com with ESMTPSA id l17sm12327877wjr.18.2015.09.24.06.11.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Sep 2015 06:11:39 -0700 (PDT) From: Alexandru Ardelean To: openwrt-devel@lists.openwrt.org Date: Thu, 24 Sep 2015 16:11:33 +0300 Message-Id: <1443100293-23766-1-git-send-email-ardeleanalex@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1442913914-30638-1-git-send-email-ardeleanalex@gmail.com> References: <1442913914-30638-1-git-send-email-ardeleanalex@gmail.com> Subject: [OpenWrt-Devel] [PATCH] target/mpc85xx: check if 'generic' subtarget for image file cuImage.tl-wdr4900-v1 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" Only add 'cuImage.tl-wdr4900-v1' to KERNEL_IMAGES if the selected subtarget is 'generic'. Signed-off-by: Alexandru Ardelean --- target/linux/mpc85xx/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile index e43327a..5f3ad6c 100644 --- a/target/linux/mpc85xx/Makefile +++ b/target/linux/mpc85xx/Makefile @@ -16,10 +16,13 @@ SUBTARGETS=generic p1020 KERNEL_PATCHVER:=3.18 -KERNEL_IMAGES := zImage cuImage.tl-wdr4900-v1 - include $(INCLUDE_DIR)/target.mk +KERNEL_IMAGES := zImage +ifeq ($(SUBTARGET),generic) +KERNEL_IMAGES += cuImage.tl-wdr4900-v1 +endif + DEFAULT_PACKAGES += \ kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \ kmod-leds-gpio kmod-booke-wdt \