]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mpc85xx: rename generic subtarget to p1010
authorDavid Bauer <mail@david-bauer.net>
Mon, 18 May 2020 19:10:40 +0000 (21:10 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 18 May 2020 19:11:22 +0000 (21:11 +0200)
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 <mail@david-bauer.net>
target/linux/mpc85xx/Makefile
target/linux/mpc85xx/image/Makefile
target/linux/mpc85xx/p1010/config-default [moved from target/linux/mpc85xx/generic/config-default with 100% similarity]
target/linux/mpc85xx/p1010/profiles/00-default.mk [moved from target/linux/mpc85xx/generic/profiles/00-default.mk with 81% similarity]
target/linux/mpc85xx/p1010/target.mk [moved from target/linux/mpc85xx/generic/target.mk with 53% similarity]

index 4bb4d8812d1bbf44b3138616931ea0ac4d7b32d8..2ffdfeddcd98e1b905ae375ed59d5691168cc17b 100644 (file)
@@ -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
 
index 40002c13c47537194b76f27b55366ff7b6910c69..225f871699ffc58fc7c4ce6a2c865885970c0dc4 100644 (file)
@@ -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
similarity index 81%
rename from target/linux/mpc85xx/generic/profiles/00-default.mk
rename to target/linux/mpc85xx/p1010/profiles/00-default.mk
index 67507ace8a34ef2735c2c845ad3c5d798e026f23..5356aaa9394b00b921b35c3e03fbe55154dfb949 100644 (file)
@@ -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))
similarity index 53%
rename from target/linux/mpc85xx/generic/target.mk
rename to target/linux/mpc85xx/p1010/target.mk
index f826fe4d15f70fe11afd8e2ae6c5ce43ade166a4..12ed78ace19833b7d93db066dadac1bbd01e9c7b 100644 (file)
@@ -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