From d444e1d4c328d88f1f8befe6912e816876c1cbf4 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Tue, 7 Feb 2012 12:01:25 +0100 Subject: [PATCH] Add lpc3250loader to the host tools [Peter: use install -D for installation] Signed-off-by: Alexandre Belloni Acked-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- package/Config.in.host | 1 + package/lpc3250loader/Config.in.host | 7 +++++++ package/lpc3250loader/lpc3250loader.mk | 9 +++++++++ 3 files changed, 17 insertions(+) create mode 100644 package/lpc3250loader/Config.in.host create mode 100644 package/lpc3250loader/lpc3250loader.mk diff --git a/package/Config.in.host b/package/Config.in.host index 1f49e79a7e..861b7367db 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -1,5 +1,6 @@ menu "Host utilities" +source "package/lpc3250loader/Config.in.host" source "package/openocd/Config.in.host" source "package/sam-ba/Config.in.host" source "package/uboot-tools/Config.in.host" diff --git a/package/lpc3250loader/Config.in.host b/package/lpc3250loader/Config.in.host new file mode 100644 index 0000000000..750080be7c --- /dev/null +++ b/package/lpc3250loader/Config.in.host @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HOST_LPC3250LOADER + bool "host lpc3250loader" + help + lpc3250loader is a tool to load/burn programs (in particular kickstart + and S1L) on an LPC3250 platform. + + https://gitorious.org/lpc3250loader diff --git a/package/lpc3250loader/lpc3250loader.mk b/package/lpc3250loader/lpc3250loader.mk new file mode 100644 index 0000000000..ed6485cef4 --- /dev/null +++ b/package/lpc3250loader/lpc3250loader.mk @@ -0,0 +1,9 @@ +HOST_LPC3250LOADER_SITE = git://gitorious.org/lpc3250loader/lpc3250loader.git +HOST_LPC3250LOADER_VERSION = 1.0 + +define HOST_LPC3250LOADER_INSTALL_CMDS + $(INSTALL) -m 0755 -D $(@D)/LPC3250loader.py \ + $(HOST_DIR)/usr/bin/LPC3250loader.py +endef + +$(eval $(call GENTARGETS,host)) -- 2.30.2