summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/arm/Makefile2
-rw-r--r--kexec/arch/ppc/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/kexec/arch/arm/Makefile b/kexec/arch/arm/Makefile
index 192e6ec..682db78 100644
--- a/kexec/arch/arm/Makefile
+++ b/kexec/arch/arm/Makefile
@@ -16,7 +16,7 @@ arm_KEXEC_SRCS+= kexec/fs2dt.c
libfdt_SRCS += $(LIBFDT_SRCS:%=kexec/libfdt/%)
-CPPFLAGS+=-I$(srcdir)/kexec/libfdt
+arm_CPPFLAGS = -I$(srcdir)/kexec/libfdt
arm_KEXEC_SRCS += $(libfdt_SRCS)
diff --git a/kexec/arch/ppc/Makefile b/kexec/arch/ppc/Makefile
index 312c2b9..71871f1 100644
--- a/kexec/arch/ppc/Makefile
+++ b/kexec/arch/ppc/Makefile
@@ -20,11 +20,11 @@ ppc_libfdt_SRCS = kexec/arch/ppc/libfdt-wrapper.c
libfdt_SRCS += $(LIBFDT_SRCS:%=kexec/libfdt/%)
ppc_ARCH_REUSE_INITRD =
-CPPFLAGS+=-I$(srcdir)/kexec/libfdt
+ppc_CPPFLAGS = -I$(srcdir)/kexec/libfdt
ppc_KEXEC_SRCS += $(libfdt_SRCS) $(ppc_libfdt_SRCS)
-ASFLAGS += -Wa,--noexecstack
+ppc_ASFLAGS = -Wa,--noexecstack
dist += kexec/arch/ppc/Makefile $(ppc_KEXEC_SRCS) \
kexec/arch/ppc/crashdump-powerpc.h kexec/arch/ppc/fixup_dtb.h \