Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on  xlib_libX11-1.4.2
From: Peter Korsgaard @ 2012-12-05 22:40 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121205222809.28faea35@skate>

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Arnout> We should at least have a check for that...
 >> 
 >> Indeed. I'm looking into adding one.

 Thomas> Well, I think we should rather fix the problem. I have a fix
 Thomas> that works for most cases, except for the stupid libglib2
 Thomas> package that generates incorrect .la files...

Ahh, even better.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] package/crosstool-ng: bumpimg default GCC version to 4.6.3
From: Peter Korsgaard @ 2012-12-05 22:40 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354736519-18173-2-git-send-email-c.schoenert@t-online.de>

>>>>> "Carsten" == Carsten Schoenert <c.schoenert@gmail.com> writes:

 Carsten> From: Carsten Schoenert <c.schoenert@t-online.de>
 Carsten> This bumps the GCC version from 4.4.6 to 4.6.3 to for
 Carsten> *.config-eglibc
 Carsten> *.config-glibc
 Carsten> *.config-uClibc
 Carsten> be equal to the default GCC setting in buildroot as well in addition to
 Carsten> commit b855154ee8683e87afa08c6cc50b716d22879922.

 Carsten> Signed-off-by: Carsten Schoenert <c.schoenert@t-online.de>
 Carsten> ---
 Carsten>  toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc |    2 +-
 Carsten>  toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc  |    2 +-
 Carsten>  toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc |    2 +-
 Carsten>  3 files changed, 3 insertions(+), 3 deletions(-)

 Carsten> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
 Carsten> index 1b523ec..9ad1c5b 100644
 Carsten> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
 Carsten> +++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
 Carsten> @@ -265,7 +265,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
 Carsten>  # C compiler
 Carsten>  #
 Carsten>  CT_CC="gcc"
 Carsten> -CT_CC_VERSION="4.4.6"
 Carsten> +CT_CC_VERSION="4.6.3"
 Carsten>  CT_CC_gcc=y
 Carsten>  # CT_CC_V_4_7_2 is not set
 Carsten>  # CT_CC_V_4_6_3 is not set

Hmm, don't you also need to set CT_CC_V_4_6_3=y (and unset
CT_CC_V_4_4_6)?

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] tcllib: new package
From: Yann E. MORIN @ 2012-12-05 21:48 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354741542-6079-2-git-send-email-zinosat@tiscali.it>

Davide, All,

On Wednesday 05 December 2012 Davide Viti wrote:
> 
> Signed-off-by: Davide Viti <zinosat@tiscali.it>
> ---
>  package/Config.in        |    5 +++++
>  package/tcllib/Config.in |   12 ++++++++++++
>  package/tcllib/tcllib.mk |   23 +++++++++++++++++++++++
>  3 files changed, 40 insertions(+), 0 deletions(-)
>  create mode 100644 package/tcllib/Config.in
>  create mode 100644 package/tcllib/tcllib.mk
> 
> diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
> new file mode 100644
> index 0000000..2e85dc2
> --- /dev/null
> +++ b/package/tcllib/tcllib.mk
> @@ -0,0 +1,23 @@
> +#############################################################
> +#
> +# tcllib
> +#
> +#############################################################
> +TCLLIB_VERSION       = 1.13
> +TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.gz
> +TCLLIB_SITE          = http://sourceforge.net/projects/tcllib/files/tcllib/$(TCLLIB_VERSION)/
> +TCLLIB_LICENSE       = BSD-2c
> +TCLLIB_LICENSE_FILES = license.terms
> +TCLLIB_DEPENDENCIES  = tcl
> +
> +define TCLLIB_INSTALL_TARGET_CMDS
> +	(cd $(@D); \
> +	    tclsh installer.tcl \

Since you're using tclsh, you may also need to depend on host-tcl.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply

* [Buildroot] [PATCH] tcllib: new package
From: Yann E. MORIN @ 2012-12-05 21:39 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354741542-6079-2-git-send-email-zinosat@tiscali.it>

Davide, All,

On Wednesday 05 December 2012 Davide Viti wrote:
> Signed-off-by: Davide Viti <zinosat@tiscali.it>
> ---
>  package/Config.in        |    5 +++++
>  package/tcllib/Config.in |   12 ++++++++++++
>  package/tcllib/tcllib.mk |   23 +++++++++++++++++++++++
>  3 files changed, 40 insertions(+), 0 deletions(-)
>  create mode 100644 package/tcllib/Config.in
>  create mode 100644 package/tcllib/tcllib.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index e759620..6d3f4fb 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -311,6 +311,11 @@ endmenu
>  endif
>  source "package/ruby/Config.in"
>  source "package/tcl/Config.in"
> +if BR2_PACKAGE_TCL
> +menu "tcl libraries/modules"
> +source "package/tcllib/Config.in"
> +endmenu
> +endif
>  endmenu
>  
>  menu "Libraries"
> diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
> new file mode 100644
> index 0000000..cf65a9e
> --- /dev/null
> +++ b/package/tcllib/Config.in
> @@ -0,0 +1,12 @@
> +config BR2_PACKAGE_TCLLIB
> +	bool "tcllib"
> +	depends on BR2_PACKAGE_TCL

Technically, this is not needed, because you already have a 'if TCL'
in package/Config.in  (see above)

> +	help
> +	  Tcllib is a collection of utility modules for Tcl. These
> +	  modules provide a wide variety of functionality, from
> +	  implementations of standard data structures to
> +	  implementations of common networking protocols. The intent
> +	  is to collect commonly used function into a single library,
> +	  which users can rely on to be available and stable
> +
> +	  http://tcl.activestate.com/software/tcllib/
> diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
> new file mode 100644
> index 0000000..2e85dc2
> --- /dev/null
> +++ b/package/tcllib/tcllib.mk
> @@ -0,0 +1,23 @@
> +#############################################################
> +#
> +# tcllib
> +#
> +#############################################################
> +TCLLIB_VERSION       = 1.13
> +TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.gz
> +TCLLIB_SITE          = http://sourceforge.net/projects/tcllib/files/tcllib/$(TCLLIB_VERSION)/

Should be:
    http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION)/

