2012-05-28 17:11:23 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# lshw
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
LSHW_VERSION = B.02.16
|
|
|
|
LSHW_SITE = http://ezix.org/software/files
|
2012-07-04 03:29:40 +02:00
|
|
|
LSHW_MAKE_OPT = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" AR="$(TARGET_AR)" \
|
2012-05-28 17:11:23 +02:00
|
|
|
RPM_OPT_FLAGS="$(TARGET_CFLAGS)" all
|
|
|
|
LSHW_MAKE_ENV = LIBS="$(if $(BR2_NEEDS_GETTEXT),-lintl)"
|
2012-09-16 14:57:49 +02:00
|
|
|
LSHW_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT),gettext)
|
2012-05-28 17:11:23 +02:00
|
|
|
|
|
|
|
define LSHW_BUILD_CMDS
|
|
|
|
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src $(LSHW_MAKE_OPT)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LSHW_INSTALL_TARGET_CMDS
|
|
|
|
$(LSHW_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) \
|
|
|
|
$(LSHW_MAKE_OPT) install
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|