From 4e2648db9c5f7b2281551694597102612f54460d Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 18 Oct 2016 20:11:23 +0100 Subject: ARM: remove indirection of asm/mach-types.h Arrange for mach-types.h to be directly generated in the relevant path, so we don't need a one-liner file in arch/arm/include/asm/. Signed-off-by: Russell King --- arch/arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/Makefile') diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 6be9ee148b78..2208a73ba1d4 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -312,7 +312,7 @@ all: $(KBUILD_IMAGE) $(KBUILD_DTBS) boot := arch/arm/boot archprepare: - $(Q)$(MAKE) $(build)=arch/arm/tools include/generated/mach-types.h + $(Q)$(MAKE) $(build)=arch/arm/tools kapi # Convert bzImage to zImage bzImage: zImage -- cgit From 96a8fae0fe094b6a26a3ec88b2f097418f269cfe Mon Sep 17 00:00:00 2001 From: Russell King Date: Tue, 18 Oct 2016 19:57:01 +0100 Subject: ARM: convert to generated system call tables Convert ARM to use a similar mechanism to x86 to generate the unistd.h system call numbers and the various kernel system call tables. This means that rather than having to edit three places (asm/unistd.h for the total number of system calls, uapi/asm/unistd.h for the system call numbers, and arch/arm/kernel/calls.S for the call table) we have only one place to edit, making the process much more simple. The scripts have knowledge of the table padding requirements, so there's no need to worry about __NR_syscalls not fitting within the immediate constant field of ALU instructions anymore. Signed-off-by: Russell King --- arch/arm/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/Makefile') diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 2208a73ba1d4..5a26576fba9a 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -311,6 +311,9 @@ all: $(KBUILD_IMAGE) $(KBUILD_DTBS) boot := arch/arm/boot +archheaders: + $(Q)$(MAKE) $(build)=arch/arm/tools uapi + archprepare: $(Q)$(MAKE) $(build)=arch/arm/tools kapi -- cgit