Also, there is a .tar.bz2, which is ~25% smaller than the .tar.gz, it will
be (a bit) faster to download.

> +TCLLIB_LICENSE       = BSD-2c
> +TCLLIB_LICENSE_FILES = license.terms

This does not really look like the BSD-2c I know of, and that are
listed there: https://spdx.org/licenses/

> +TCLLIB_DEPENDENCIES  = tcl
> +
> +define TCLLIB_INSTALL_TARGET_CMDS
> +	(cd $(@D); \
> +	    tclsh installer.tcl \
> +	    -no-examples -no-html -no-pkgs -no-wait \
> +	    -no-gui -no-apps -no-nroff \
> +	    -pkg-path $(TARGET_DIR)/usr/lib/tcl8.4 \
> +	)
> +endef
> +
> +$(eval $(autotools-package))
> +$(eval $(host-autotools-package))

Why the host one? Is it used by any other package at build-time?

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply

* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on  xlib_libX11-1.4.2
From: Thomas Petazzoni @ 2012-12-05 21:28 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87txs08adj.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Wed, 05 Dec 2012 13:19:52 -0800, Peter Korsgaard wrote:

>  >> For some complicated reason, using Buildroot in a directory stored
>  >> under /usr doesn't work. We will work on fixing that, but in the
>  >> mean time, please build from /home/something, /opt or anything
>  >> else, but not from a subdirectory of /usr.
> 
>  Arnout>  We should at least have a check for that...
> 
> Indeed. I'm looking into adding one.

Well, I think we should rather fix the problem. I have a fix that works
for most cases, except for the stupid libglib2 package that generates
incorrect .la files...

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Peter Korsgaard @ 2012-12-05 21:20 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <20121205212703.98596423e9136f86fd8542b9@kinali.ch>

>>>>> "Attila" == Attila Kinali <attila@kinali.ch> writes:

 >> Not really. I don't have any imx hw here. Are you able to test it?

 Attila> I have an i.mx23 EVK at work. So i guess i could test it.

Great, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on  xlib_libX11-1.4.2
From: Peter Korsgaard @ 2012-12-05 21:19 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <50BF826F.4060004@mind.be>

>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:

Hi,

 >> For some complicated reason, using Buildroot in a directory stored
 >> under /usr doesn't work. We will work on fixing that, but in the
 >> mean time, please build from /home/something, /opt or anything else,
 >> but not from a subdirectory of /usr.

 Arnout>  We should at least have a check for that...

Indeed. I'm looking into adding one.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] tcllib: new package
From: Davide Viti @ 2012-12-05 21:05 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354741542-6079-1-git-send-email-zinosat@tiscali.it>


Signed-off-by: Davide Viti <zinosat@tiscali.it>
---
 package/Config.in        |    5 +++++
 package/tcllib/Config.in |   12 ++++++++++++
 package/tcllib/tcllib.mk |   23 +++++++++++++++++++++++
 3 files changed, 40 insertions(+), 0 deletions(-)
 create mode 100644 package/tcllib/Config.in
 create mode 100644 package/tcllib/tcllib.mk

