This is from commit b2d35fa5fc80c27e
+top_srcdir ?= ../../../..
+include $(top_srcdir)/scripts/subarch.include
When trying to build this test, it will enter
/home/ubuntu/autotest/client/tmp/ubuntu_kernel_selftests/src/linux/tools/testing/selftests/powerpc/alignment
But the subarch.include is now 5 level up instead of 4, but just changing this is from "../../../.." to "../../../../.." is not enough, as it will try to build in the powerpc directory as well. The 5 level include will break it here.
This is from commit b2d35fa5fc80c27e /scripts/ subarch. include
+top_srcdir ?= ../../../..
+include $(top_srcdir)
When trying to build this test, it will enter autotest/ client/ tmp/ubuntu_ kernel_ selftests/ src/linux/ tools/testing/ selftests/ powerpc/ alignment
/home/ubuntu/
But the subarch.include is now 5 level up instead of 4, but just changing this is from "../../../.." to "../../../../.." is not enough, as it will try to build in the powerpc directory as well. The 5 level include will break it here.