From 8e00149f1144264e9b414beaca86a48d8677cfbf Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 15 Jun 2019 14:38:40 +0200 Subject: [PATCH] targets: add deprecated flags as appropriate --- targets/ar71xx-tiny | 5 +++++ targets/ramips-rt305x | 9 +++++++-- targets/targets.mk | 2 ++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/targets/ar71xx-tiny b/targets/ar71xx-tiny index d82d8f79..1d09fc17 100644 --- a/targets/ar71xx-tiny +++ b/targets/ar71xx-tiny @@ -1,6 +1,7 @@ config 'CONFIG_GLUON_SPECIALIZE_KERNEL=y' no_opkg() + packages { '-uboot-envtools', '-kmod-usb-core', @@ -9,6 +10,10 @@ packages { '-kmod-usb-ledtrig-usbport', } +defaults { + deprecated = true, -- 4/32 +} + -- D-Link diff --git a/targets/ramips-rt305x b/targets/ramips-rt305x index 2ee6cac3..b3f8c89f 100644 --- a/targets/ramips-rt305x +++ b/targets/ramips-rt305x @@ -2,12 +2,16 @@ config '# CONFIG_KERNEL_KALLSYMS is not set' -- A5 -device('a5-v11', 'a5-v11') +device('a5-v11', 'a5-v11', { + deprecated = true, -- 4/32 +}) -- D-Link -device('d-link-dir-615-h1', 'dir-615-h1') +device('d-link-dir-615-h1', 'dir-615-h1', { + deprecated = true, -- 4/32 +}) device('d-link-dir-615-d', 'dir-615-d', { aliases = { @@ -16,6 +20,7 @@ device('d-link-dir-615-d', 'dir-615-d', { 'd-link-dir-615-d3', 'd-link-dir-615-d4', }, + deprecated = true, -- 4/32 }) diff --git a/targets/targets.mk b/targets/targets.mk index f89c82f3..b712e103 100644 --- a/targets/targets.mk +++ b/targets/targets.mk @@ -1,7 +1,9 @@ GLUON_WLAN_MESH_11s := $(filter 11s,$(GLUON_WLAN_MESH)) $(eval $(call GluonTarget,ar71xx,generic)) +ifneq ($(GLUON_DEPRECATED),0) $(eval $(call GluonTarget,ar71xx,tiny)) +endif $(eval $(call GluonTarget,ar71xx,nand)) $(eval $(call GluonTarget,brcm2708,bcm2708)) $(eval $(call GluonTarget,brcm2708,bcm2709))