diff --git a/package/Config.in b/package/Config.in
index e759620..6d3f4fb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -311,6 +311,11 @@ endmenu
 endif
 source "package/ruby/Config.in"
 source "package/tcl/Config.in"
+if BR2_PACKAGE_TCL
+menu "tcl libraries/modules"
+source "package/tcllib/Config.in"
+endmenu
+endif
 endmenu
 
 menu "Libraries"
diff --git a/package/tcllib/Config.in b/package/tcllib/Config.in
new file mode 100644
index 0000000..cf65a9e
--- /dev/null
+++ b/package/tcllib/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_TCLLIB
+	bool "tcllib"
+	depends on BR2_PACKAGE_TCL
+	help
+	  Tcllib is a collection of utility modules for Tcl. These
+	  modules provide a wide variety of functionality, from
+	  implementations of standard data structures to
+	  implementations of common networking protocols. The intent
+	  is to collect commonly used function into a single library,
+	  which users can rely on to be available and stable
+
+	  http://tcl.activestate.com/software/tcllib/
diff --git a/package/tcllib/tcllib.mk b/package/tcllib/tcllib.mk
new file mode 100644
index 0000000..2e85dc2
--- /dev/null
+++ b/package/tcllib/tcllib.mk
@@ -0,0 +1,23 @@
+#############################################################
+#
+# tcllib
+#
+#############################################################
+TCLLIB_VERSION       = 1.13
+TCLLIB_SOURCE        = tcllib-$(TCLLIB_VERSION).tar.gz
+TCLLIB_SITE          = http://sourceforge.net/projects/tcllib/files/tcllib/$(TCLLIB_VERSION)/
+TCLLIB_LICENSE       = BSD-2c
+TCLLIB_LICENSE_FILES = license.terms
+TCLLIB_DEPENDENCIES  = tcl
+
+define TCLLIB_INSTALL_TARGET_CMDS
+	(cd $(@D); \
+	    tclsh installer.tcl \
+	    -no-examples -no-html -no-pkgs -no-wait \
+	    -no-gui -no-apps -no-nroff \
+	    -pkg-path $(TARGET_DIR)/usr/lib/tcl8.4 \
+	)
+endef
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
1.7.2.5

^ permalink raw reply related

* [Buildroot] [PATCH] tcllib: new package
From: Davide Viti @ 2012-12-05 21:05 UTC (permalink / raw)
  To: buildroot

Hi,
the attached patch adds the tcllib package.
This is my first experience with packaging for buildroot, so please
review it. Do not esitate to ask for fixes if you find any issues.

Note that I've packaged version 1.13 and a newer version has been
released: I've used this in a project and feel safer to release this.

regards,
Davide

^ permalink raw reply

* [Buildroot] [PATCH] package/crosstool-ng: bumpimg default GCC version to 4.6.3
From: Yann E. MORIN @ 2012-12-05 20:49 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354736519-18173-2-git-send-email-c.schoenert@t-online.de>

Carsten, All,

On Wednesday 05 December 2012 Carsten Schoenert wrote:
> From: Carsten Schoenert <c.schoenert@t-online.de>
> 
> This bumps the GCC version from 4.4.6 to 4.6.3 to for
> *.config-eglibc
> *.config-glibc
> *.config-uClibc
> be equal to the default GCC setting in buildroot as well in addition to
> commit b855154ee8683e87afa08c6cc50b716d22879922.
> 
> Signed-off-by: Carsten Schoenert <c.schoenert@t-online.de>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Sigh, Peter was too fast applying your previous patch, I had no time to
review it, so I had no chance to ack it too. Thanks for doing the update.

No, Peter, that's not a pledge for you to stop applying patches fast! ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply

* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Attila Kinali @ 2012-12-05 20:27 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87k3sw9yt1.fsf@dell.be.48ers.dk>

On Wed, 05 Dec 2012 09:46:50 -0800
Peter Korsgaard <jacmet@uclibc.org> wrote:

