public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Julyberry <senkoh@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] How to create a library with already built library
Date: Tue, 16 Jul 2013 15:24:16 -0700 (PDT)	[thread overview]
Message-ID: <1374013456885-159486.post@n7.nabble.com> (raw)

Hello,

I am new to U-Boot and try to add some codes for implementing some logic as
a feature. This entry routine of this new code will be called from main_loop
in common. 

To achieve this, there are some new codes that I am adding to
u-boot/lib/libua(new folder) and I also need to link an already built
library with my new code.

I looked at the existing Makefiles and config.mk in U-Boot source root.
It looks like the the following code is used in Makefile.

$(LIB): $(obj).depend $(OBJS)
        $(call cmd_link_o_target, $(OBJS))

However, it seems that the *cmd_link_o_target* routine only takes 1 argument
as defined in config.mk.
How can I link the already built library with the new library I am creating?

Any help will be appreciated.
 



--
View this message in context: http://u-boot.10912.n7.nabble.com/How-to-create-a-library-with-already-built-library-tp159486.html
Sent from the U-Boot mailing list archive at Nabble.com.

             reply	other threads:[~2013-07-16 22:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-16 22:24 Julyberry [this message]
2013-07-17  7:19 ` [U-Boot] How to create a library with already built library Albert ARIBAUD
2013-07-17 17:52   ` Julyberry
2013-07-18  6:49     ` Albert ARIBAUD
2013-07-25  0:50       ` Julyberry

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=1374013456885-159486.post@n7.nabble.com \
    --to=senkoh@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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