[Buildroot] [PATCH] Added the empty package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Apr 10 09:12:47 UTC 2012


Le Tue, 10 Apr 2012 11:06:57 +0200,
Belisko Marek <marek.belisko at gmail.com> a écrit :

> > +define EMPTY_INSTALL_TARGET_CMDS
> > +       $(INSTALL) -D $(@D)/empty $(TARGET_DIR)/usr/bin
> You need to specify name also for target directory so then:
>    +       $(INSTALL) -D $(@D)/empty $(TARGET_DIR)/usr/bin/empty
> 
> > +       -$(STRIPCMP) $(STRIP_STRIP_UNNEEDED)
> > $(TARGET_DIR)/usr/bin/empty +endef

No need to call $(STRIPCMP), this is done automatically by Buildroot.

> > +$(eval $(call GENTARGETS,package,empty))

The GENTARGETS arguments are useless.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list