From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Sascha Hauer Date: Wed, 26 Feb 2014 15:13:17 +0100 Message-Id: <1393424001-26060-3-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1393424001-26060-1-git-send-email-s.hauer@pengutronix.de> References: <1393424001-26060-1-git-send-email-s.hauer@pengutronix.de> Subject: [ptxdist] [PATCH 3/7] barebox: Add optional dependency to host-libusb Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: mol@pengutronix.de, mkl@pengutronix.de In some configurations barebox needs a host-libusb (imx-usb-loader enabled). Detecting this is not possible in ptxdist, so add a Kconfig option to manually select host-libusb when needed. Signed-off-by: Sascha Hauer --- platforms/barebox.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/platforms/barebox.in b/platforms/barebox.in index 224bb41..6e65f83 100644 --- a/platforms/barebox.in +++ b/platforms/barebox.in @@ -9,6 +9,7 @@ config BAREBOX_ARCH_STRING menuconfig BAREBOX select BOOTLOADER + select HOST_LIBUSB if BAREBOX_NEEDS_HOST_LIBUSB prompt "barebox " bool help @@ -51,4 +52,8 @@ config BAREBOX_BAREBOXENV environment. Enable this option access the barebox environment from the target Linux system. +config BAREBOX_NEEDS_HOST_LIBUSB + prompt "barebox needs libusb" + bool + endif -- 1.8.5.3 -- ptxdist mailing list ptxdist@pengutronix.de