> >>>>> "Attila" == Attila Kinali <attila@kinali.ch> writes:
> 
>  >> [Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file format
>  >> 
>  >> It was more complete than this one, because it included the dependency
>  >> on host-elftosb, which is needed to bring the elftosb tool built by
>  >> Buildroot before U-Boot uses it to generate the .sb image.
> 
>  Attila> Any reason why it has not gotten into the git repo?
> 
> Not really. I don't have any imx hw here. Are you able to test it?

I have an i.mx23 EVK at work. So i guess i could test it.

			Attila Kinali

-- 
There is no secret ingredient
         -- Po, Kung Fu Panda

^ permalink raw reply

* [Buildroot] Qt library difference between E.so and just .so
From: Santhosh Ramani @ 2012-12-05 20:07 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <CADKZYY+HDpGpJKznaRWBSthrsHhOvxaJtHBr6ou3Gz5RNrxcdA@mail.gmail.com>

Hello Guys,

Nevermind..I found the issue, needed to export few variables.

thanks a lot, how do I mark this thread as solved??

Regards

Santhosh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121205/dae3526e/attachment.html>

^ permalink raw reply

* [Buildroot] [PATCH] package/crosstool-ng: bumpimg default GCC version to 4.6.3
From: Carsten Schoenert @ 2012-12-05 19:41 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354736519-18173-1-git-send-email-c.schoenert@t-online.de>

From: Carsten Schoenert <c.schoenert@t-online.de>

This bumps the GCC version from 4.4.6 to 4.6.3 to for
*.config-eglibc
*.config-glibc
*.config-uClibc
be equal to the default GCC setting in buildroot as well in addition to
commit b855154ee8683e87afa08c6cc50b716d22879922.

Signed-off-by: Carsten Schoenert <c.schoenert@t-online.de>
---
 toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc |    2 +-
 toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc  |    2 +-
 toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
index 1b523ec..9ad1c5b 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
@@ -265,7 +265,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
 # C compiler
 #
 CT_CC="gcc"
-CT_CC_VERSION="4.4.6"
+CT_CC_VERSION="4.6.3"
 CT_CC_gcc=y
 # CT_CC_V_4_7_2 is not set
 # CT_CC_V_4_6_3 is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
index 026c7fd..f220287 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
@@ -265,7 +265,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
 # C compiler
 #
 CT_CC="gcc"
-CT_CC_VERSION="4.4.6"
+CT_CC_VERSION="4.6.3"
 CT_CC_gcc=y
 # CT_CC_V_4_7_2 is not set
 # CT_CC_V_4_6_3 is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
index 8ad481f..cede4ad 100644
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
+++ b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
@@ -264,7 +264,7 @@ CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
 # C compiler
 #
 CT_CC="gcc"
-CT_CC_VERSION="4.4.6"
+CT_CC_VERSION="4.6.3"
 CT_CC_gcc=y
 # CT_CC_V_4_7_2 is not set
 # CT_CC_V_4_6_3 is not set
-- 
1.7.10.4

^ permalink raw reply related

* [Buildroot] [PATCH 0/1] default GCC version in crosstool-ng.config-[eg, g.uC]libc
From: Carsten Schoenert @ 2012-12-05 19:41 UTC (permalink / raw)
  To: buildroot

Hello,

after commiting previuos patch (b855154ee8683e87afa08c6cc50b716d22879922)
with the update for crosstool-ng to 1.17.0 Peter says there should be the 
GCC version in compliance with the default GCC by buildroot. This should 
be done with the folowing patch.

Note!
I have not tested this changes because I don't use any the ths configs.
So if someone can test this configs ...

Regards
Carsten

^ permalink raw reply

* [Buildroot] [PATCH] make legal-info: fails with OVERRIDE_SRCDIR
From: Peter Korsgaard @ 2012-12-05 19:30 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354529151-17426-1-git-send-email-sho@relinux.de>

>>>>> "Stephan" == Stephan Hoffmann <sho@relinux.de> writes:

 Stephan> There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is
 Stephan> supposed to produce a warning when OVERRIDE_SRCDIR is active.
 Stephan> This does not work and instead the whole make terminates with
 Stephan> an error message.

 Stephan> This patch changes the check for active OVERRIDE_SRCDIR so that
 Stephan> it works as expected.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] make legal-info: fails with OVERRIDE_SRCDIR
From: Peter Korsgaard @ 2012-12-05 19:29 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=7f77121fdde5a0c16d9b6968c71e982d3e953d25
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

There is a check for OVERRIDE_SRCDIR in pkg-generic.mk that is
supposed to produce a warning when OVERRIDE_SRCDIR is active.
This does not work and instead the whole make terminates with
an error message.

This patch changes the check for active OVERRIDE_SRCDIR so that
it works as expected.

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/pkg-generic.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 6fcd359..fc05dc6 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -477,7 +477,7 @@ ifneq ($(call qstrip,$$($(2)_SOURCE)),)
 ifeq ($$($(2)_SITE_METHOD),local)
 # Packages without a tarball: don't save and warn
 	@$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),local)
