[Buildroot] Patch: parted support
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Oct 9 10:04:06 UTC 2009
Le Thu, 8 Oct 2009 19:45:44 +0200,
Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> a écrit :
> nowadays packages have to be written differently, like (completely
> untested):
Yes.
> ($(BR2_ENABLE_DEBUG),y)
> PARTED_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR)
> INSTALLCMD='./install-sh -c' \ install
> else
> PARTED_INSTALL_TARGET_OPT:=DESTDIR=$(TARGET_DIR)
> INSTALLCMD='./install-sh -c' \
> STRIPPROG="$(TARGET_STRIP)" install-strip
> endif
What is this INSTALLCMD thing ?
Concerning the ENABLE_DEBUG test, it is not necessary.
Makefile.autotools.in already does:
ifeq ($(BR2_ENABLE_DEBUG),y)
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-exec
else
$(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install-strip
endif
Sincerly,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list