Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] converting util-linux-ng to autotargets
@ 2010-07-25 19:47 Ossy
  2010-07-26  6:29 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Ossy @ 2010-07-25 19:47 UTC (permalink / raw)
  To: buildroot

Hi mailinglsit,

I tried to update to a newer version util-linux. As proposed by Thomas 
Pettazonni I like to use the new autotargets infrastructure.

I searched the mailinglist archives and applied the pattern for 
converting to autotargets to util-linux-ng.mk

For a simple roundtrip my config looks like this:
#############################################################
UTIL-LINUX-NG_VERSION=2.17
UTIL-LINUX-NG_SITE=$(BR2_KERNEL_MIRROR)/linux/utils/util-linux-ng/v$(UTIL-LINUX-NG_VERSION)
   UTIL-LINUX-NG_SOURCE=util-linux-ng-$(UTIL-LINUX-NG_VERSION).tar.bz2
UTIL-LINUX-NG_CONF_OPT=--disable-use-tty-group
UTIL-LINUX-NG_DEPENDENCIES=

define UTIL-LINUX-NG_INSTALL_TARGET_CMDS
         $(INSTALL) -D $(@D)/usr/bin/chkdupexe 
$(TARGET_DIR)/usr/sbin/chkdupexe
/init.d/
endef

$(eval $(call AUTOTARGETS,package,util-linux-ng))


My br-config includes the util-linux-ng package:
ossy at debian-virtual:~/buildroot/buildroot-dev$ cat .config|grep 
UTIL-LINUX-NG
BR2_PACKAGE_UTIL-LINUX-NG=y


The packae isn't touched in any way. The output/build directory includes 
ALL other packages. But BR never tried to create a util-linux-ng 
directory. All other conversion-patches to autotarget only modifed the 
*mk files. Nothing more.

Where can I find a log or something else where br tried to include 
util-linux-ng but run over it (because of some silly typos etc.)?

Thanks for your help.

Regards,
Marcus

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

end of thread, other threads:[~2010-07-26 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-25 19:47 [Buildroot] converting util-linux-ng to autotargets Ossy
2010-07-26  6:29 ` Thomas Petazzoni
2010-07-26 20:39   ` Ossy

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