2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-11-06 01:50:12 +01:00
|
|
|
#
|
|
|
|
# fxload
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2012-11-06 01:50:12 +01:00
|
|
|
FXLOAD_VERSION = 2008_10_13
|
|
|
|
FXLOAD_SITE = http://downloads.sourceforge.net/project/linux-hotplug/fxload/$(FXLOAD_VERSION)
|
2017-03-30 15:43:32 +02:00
|
|
|
FXLOAD_LICENSE = GPL-2.0+
|
2013-05-08 03:34:21 +02:00
|
|
|
FXLOAD_LICENSE_FILES = COPYING
|
2012-11-06 01:50:12 +01:00
|
|
|
|
2019-06-14 23:03:38 +02:00
|
|
|
FXLOAD_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_63261),y)
|
|
|
|
FXLOAD_CFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
2012-11-06 01:50:12 +01:00
|
|
|
define FXLOAD_BUILD_CMDS
|
2019-06-14 23:03:38 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CFLAGS="$(FXLOAD_CFLAGS)" -C $(@D) all
|
2012-11-06 01:50:12 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
define FXLOAD_INSTALL_TARGET_CMDS
|
2014-10-25 08:20:44 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) prefix=$(TARGET_DIR) -C $(@D) install
|
2012-11-06 01:50:12 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|