Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Suggestion, move TARGET_DIR
@ 2006-11-05 12:05 Thomas Lundquist
  2006-11-06  7:22 ` Ulf Samuelsson
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Lundquist @ 2006-11-05 12:05 UTC (permalink / raw)
  To: buildroot

Hello again.

I have always felt that TARGET_DIR was kinda misplaced. build_<ARCH> is
for the source and staging (well, maybe not even staging).

so, what about making target_<ARCH> instead? 

I am working on autonomous packages (choose between making a pcakage a
part of the root file system or an autonomous tarball) and I am using 
TARGET_PKG_DIR for that. right now it's build_<ARCH>/packages.

but target_<ARCH>/root and target_<ARCH>/packages seems more right to
me.

but foloowing this logic would make us have to sed thorugh the whole
tree to change TARGET_DIR to TARGET_ROOT_DIR but that ain't exactly
difficult to do. (I can make a patch for it).

anyone with anything to say which likes it and will help getting the
patches in?


Thomas.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* [Buildroot] Suggestion, move TARGET_DIR
@ 2006-11-06 19:57 Ulf Samuelsson
  0 siblings, 0 replies; 4+ messages in thread
From: Ulf Samuelsson @ 2006-11-06 19:57 UTC (permalink / raw)
  To: buildroot


> 
> If you have, lets say, several ARM targets, it makes sense to have several "root"
> which you can rebuild without recompiling each package.

and both buld_<ARCH> and target_<ARCH> ends up as the same thing.

but if I understand you, you'd like target_<TARGET_NAME> or
target_<ARCH>_<TARGET_NAME> so we can build for more than one target?

=> Actually I'd like
target_<ARCH>/<TARGET_NAME>

and under that I'd
like to put all things 
related to that target
including "root",
the generated file system(s)
the build for u-boot and
linux so I can have 
several configurations.
Actually every package
which have their own
configuration file should
be in a target specific
directory, so maybe even
busybox.
build_<ARCH> should be used when you can use the same package for several targets.

/Ulf

> Also it would make sense to be able to generate binary rpm's for each package.

Landley mentioned dependencies but it shouldn't be that hard if we drop 
that headache.


Thomas.
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-11-06 19:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-05 12:05 [Buildroot] Suggestion, move TARGET_DIR Thomas Lundquist
2006-11-06  7:22 ` Ulf Samuelsson
2006-11-06  9:50   ` Thomas Lundquist
  -- strict thread matches above, loose matches on Subject: below --
2006-11-06 19:57 Ulf Samuelsson

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