[openwrt/openwrt] malta: relocate CPU_TYPE setting to subtarget makefiles

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 27 17:49:03 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/29804086ee7b740224d01012656162a9518deb97

commit 29804086ee7b740224d01012656162a9518deb97
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Sun Aug 16 13:07:30 2020 -0700

    malta: relocate CPU_TYPE setting to subtarget makefiles
    
    Move CPU_TYPE:=24kc (32-bit) from the top-level target makefile to the
    be/le subtarget makefiles, which is consistent with the 64-bit subtargets.
    
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 target/linux/malta/Makefile     | 1 -
 target/linux/malta/be/target.mk | 1 +
 target/linux/malta/le/target.mk | 1 +
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/malta/Makefile b/target/linux/malta/Makefile
index 3f2c92c766..4beeb64b8b 100644
--- a/target/linux/malta/Makefile
+++ b/target/linux/malta/Makefile
@@ -8,7 +8,6 @@ include $(TOPDIR)/rules.mk
 
 BOARD:=malta
 BOARDNAME:=MIPS Malta CoreLV board (qemu)
-CPU_TYPE:=24kc
 SUBTARGETS:=le be le64 be64
 INITRAMFS_EXTRA_FILES:=
 FEATURES:=cpiogz ext4 ramdisk squashfs targz
diff --git a/target/linux/malta/be/target.mk b/target/linux/malta/be/target.mk
index 45949f50c8..8d306c8a15 100644
--- a/target/linux/malta/be/target.mk
+++ b/target/linux/malta/be/target.mk
@@ -1,4 +1,5 @@
 ARCH:=mips
+CPU_TYPE:=24kc
 SUBTARGET:=be
 BOARDNAME:=Big Endian
 
diff --git a/target/linux/malta/le/target.mk b/target/linux/malta/le/target.mk
index e642510621..feb0f1d04c 100644
--- a/target/linux/malta/le/target.mk
+++ b/target/linux/malta/le/target.mk
@@ -1,4 +1,5 @@
 ARCH:=mipsel
+CPU_TYPE:=24kc
 SUBTARGET:=le
 FEATURES+=source-only
 BOARDNAME:=Little Endian



More information about the lede-commits mailing list