summaryrefslogtreecommitdiffstats
path: root/scripts/imx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/imx/Makefile')
-rw-r--r--scripts/imx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/imx/Makefile b/scripts/imx/Makefile
index 4fb62a60f8..e7af2c98ef 100644
--- a/scripts/imx/Makefile
+++ b/scripts/imx/Makefile
@@ -4,14 +4,14 @@ hostprogs-$(CONFIG_ARCH_IMX_USBLOADER) += imx-usb-loader
always := $(hostprogs-y)
HOSTCFLAGS_imx-usb-loader.o = `pkg-config --cflags libusb-1.0`
-HOSTLOADLIBES_imx-usb-loader = `pkg-config --libs libusb-1.0`
+HOSTLDLIBS_imx-usb-loader = `pkg-config --libs libusb-1.0`
HOSTCFLAGS_imx.o = -I$(srctree)/arch/arm/mach-imx/include
HOSTCFLAGS_imx-image.o = -I$(srctree) -I$(srctree)/arch/arm/mach-imx/include
HOSTCFLAGS_imx-usb-loader.o += -I$(srctree) -I$(srctree)/arch/arm/mach-imx/include
ifdef CONFIG_ARCH_IMX_IMXIMAGE_SSL_SUPPORT
HOSTCFLAGS_imx-image.o += -DIMXIMAGE_SSL_SUPPORT
-HOSTLOADLIBES_imx-image = `pkg-config --libs openssl`
+HOSTLDLIBS_imx-image = `pkg-config --libs openssl`
endif
imx-usb-loader-objs := imx-usb-loader.o imx.o