diff --git a/qca-nss-macsec/Makefile b/qca-nss-macsec/Makefile index 2bce491..de99d6e 100644 --- a/qca-nss-macsec/Makefile +++ b/qca-nss-macsec/Makefile @@ -50,9 +50,9 @@ endef ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq807x") SOC=ipq807x_64 subtarget:=$(CONFIG_TARGET_SUBTARGET) -else ifeq ($(CONFIG_TARGET_BOARD), "ipq60xx") +else ifeq ($(CONFIG_TARGET_SUBTARGET), "ipq60xx") SOC=ipq60xx_64 - subtarget:=$(SUBTARGET) + subtarget:=$(CONFIG_TARGET_SUBTARGET) endif define Build/Compile