diff --git a/iopsys-brcm63xx-arm/Makefile b/iopsys-brcm63xx-arm/Makefile
index fe5a5476e94a4bf1d1dae2ad3d5cda33ffc4c4b8..607760de98ec242bb8a08f65a8de90aa60317cd9 100644
--- a/iopsys-brcm63xx-arm/Makefile
+++ b/iopsys-brcm63xx-arm/Makefile
@@ -12,6 +12,7 @@ BOARDNAME:=Iopsys Broadcom ARM
 FEATURES:=usb jffs2_nand nand ubifs
 MAINTAINER:=Benjamin Larsson <benjamin.larsson@inteno.se>
 CFLAGS:=-Os -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp
+CFLAGS += -DCONFIG_TARGET_iopsys_brcm63xx_arm
 
 LINUX_VERSION:=4.1.27
 
diff --git a/iopsys-brcm63xx-mips/Makefile b/iopsys-brcm63xx-mips/Makefile
index 939025348a2ba7672bfc4544fcd5fc39d294e92d..a3d222a14f3c6023f73e7a05a655a4b230dab8e2 100644
--- a/iopsys-brcm63xx-mips/Makefile
+++ b/iopsys-brcm63xx-mips/Makefile
@@ -12,6 +12,7 @@ BOARDNAME:=Iopsys Broadcom MIPS
 FEATURES:=usb nand ubifs
 MAINTAINER:=Benjamin Larsson <benjamin.larsson@inteno.se>
 CFLAGS:=-Os -pipe -mips32 -mtune=mips32 -fno-caller-saves
+CFLAGS += -DCONFIG_TARGET_iopsys_brcm63xx_mips
 
 LINUX_VERSION:=4.1.27