-else ifeq ($$($(2)_SITE_METHOD),override)
+else ifneq ($$($(2)_OVERRIDE_SRCDIR),)
 	@$(call legal-warning-pkg-savednothing,$$($(2)_RAWNAME),override)
 else
 # Other packages

^ permalink raw reply related

* [Buildroot] [PATCH v5] neardal: new package
From: Peter Korsgaard @ 2012-12-05 19:24 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354732823-5974-1-git-send-email-spdawson@gmail.com>

>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>
 spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
 spdawson> ---
 spdawson>  v5: Resend
 spdawson>  v4: Incorporate Arnout Vandecappelle's suggested improvements
 spdawson>  v3: Remove spurious dependency on neard, add Arnout Vandecappelle's acks

You didn't actually add Arnouts ack, so I added that myself.

 spdawson> +config BR2_PACKAGE_NEARDAL
 spdawson> +	bool "neardal"
 spdawson> +	depends on BR2_USE_WCHAR # glib2
 spdawson> +	select BR2_PACKAGE_DBUS
 spdawson> +	select BR2_PACKAGE_DBUS_GLIB

dbus needs threads and mmu as well.

 spdawson> +	help
 spdawson> +	  Provides a simple C API to exchange data with the neard NFC manager daemon.

Please wrap help text to fit within the ~70-col menuconfig window.

 spdawson> +
 spdawson> +	  https://github.com/connectivity/neardal
 spdawson> +
 spdawson> +comment "neardal requires a toolchain with WCHAR support"
 spdawson> +	depends on !BR2_USE_WCHAR
 spdawson> diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
 spdawson> new file mode 100644
 spdawson> index 0000000..f898df5
 spdawson> --- /dev/null
 spdawson> +++ b/package/neardal/neardal.mk
 spdawson> @@ -0,0 +1,16 @@
 spdawson> +#############################################################
 spdawson> +#
 spdawson> +# neardal
 spdawson> +#
 spdawson> +#############################################################
 spdawson> +NEARDAL_VERSION = 0.7
 spdawson> +NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
 spdawson> +NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
 spdawson> +NEARDAL_INSTALL_STAGING = YES
 spdawson> +NEARDAL_LICENSE = GPLv2
 spdawson> +NEARDAL_LICENSE_FILES = COPYING
 spdawson> +
 spdawson> +NEARDAL_DEPENDENCIES = dbus-glib

Same comments as for neard. I've added dbus and host-pkgconf.

Committed with those changes, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] neardal: new package
From: Peter Korsgaard @ 2012-12-05 19:22 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=907ff8983e51046cd9fddd884440e83545a38088
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Peter: add toolchain deps for dbus. add dbus/host-pkgconf, wrap help text]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
  (built-test on a minimal powerpc config)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/Config.in          |    1 +
 package/neardal/Config.in  |   15 +++++++++++++++
 package/neardal/neardal.mk |   16 ++++++++++++++++
 3 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 40ca8e6..74e439e 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -424,6 +424,7 @@ source "package/libusb/Config.in"
 source "package/libusb-compat/Config.in"
 source "package/libv4l/Config.in"
 source "package/mtdev/Config.in"
+source "package/neardal/Config.in"
 source "package/pcsc-lite/Config.in"
 endmenu
 
diff --git a/package/neardal/Config.in b/package/neardal/Config.in
new file mode 100644
index 0000000..045ccee
--- /dev/null
+++ b/package/neardal/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_NEARDAL
+	bool "neardal"
+	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_MMU # dbus
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_DBUS_GLIB
+	help
+	  Provides a simple C API to exchange data with the neard NFC
+	  manager daemon.
+
+	  https://github.com/connectivity/neardal
+
+comment "neardal requires a toolchain with WCHAR and threads support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
new file mode 100644
index 0000000..66b729d
--- /dev/null
+++ b/package/neardal/neardal.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# neardal
+#
+#############################################################
+NEARDAL_VERSION = 0.7
+NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
+NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
+NEARDAL_INSTALL_STAGING = YES
+NEARDAL_LICENSE = GPLv2
+NEARDAL_LICENSE_FILES = COPYING
+
+NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib
+NEARDAL_AUTORECONF = YES
+
+$(eval $(autotools-package))

^ permalink raw reply related

* [Buildroot] [git commit] neard: new package
From: Peter Korsgaard @ 2012-12-05 19:14 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=34ae9eb63db4ff48da4ed45b9b48997e7c6cd590
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

