From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julyberry Date: Tue, 16 Jul 2013 15:24:16 -0700 (PDT) Subject: [U-Boot] How to create a library with already built library Message-ID: <1374013456885-159486.post@n7.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.