mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-23 21:43:30 +08:00
package/libtomcrypt: use makefile.unix, brings pkgconfig support
Change from makefile to makefile.unix: - brings pkgconfig support (libtomcrypt.pc will be installed) - remove NODOCS (legacy, not used anymore) - remove INSTALL_USER/INSTALL_GROUP (not needed for makefile.unix) Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
bbda38afbb
commit
84582b4d6a
@ -24,13 +24,12 @@ LIBTOMCRYPT_CFLAGS += -fPIC
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define LIBTOMCRYPT_BUILD_CMDS
|
define LIBTOMCRYPT_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBTOMCRYPT_CFLAGS)"
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f makefile.unix $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBTOMCRYPT_CFLAGS)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBTOMCRYPT_INSTALL_STAGING_CMDS
|
define LIBTOMCRYPT_INSTALL_STAGING_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f makefile.unix \
|
||||||
PREFIX=/usr NODOCS=1 INSTALL_USER=$(shell id -u) \
|
DESTDIR="$(STAGING_DIR)" PREFIX=/usr install
|
||||||
INSTALL_GROUP=$(shell id -g) install
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user