[Peter: add toolchain dependencies for libglib2/libnl/dbus + host-pkgconf]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/Config.in       |    1 +
 package/neard/Config.in |   18 ++++++++++++++++++
 package/neard/neard.mk  |   14 ++++++++++++++
 3 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index ae94705..40ca8e6 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -237,6 +237,7 @@ source "package/mdadm/Config.in"
 source "package/memtester/Config.in"
 source "package/minicom/Config.in"
 source "package/nanocom/Config.in"
+source "package/neard/Config.in"
 source "package/ofono/Config.in"
 source "package/open2300/Config.in"
 source "package/openocd/Config.in"
diff --git a/package/neard/Config.in b/package/neard/Config.in
new file mode 100644
index 0000000..bcf6171
--- /dev/null
+++ b/package/neard/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_NEARD
+	bool "neard"
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl / dbus
+	depends on BR2_USE_MMU # dbus
+	select BR2_PACKAGE_DBUS
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBNL
+	help
+	  Near Field Communication (NFC) manager. This userspace daemon is
+	  a part of the NFC stack provided by the Linux NFC project.
+
+	  http://git.kernel.org/?p=network/nfc/neard.git;a=summary
+
+	  https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
+
+comment "neard requires a toolchain with WCHAR and threads support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
new file mode 100644
index 0000000..2d3e30e
--- /dev/null
+++ b/package/neard/neard.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# neard
+#
+#############################################################
+NEARD_VERSION = 0.8
+NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
+NEARD_LICENSE = GPLv2
+NEARD_LICENSE_FILES = COPYING
+
+NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
+NEARD_CONF_OPT = --disable-traces
+
+$(eval $(autotools-package))

^ permalink raw reply related

* [Buildroot] [PATCH v5] neard: new package
From: Peter Korsgaard @ 2012-12-05 19:14 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354732747-5843-1-git-send-email-spdawson@gmail.com>

>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 spdawson> From: Simon Dawson <spdawson@gmail.com>
 spdawson> Signed-off-by: Simon Dawson <spdawson@gmail.com>
 spdawson> ---
 spdawson>  v5: Resend
 spdawson>  v4: No changes; patch series version bumped
 spdawson>  v3: Incorporated improvements suggested by Baruch Siach,
 spdawson>      add Arnout Vandecappelle's acks
 spdawson>  v2: Incorporated improvements suggested by Thomas Petazzoni

 spdawson> +config BR2_PACKAGE_NEARD
 spdawson> +	bool "neard"
 spdawson> +	select BR2_PACKAGE_DBUS
 spdawson> +	select BR2_PACKAGE_LIBGLIB2
 spdawson> +	select BR2_PACKAGE_LIBNL

You forgot to add the dependencies for the toolchain options needed by
dbus/libglib2/libnl.

Committed with that fixed, thanks.

 spdawson> +++ b/package/neard/neard.mk
 spdawson> @@ -0,0 +1,14 @@
 spdawson> +#############################################################
 spdawson> +#
 spdawson> +# neard
 spdawson> +#
 spdawson> +#############################################################
 spdawson> +NEARD_VERSION = 0.8
 spdawson> +NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
 spdawson> +NEARD_LICENSE = GPLv2
 spdawson> +NEARD_LICENSE_FILES = COPYING
 spdawson> +
 spdawson> +NEARD_DEPENDENCIES = dbus libglib2 libnl

I know these will indirectly pull in host-pkgconf, but I think it makes
sense to add it here as well as configure.ac explicitly checks for it.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [PATCH] add support for Freescale .sb format to uboot
From: Thomas Petazzoni @ 2012-12-05 19:13 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <87k3sw9yt1.fsf@dell.be.48ers.dk>

Dear Peter Korsgaard,

On Wed, 05 Dec 2012 09:46:50 -0800, Peter Korsgaard wrote:
> >>>>> "Attila" == Attila Kinali <attila@kinali.ch> writes:
> 
>  >> [Buildroot] [PATCH 2/2] u-boot: add support for u-boot.sb file
>  >> format
>  >> 
>  >> It was more complete than this one, because it included the
>  >> dependency on host-elftosb, which is needed to bring the elftosb
>  >> tool built by Buildroot before U-Boot uses it to generate the .sb
>  >> image.
> 
>  Attila> Any reason why it has not gotten into the git repo?
> 
> Not really. I don't have any imx hw here. Are you able to test it?

It was submitted in March by a guy from Armadeus, and they do use i.MX
hardware a lot, so I guess that it works.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply

* [Buildroot] [PATCH 4/4] lua: support linenoise
From: Peter Korsgaard @ 2012-12-05 19:00 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354551135-30056-4-git-send-email-francois.perrad@gadz.org>

