diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2016-07-07 19:49:23 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-08 22:00:36 +0200 |
commit | a249206e103e95e2f8e75e3b89a6ea0a8d4118d0 (patch) | |
tree | 3d3fd1c6c39bed7c2cefe4f4b646659bac85e4fd | |
parent | fbc7cd99612e7083fac01c046a1b358aa9a3b39b (diff) | |
download | buildroot-a249206e103e95e2f8e75e3b89a6ea0a8d4118d0.tar.gz buildroot-a249206e103e95e2f8e75e3b89a6ea0a8d4118d0.zip |
mxsldr: new package
Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
[Thomas:
- Rename prompt from "host-mxsldr" to "host mxsldr".
- Add BR2_armeb in the list of architectures under which this package
can be enabled.
- Remove double quotes around the _SITE value.
- The license is GPLv2+, not GPLv2.
- Add a value for the _LICENSE_FILES variable
- Rename MXSLDR_DEPENDENCIES to HOST_MXSLDR_DEPENDENCIES, since the
dependencies of the host package are no longer derived from the
dependencies of the target package.
- Remove the MXSLDR_MAKE_OPTS variable that contained the PKG_CONFIG
variable definition: it is already passed in HOST_CONFIGURE_OPTS.
- Remove hash file, as it is not checked on Git packages for now.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/Config.in.host | 1 | ||||
-rw-r--r-- | package/mxsldr/Config.in.host | 9 | ||||
-rw-r--r-- | package/mxsldr/mxsldr.mk | 21 |
3 files changed, 31 insertions, 0 deletions
diff --git a/package/Config.in.host b/package/Config.in.host index 909fd967fc..6d61f19d9a 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -25,6 +25,7 @@ menu "Host utilities" source "package/mke2img/Config.in.host" source "package/mtd/Config.in.host" source "package/mtools/Config.in.host" + source "package/mxsldr/Config.in.host" source "package/omap-u-boot-utils/Config.in.host" source "package/openocd/Config.in.host" source "package/parted/Config.in.host" diff --git a/package/mxsldr/Config.in.host b/package/mxsldr/Config.in.host new file mode 100644 index 0000000000..a427e71cf7 --- /dev/null +++ b/package/mxsldr/Config.in.host @@ -0,0 +1,9 @@ +config BR2_PACKAGE_HOST_MXSLDR + bool "host mxsldr" + depends on BR2_arm || BR2_armeb + help + This package contains tools to download and execute code on + Freescale i.MX23 and i.MX28 SoC's through the Serial + Download Protocol. + + git://git.denx.de/mxsldr.git diff --git a/package/mxsldr/mxsldr.mk b/package/mxsldr/mxsldr.mk new file mode 100644 index 0000000000..fa7ca8447a --- /dev/null +++ b/package/mxsldr/mxsldr.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# mxsldr +# +################################################################################ + +MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 +MXSLDR_SITE = git://git.denx.de/mxsldr.git +MXSLDR_LICENSE = GPLv2+ +MXSLDR_LICENSE_FILES = COPYING +HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf + +define HOST_MXSLDR_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define HOST_MXSLDR_INSTALL_CMDS + $(INSTALL) -m 0755 -D $(@D)/mxsldr $(HOST_DIR)/usr/bin/mxsldr +endef + +$(eval $(host-generic-package)) |