xref: /OK3568_Linux_fs/buildroot/package/fxload/fxload.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# fxload
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunFXLOAD_VERSION = 2008_10_13
8*4882a593SmuzhiyunFXLOAD_SITE = http://downloads.sourceforge.net/project/linux-hotplug/fxload/$(FXLOAD_VERSION)
9*4882a593SmuzhiyunFXLOAD_LICENSE = GPL-2.0+
10*4882a593SmuzhiyunFXLOAD_LICENSE_FILES = COPYING
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunFXLOAD_CFLAGS = $(TARGET_CFLAGS)
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_63261),y)
15*4882a593SmuzhiyunFXLOAD_CFLAGS += -O0
16*4882a593Smuzhiyunendif
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundefine FXLOAD_BUILD_CMDS
19*4882a593Smuzhiyun	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
20*4882a593Smuzhiyun		CFLAGS="$(FXLOAD_CFLAGS)" -C $(@D) all
21*4882a593Smuzhiyunendef
22*4882a593Smuzhiyun
23*4882a593Smuzhiyundefine FXLOAD_INSTALL_TARGET_CMDS
24*4882a593Smuzhiyun	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) prefix=$(TARGET_DIR) -C $(@D) install
25*4882a593Smuzhiyunendef
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun$(eval $(generic-package))
28