From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Makefile for user applications
Date: Tue, 23 Nov 2010 23:39:52 +0100 [thread overview]
Message-ID: <20101123233952.13e6f2a6@surf> (raw)
In-Reply-To: <0C11C5BF0B29FD43A8D0250F711D497F7F6CC9DB5A@ex01-ubitronix.ubitronix.local>
Hello,
On Thu, 11 Nov 2010 12:18:39 +0100
Abhishek Ashtekar <Abhishek.Ashtekar@ubitronix.com> wrote:
> Actually I just want the makefile to copy the binary from the package to /targert/usr/bin
>
> However it goes to download myapp 1.0 Downloading ....... To a sourceforge.net link and stops.
Yes, both the GENTARGETS and AUTOTARGETS infrastructure always download
the package source code if it's not already in the cache.
If you want a package that just copies a single tarball, you have to
make a manual Makefile.
Something like:
===================================================================
$(TARGET_DIR)/usr/bin/myapp: /somewhere/myapp
install -m 755 $^ $@
myapp: $(TARGET_DIR)/usr/bin/myapp
ifeq ($(BR2_PACKAGE_MYAPP),y)
TARGETS+=myapp
endif
===================================================================
We might extend the package infrastructure in the future to support
this kind of thing.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2010-11-23 22:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 11:18 [Buildroot] Makefile for user applications Abhishek Ashtekar
2010-11-23 22:39 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101123233952.13e6f2a6@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox