From 564f87ef5bea16d5d1d8a9a80e8de77429159f26 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Mon, 18 May 2020 21:10:40 +0200 Subject: [PATCH] mpc85xx: rename generic subtarget to p1010 The mpc85xx-generic subtarget supports the QorIQ SoCs of the p1010 family. Rename the subtarget to reflect this affiliation as it's the case with the other mpc85xx subtargets. Signed-off-by: David Bauer --- target/linux/mpc85xx/Makefile | 2 +- target/linux/mpc85xx/image/Makefile | 2 +- target/linux/mpc85xx/{generic => p1010}/config-default | 0 .../linux/mpc85xx/{generic => p1010}/profiles/00-default.mk | 2 +- target/linux/mpc85xx/{generic => p1010}/target.mk | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) rename target/linux/mpc85xx/{generic => p1010}/config-default (100%) rename target/linux/mpc85xx/{generic => p1010}/profiles/00-default.mk (81%) rename target/linux/mpc85xx/{generic => p1010}/target.mk (53%) diff --git a/target/linux/mpc85xx/Makefile b/target/linux/mpc85xx/Makefile index 4bb4d8812d..2ffdfeddcd 100644 --- a/target/linux/mpc85xx/Makefile +++ b/target/linux/mpc85xx/Makefile @@ -11,7 +11,7 @@ BOARD:=mpc85xx BOARDNAME:=Freescale MPC85xx CPU_TYPE:=8540 FEATURES:=squashfs ramdisk -SUBTARGETS:=generic p1020 p2020 +SUBTARGETS:=p1010 p1020 p2020 KERNEL_PATCHVER:=5.4 diff --git a/target/linux/mpc85xx/image/Makefile b/target/linux/mpc85xx/image/Makefile index 40002c13c4..225f871699 100644 --- a/target/linux/mpc85xx/image/Makefile +++ b/target/linux/mpc85xx/image/Makefile @@ -21,7 +21,7 @@ define Device/Default SUPPORTED_DEVICES := $(subst _,$(comma),$(1)) endef -ifeq ($(SUBTARGET),generic) +ifeq ($(SUBTARGET),p1010) define Device/tplink_tl-wdr4900-v1 DEVICE_VENDOR := TP-Link diff --git a/target/linux/mpc85xx/generic/config-default b/target/linux/mpc85xx/p1010/config-default similarity index 100% rename from target/linux/mpc85xx/generic/config-default rename to target/linux/mpc85xx/p1010/config-default diff --git a/target/linux/mpc85xx/generic/profiles/00-default.mk b/target/linux/mpc85xx/p1010/profiles/00-default.mk similarity index 81% rename from target/linux/mpc85xx/generic/profiles/00-default.mk rename to target/linux/mpc85xx/p1010/profiles/00-default.mk index 67507ace8a..5356aaa939 100644 --- a/target/linux/mpc85xx/generic/profiles/00-default.mk +++ b/target/linux/mpc85xx/p1010/profiles/00-default.mk @@ -9,7 +9,7 @@ define Profile/Default endef define Profile/Default/Description - Default package set compatible with most MPC85xx boards. + Default package set compatible with most P1010 boards. endef $(eval $(call Profile,Default)) diff --git a/target/linux/mpc85xx/generic/target.mk b/target/linux/mpc85xx/p1010/target.mk similarity index 53% rename from target/linux/mpc85xx/generic/target.mk rename to target/linux/mpc85xx/p1010/target.mk index f826fe4d15..12ed78ace1 100644 --- a/target/linux/mpc85xx/generic/target.mk +++ b/target/linux/mpc85xx/p1010/target.mk @@ -1,8 +1,8 @@ -BOARDNAME:=Generic +BOARDNAME:=P1010 FEATURES+=nand KERNELNAME:=simpleImage.tl-wdr4900-v1 define Target/Description - Build firmware images for generic MPC85xx based boards. + Build firmware images for P1010 based boards. endef -- 2.25.1