From 4aca233fba3bda76868b6a4b4fee47eddee01068 Mon Sep 17 00:00:00 2001
From: Ronny Nilsson <ronny.nilsson@inteno.se>
Date: Tue, 7 Nov 2017 16:18:36 +0100
Subject: [PATCH] sdk: pass a C define of what architecture we build for to all
 compilations

Same as 8276185f0598f65769e14835409da683f1d4ffe9 but for Mediatek
---
 iopsys-ramips/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iopsys-ramips/Makefile b/iopsys-ramips/Makefile
index 5edf60859..a0ca4d2c3 100644
--- a/iopsys-ramips/Makefile
+++ b/iopsys-ramips/Makefile
@@ -19,6 +19,8 @@ include $(INCLUDE_DIR)/target.mk
 DEFAULT_PACKAGES += \
 	kmod-leds-gpio kmod-gpio-button-hotplug wpad-mini swconfig
 
+CFLAGS += -DCONFIG_TARGET_iopsys_ramips
+
 define Target/Description
 	Build firmware images for Mediatek boards with drivers from the Mediatek STK.
 endef
-- 
GitLab