From: Al Stone al.stone@linaro.org
Add the Makefile stuff to enable arm platform to build acpi blobs from the arch/arm/boot/asl/ directory.
Signed-off-by: Al Stone al.stone@linaro.org --- arch/arm/Makefile | 3 +++ arch/arm/boot/asl/Makefile | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 arch/arm/boot/asl/Makefile
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index ee4605f..eedae30 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -299,6 +299,9 @@ zinstall uinstall install: vmlinux dtbs: scripts $(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) dtbs
+%.acpi: scripts + $(Q)$(MAKE) $(build)=$(boot)/asl MACHINE=$(MACHINE) $@ + # We use MRPROPER_FILES and CLEAN_FILES now archclean: $(Q)$(MAKE) $(clean)=$(boot) diff --git a/arch/arm/boot/asl/Makefile b/arch/arm/boot/asl/Makefile new file mode 100644 index 0000000..56d60af --- /dev/null +++ b/arch/arm/boot/asl/Makefile @@ -0,0 +1,10 @@ +ifeq ($(CONFIG_ACPI),y) + +%.acpi: FORCE + $(call cmd,mab) + +endif + +subdir-$(CONFIG_ARCH_EXYNOS5) += exynos5-arndale.acpi + +clean-files += *.acpi