[Buildroot] how to setup a target prerequisite?

Roberto A. Foglietta roberto.foglietta at gmail.com
Thu Nov 20 10:34:38 UTC 2008

Hi to all,

 I have create a target/ugles for my porpoises which overwrite some
skeleton files.

 Unfortunately because alphabetical ordering target ugles happens to
be done AFTER ext2 file system generation. In fact, if I rename it as
000ugles it works properly.

 Is there any methods to tell make that ugles should happen before
doing another target? At this time I used this:

ifeq ($(strip $(BR2_TARGET_UGLES)),y)
TARGETS:=$(subst ext2root,ugles ext2root,$(TARGETS))


More information about the buildroot mailing list