From ff4a030eb372b8608f33c0ab6ac455945b1cb590 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 6 Jun 2014 19:24:40 +0200 Subject: [PATCH] Disable images and targets which aren't known to work by default They can still be enabled by supplying BROKEN=1. --- targets/ar71xx-generic/profiles.mk | 10 ++++++++++ targets/targets.mk | 3 +++ 2 files changed, 13 insertions(+) diff --git a/targets/ar71xx-generic/profiles.mk b/targets/ar71xx-generic/profiles.mk index 88b1fd09..df03215c 100644 --- a/targets/ar71xx-generic/profiles.mk +++ b/targets/ar71xx-generic/profiles.mk @@ -25,7 +25,10 @@ $(eval $(call GluonModel,TLWR841,tl-wr841n-v9-squashfs,tp-link-tl-wr841n-nd-v9)) # TL-WR842N/ND v1, v2 $(eval $(call GluonProfile,TLWR842)) $(eval $(call GluonModel,TLWR842,tl-wr842n-v1-squashfs,tp-link-tl-wr842n-nd-v1)) + +ifeq ($(BROKEN),1) $(eval $(call GluonModel,TLWR842,tl-wr842n-v2-squashfs,tp-link-tl-wr842n-nd-v2)) +endif # TL-WR941N/ND v2, v3, v4 $(eval $(call GluonProfile,TLWR941)) @@ -62,7 +65,11 @@ $(eval $(call GluonModel,TLMR3220,tl-mr3220-v1-squashfs,tp-link-tl-mr3220-v1)) # TL-MR3420 v1, v2 $(eval $(call GluonProfile,TLMR3420)) $(eval $(call GluonModel,TLMR3420,tl-mr3420-v1-squashfs,tp-link-tl-mr3420-v1)) + +ifeq ($(BROKEN),1) $(eval $(call GluonModel,TLMR3420,tl-mr3420-v2-squashfs,tp-link-tl-mr3420-v2)) +endif + ## Ubiquiti (everything) $(eval $(call GluonProfile,UBNT)) @@ -71,6 +78,9 @@ $(eval $(call GluonModel,UBNT,ubnt-nano-m-squashfs,ubiquiti-nanostation-m)) $(eval $(call GluonModel,UBNT,ubnt-unifi-squashfs,ubiquiti-unifi)) $(eval $(call GluonModel,UBNT,ubnt-unifi-outdoor-squashfs,ubiquiti-unifiap-outdoor)) + +## D-Link + # D-Link DIR-615 rev. E1 $(eval $(call GluonProfile,DIR615E1)) $(eval $(call GluonModel,DIR615E1,dir-615-e1-squashfs,d-link-dir-615-rev-e1)) diff --git a/targets/targets.mk b/targets/targets.mk index 04296e2f..bc21485a 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -1,2 +1,5 @@ $(eval $(call GluonTarget,ar71xx,generic)) + +ifeq ($(BROKEN),1) $(eval $(call GluonTarget,x86,generic)) +endif