brcm2708: fix SUBTARGET checks for bcm2709/bcm2710
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 20 May 2016 17:07:36 +0000 (19:07 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 20 May 2016 17:07:36 +0000 (19:07 +0200)
This regression was introduced in commit cf58007a

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/brcm2708/image/Makefile

index af45cf47c6fb78021fa12648da551bddf2b5d6d1..269e0159c95190bd89318093d34a9b31a96eff7c 100644 (file)
@@ -65,7 +65,7 @@ define Device/rpi-2
   DEVICE_TITLE := Raspberry Pi 2 B
   DEVICE_DTS := bcm2709-rpi-2-b
 endef
-ifeq ($(SUBTARGET),bcm2708)
+ifeq ($(SUBTARGET),bcm2709)
   TARGET_DEVICES += rpi-2
 endif
 
@@ -74,7 +74,7 @@ define Device/rpi-3
   DEVICE_DTS := bcm2710-rpi-3-b
   DEVICE_PACKAGES := brcmfmac43430-firmware-sdio kmod-brcmfmac wpad-mini
 endef
-ifeq ($(SUBTARGET),bcm2708)
+ifeq ($(SUBTARGET),bcm2710)
   TARGET_DEVICES += rpi-3
 endif