summaryrefslogtreecommitdiff
path: root/payloads/libpayload/sample/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/sample/Makefile')
-rw-r--r--payloads/libpayload/sample/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/sample/Makefile b/payloads/libpayload/sample/Makefile
index 637e45dee1..1249e9a017 100644
--- a/payloads/libpayload/sample/Makefile
+++ b/payloads/libpayload/sample/Makefile
@@ -26,8 +26,13 @@
## SUCH DAMAGE.
##
+
# Sample libpayload Makefile.
include ../.config
+ifeq ($(CONFIG_LP_ARCH_MOCK),y)
+$(error This sample program does not support ARCH_MOCK. Use sample/arch_mock instead)
+endif
+
include ../build/xcompile
ARCH-$(CONFIG_LP_ARCH_ARM) := arm