target.mk: fix arm architecture level detection
authorLu jicong <jiconglu58@gmail.com>
Tue, 2 Jul 2024 13:01:49 +0000 (21:01 +0800)
committerRISCi_ATOM <bob@bobcall.me>
Tue, 9 Jul 2024 16:24:11 +0000 (12:24 -0400)
commit0e257047e39c61fd3333358290fee237eb72ff58
tree087207f1044fb74cec44549c1939296165631fba
parentb2431e82ec1603a57f11fd7e15f4e8b588fd0a0d
target.mk: fix arm architecture level detection

Now kernel configs of armv6k CPUs don't include CONFIG_CPU_V6.
So armv6k CPUs cannot be detected as arm_v6.
Fix this by adding detection for CONFIG_CPU_V6K.

Signed-off-by: Lu jicong <jiconglu58@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15855
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit d55083fbcaea9cdd2ebc10a2d38989ad485a5357)
include/target.mk