ath79: fix build warning

The image build code for the Ubiquiti Nanostation AC series adds the
factory image as to be build image. The same is already done by an
included recipe which results into an expanded IMAGE variable of:

  IMAGES = sysupgrade.bin factory.bin factory.bin

The build system doesn't like these duplicates and issues the following
warning:

  Makefile:82: warning: overriding recipe for target...

Get remove the duplicate factory image to get rid of the warning.

Fixes: 5736af8024 ("ath79: Add support for Ubiquiti NanoStation AC loco")
       fa3c2676ab ("ath79: Add support for Ubiquiti Nanostation AC")

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin 2018-10-07 15:33:35 +02:00
parent af78e90d4c
commit b09992a7d9

View file

@ -89,7 +89,6 @@ define Device/ubnt_nanostation-ac
DEVICE_TITLE := Ubiquiti Nanostation AC DEVICE_TITLE := Ubiquiti Nanostation AC
DEVICE_PACKAGES += kmod-ath10k ath10k-firmware-qca988x DEVICE_PACKAGES += kmod-ath10k ath10k-firmware-qca988x
IMAGE_SIZE := 15744k IMAGE_SIZE := 15744k
IMAGES += factory.bin
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split
endef endef
TARGET_DEVICES += ubnt_nanostation-ac TARGET_DEVICES += ubnt_nanostation-ac
@ -99,7 +98,6 @@ define Device/ubnt_nanostation-ac-loco
DEVICE_TITLE := Ubiquiti Nanostation AC loco DEVICE_TITLE := Ubiquiti Nanostation AC loco
DEVICE_PACKAGES += kmod-ath10k ath10k-firmware-qca988x DEVICE_PACKAGES += kmod-ath10k ath10k-firmware-qca988x
IMAGE_SIZE := 15744k IMAGE_SIZE := 15744k
IMAGES += factory.bin
IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | mkubntimage-split
endef endef
TARGET_DEVICES += ubnt_nanostation-ac-loco TARGET_DEVICES += ubnt_nanostation-ac-loco