diff options
author | George McCollister <george.mccollister@gmail.com> | 2011-05-19 16:03:56 -0500 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-05-20 19:40:29 +0200 |
commit | 0248656556dffea39f3c405aaa87c1554505ae9e (patch) | |
tree | 12ce3f90fbde4de8c58e69ec7c031aa4f5e9cb6a | |
parent | 2111af720445bc5182e8d950bd3f5d07a6eb2041 (diff) | |
download | ptxdist-0248656556dffea39f3c405aaa87c1554505ae9e.tar.gz ptxdist-0248656556dffea39f3c405aaa87c1554505ae9e.tar.xz |
host-opkg: Added new host package.
I have added host-opkg so opkg-cl is available for use in building an
ipk repository.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/host-opkg.in | 12 | ||||
-rw-r--r-- | rules/host-opkg.make | 44 |
2 files changed, 56 insertions, 0 deletions
diff --git a/rules/host-opkg.in b/rules/host-opkg.in new file mode 100644 index 000000000..2bb2140df --- /dev/null +++ b/rules/host-opkg.in @@ -0,0 +1,12 @@ +## SECTION=hosttools_noprompt + +config HOST_OPKG + tristate + default ALLYES + select HOST_OPKG_UTILS + help + opkg is used on the development host to install packets into + some directory. Example: + + opkg-cl -o . --force-depends -f ../generic/etc/opkg.conf install foo.ipk + diff --git a/rules/host-opkg.make b/rules/host-opkg.make new file mode 100644 index 000000000..ffdff20d4 --- /dev/null +++ b/rules/host-opkg.make @@ -0,0 +1,44 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by George McCollister <george.mccollister@gmail.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_OPKG) += host-opkg + +# +# Paths and names +# + +HOST_OPKG = $(OPKG) +HOST_OPKG_DIR = $(HOST_BUILDDIR)/$(HOST_OPKG) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_OPKG_ENV := $(HOST_ENV) + +# +# autoconf +# +HOST_OPKG_CONF_TOOL := autoconf +HOST_OPKG_CONF_OPT := \ + $(HOST_AUTOCONF) \ + --enable-shave \ + --with-opkglockfile=/lock \ + --disable-pathfinder \ + --disable-curl \ + --disable-sha256 \ + --disable-openssl \ + --disable-ssl-curl \ + --disable-gpg + +# vim: syntax=make |