>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:

 Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Committed, thanks (but see below).

 Francois> @@ -16,10 +16,16 @@ LUA_MYLIBS += -ldl
 Francois>  ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)
 Francois>  	LUA_DEPENDENCIES = readline ncurses
 Francois>  	LUA_MYLIBS += -lreadline -lhistory -lncurses
 Francois> -	LUA_CFLAGS += -DLUA_USE_LINUX
 Francois> +	LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE

Why did you change LUA_USE_LINUX to LUA_USE_POSIX?


-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] lua: support linenoise
From: Peter Korsgaard @ 2012-12-05 18:58 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=635bebf559f4f76bc4fa49c3ccb468476a654151
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/lua/Config.in              |   17 +++++++++++++++++
 package/lua/lua-11-linenoise.patch |   24 ++++++++++++++++++++++++
 package/lua/lua.mk                 |    8 +++++++-
 3 files changed, 48 insertions(+), 1 deletions(-)

diff --git a/package/lua/Config.in b/package/lua/Config.in
index 8233e2a..4166730 100644
--- a/package/lua/Config.in
+++ b/package/lua/Config.in
@@ -7,6 +7,15 @@ config BR2_PACKAGE_LUA
 
 if BR2_PACKAGE_LUA
 
+choice
+	prompt "Lua Interpreter command-line editing"
+	default BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
+
+config BR2_PACKAGE_LUA_INTERPRETER_EDITING_NONE
+	bool "none"
+	help
+	  None.
+
 config BR2_PACKAGE_LUA_INTERPRETER_READLINE
 	bool "readline support"
 	select BR2_PACKAGE_READLINE
@@ -14,4 +23,12 @@ config BR2_PACKAGE_LUA_INTERPRETER_READLINE
 	help
 	  Enables command-line editing in the lua interpreter.
 
+config BR2_PACKAGE_LUA_INTERPRETER_LINENOISE
+	bool "linenoise support"
+	select BR2_PACKAGE_LINENOISE
+	help
+	  Enables command-line editing in the lua interpreter.
+
+endchoice
+
 endif
diff --git a/package/lua/lua-11-linenoise.patch b/package/lua/lua-11-linenoise.patch
new file mode 100644
index 0000000..488c080
--- /dev/null
+++ b/package/lua/lua-11-linenoise.patch
@@ -0,0 +1,24 @@
+Add support of linenoise (replace readline)
+
+see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/src/luaconf.h
+===================================================================
+--- a/src/luaconf.h
++++ b/src/luaconf.h
+@@ -279,6 +279,13 @@
+ 	if (lua_strlen(L,idx) > 0)  /* non-empty line? */ \
+ 	  add_history(lua_tostring(L, idx));  /* add it to history */
+ #define lua_freeline(L,b)	((void)L, free(b))
++#elif defined(LUA_USE_LINENOISE)
++#include <linenoise.h>
++#define lua_readline(L,b,p)	((void)L, ((b)=linenoise(p)) != NULL)
++#define lua_saveline(L,idx) \
++	if (lua_strlen(L,idx) > 0)  /* non-empty line? */ \
++	  linenoiseHistoryAdd(lua_tostring(L, idx));  /* add it to history */
++#define lua_freeline(L,b)	((void)L, free(b))
+ #else
+ #define lua_readline(L,b,p)	\
+ 	((void)L, fputs(p, stdout), fflush(stdout),  /* show prompt */ \
diff --git a/package/lua/lua.mk b/package/lua/lua.mk
index 9e0d387..32acc99 100644
--- a/package/lua/lua.mk
+++ b/package/lua/lua.mk
@@ -16,10 +16,16 @@ LUA_MYLIBS += -ldl
 ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_READLINE),y)
 	LUA_DEPENDENCIES = readline ncurses
 	LUA_MYLIBS += -lreadline -lhistory -lncurses
-	LUA_CFLAGS += -DLUA_USE_LINUX
+	LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_READLINE
+else
+ifeq ($(BR2_PACKAGE_LUA_INTERPRETER_LINENOISE),y)
+	LUA_DEPENDENCIES = linenoise
+	LUA_MYLIBS += -llinenoise
+	LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_USE_LINENOISE
 else
 	LUA_CFLAGS += -DLUA_USE_POSIX -DLUA_USE_DLOPEN
 endif
+endif
 
 # We never want to have host-readline and host-ncurses as dependencies
 # of host-lua.

^ permalink raw reply related

* [Buildroot] [PATCH v2] linenoise: new package
From: Peter Korsgaard @ 2012-12-05 18:57 UTC (permalink / raw)
  To: buildroot
In-Reply-To: <1354730811-14060-1-git-send-email-francois.perrad@gadz.org>

