* [Buildroot] Buildroot source directory
@ 2012-01-05 9:47 Janne Hämeenaho
2012-01-05 10:18 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Janne Hämeenaho @ 2012-01-05 9:47 UTC (permalink / raw)
To: buildroot
Hi,
I've got a Buildroot makefile issue with Mercurial repository. Here's the makefile that get's the whole repository, but this prodtest module needs only /my-device/prodtest folder. How do I show Buildroot to use that folder? I don't mind that the whole repo comes along to tar, I just want to use that certain subfolder.
############################################################### prodtest##############################################################PRODTEST_VERSION = defaultPRODTEST_SITE_METHOD = hgPRODTEST_SITE = http://hg.my.lan/trunk/my-device
define PRODTEST_BUILD_CMDS
$(MAKE) -C $(@D) \ CC="$(TARGET_CROSS)" \ endef
$(eval $(call GENTARGETS,package,prodtest))
Br,Janne H
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120105/383a6c77/attachment.html>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Buildroot source directory
2012-01-05 9:47 [Buildroot] Buildroot source directory Janne Hämeenaho
@ 2012-01-05 10:18 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2012-01-05 10:18 UTC (permalink / raw)
To: buildroot
Hello,
Please fix your mailer, the text version it's sending is badly wrapped.
Le Thu, 5 Jan 2012 12:47:50 +0300,
Janne H?meenaho <jannehameenaho@hotmail.com> a ?crit :
> I've got a Buildroot makefile issue with Mercurial repository. Here's the makefile that get's the whole repository, but this prodtest module needs only /my-device/prodtest folder. How do I show Buildroot to use that folder? I don't mind that the whole repo comes along to tar, I just want to use that certain subfolder.
> ############################################################### prodtest##############################################################PRODTEST_VERSION = defaultPRODTEST_SITE_METHOD = hgPRODTEST_SITE = http://hg.my.lan/trunk/my-device
> define PRODTEST_BUILD_CMDS
> $(MAKE) -C $(@D) \ CC="$(TARGET_CROSS)" \ endef
Use:
$(MAKE) -C $(@D)/prodtest
Does that answer your question?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-05 10:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-05 9:47 [Buildroot] Buildroot source directory Janne Hämeenaho
2012-01-05 10:18 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox