mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-18 15:59:35 +00:00
Build breaks when executing make with run_tests for sub-folders
under powerpc. This is because, CFLAGS and GIT_VERSION macros are
defined in Makefile of toplevel powerpc folder.
make: Entering directory '/home/maddy/linux/tools/testing/selftests/powerpc/mm'
gcc hugetlb_vs_thp_test.c ../harness.c ../utils.c -o /home/maddy/selftest_output//hugetlb_vs_thp_test
hugetlb_vs_thp_test.c:6:10: fatal error: utils.h: No such file or directory
6 | #include "utils.h"
| ^~~~~~~~~
compilation terminated.
Fix this by adding the flags.mk in each sub-folder Makefile. Also remove
the CFLAGS and GIT_VERSION macros from powerpc/ folder Makefile since
the same is definied in flags.mk
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240229093711.581230-3-maddy@linux.ibm.com
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| settings | ||
| tm-exec.c | ||
| tm-fork.c | ||
| tm-poison.c | ||
| tm-resched-dscr.c | ||
| tm-signal-context-chk-fpu.c | ||
| tm-signal-context-chk-gpr.c | ||
| tm-signal-context-chk-vmx.c | ||
| tm-signal-context-chk-vsx.c | ||
| tm-signal-context-force-tm.c | ||
| tm-signal-msr-resv.c | ||
| tm-signal-pagefault.c | ||
| tm-signal-sigreturn-nt.c | ||
| tm-signal-stack.c | ||
| tm-signal.S | ||
| tm-sigreturn.c | ||
| tm-syscall-asm.S | ||
| tm-syscall.c | ||
| tm-tar.c | ||
| tm-tmspr.c | ||
| tm-trap.c | ||
| tm-unavailable.c | ||
| tm-vmx-unavail.c | ||
| tm-vmxcopy.c | ||
| tm.h | ||