>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:

 Francois> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply

* [Buildroot] [git commit] linenoise: new package
From: Peter Korsgaard @ 2012-12-05 18:56 UTC (permalink / raw)
  To: buildroot

commit: http://git.buildroot.net/buildroot/commit/?id=d87847203f3b1b6af51515978563f0dee737b6fd
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/Config.in                             |    1 +
 package/linenoise/Config.in                   |    6 +++
 package/linenoise/linenoise-get-columns.patch |   20 +++++++++++
 package/linenoise/linenoise.mk                |   45 +++++++++++++++++++++++++
 4 files changed, 72 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index f95e29d..ae94705 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -525,6 +525,7 @@ menu "Text and terminal handling"
 source "package/enchant/Config.in"
 source "package/icu/Config.in"
 source "package/libiconv/Config.in"
+source "package/linenoise/Config.in"
 source "package/ncurses/Config.in"
 source "package/newt/Config.in"
 source "package/pcre/Config.in"
diff --git a/package/linenoise/Config.in b/package/linenoise/Config.in
new file mode 100644
index 0000000..8e4ab91
--- /dev/null
+++ b/package/linenoise/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_LINENOISE
+	bool "linenoise"
+	help
+	  A small self-contained alternative to readline and libedit
+
+	  https://github.com/antirez/linenoise
diff --git a/package/linenoise/linenoise-get-columns.patch b/package/linenoise/linenoise-get-columns.patch
new file mode 100644
index 0000000..4fb9e40
--- /dev/null
+++ b/package/linenoise/linenoise-get-columns.patch
@@ -0,0 +1,20 @@
+returns the default value (80) when a real value is not available
+(0 is not an acceptable value for COLUMNS, the width of the screen).
+
+see pull request on upstream : http://github.com/antirez/linenoise/pull/31
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+
+Index: b/linenoise.c
+===================================================================
+--- a/linenoise.c
++++ b/linenoise.c
+@@ -182,7 +182,7 @@
+ static int getColumns(void) {
+     struct winsize ws;
+ 
+-    if (ioctl(1, TIOCGWINSZ, &ws) == -1) return 80;
++    if (ioctl(1, TIOCGWINSZ, &ws) == -1 || ws.ws_col == 0) return 80;
+     return ws.ws_col;
+ }
+ 
diff --git a/package/linenoise/linenoise.mk b/package/linenoise/linenoise.mk
new file mode 100644
index 0000000..343a107
--- /dev/null
+++ b/package/linenoise/linenoise.mk
@@ -0,0 +1,45 @@
+#############################################################
+#
+# linenoise
+#
+#############################################################
+LINENOISE_VERSION = g8c9b481
+LINENOISE_SITE = http://github.com/antirez/linenoise/tarball/master
+LINENOISE_LICENSE = BSD-2c
+LINENOISE_INSTALL_STAGING = YES
+
+define LINENOISE_BUILD_CMDS
+	cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c
+	cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o
+	cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise
+endef
+
+define LINENOISE_INSTALL_STAGING_CMDS
+	$(INSTALL) -m 644 -D $(@D)/linenoise.h          $(STAGING_DIR)/usr/include/linenoise.h
+	$(INSTALL) -m 644 -D $(@D)/liblinenoise.a       $(STAGING_DIR)/usr/lib/liblinenoise.a
+	$(INSTALL) -m 755 -D $(@D)/linenoise_example    $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_STAGING_CMDS
+	rm -f   $(STAGING_DIR)/usr/include/linenoise.h
+	rm -f   $(STAGING_DIR)/usr/lib/liblinenoise.a
+	rm -f   $(STAGING_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_INSTALL_TARGET_CMDS
+	$(INSTALL) -m 644 -D $(@D)/linenoise.h          $(TARGET_DIR)/usr/include/linenoise.h
+	$(INSTALL) -m 644 -D $(@D)/liblinenoise.a       $(TARGET_DIR)/usr/lib/liblinenoise.a
+	$(INSTALL) -m 755 -D $(@D)/linenoise_example    $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_UNINSTALL_TARGET_CMDS
+	rm -f   $(TARGET_DIR)/usr/include/linenoise.h
+	rm -f   $(TARGET_DIR)/usr/lib/liblinenoise.a
+	rm -f   $(TARGET_DIR)/usr/bin/linenoise_example
+endef
+
+define LINENOISE_CLEAN_CMDS
+	rm -f $(@D)/*.o $(@D)/*.a $(@D)/linenoise_example
+endef
+
+$(eval $(generic-package))

^ permalink raw reply related


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox