summaryrefslogtreecommitdiffstats
path: root/package/fconfig/fconfig.mk
blob: e6ccb32fd638cde42576dfff1919f6df5b2bf65d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#############################################################
#
# fconfig
#
#############################################################

FCONFIG_VERSION = 20080329
FCONFIG_SOURCE = fconfig-$(FCONFIG_VERSION).tar.gz
FCONFIG_SITE = http://andrzejekiert.ovh.org/software/fconfig/

define FCONFIG_BUILD_CMDS
	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)"
endef

define FCONFIG_INSTALL_TARGET_CMDS
	$(INSTALL) -D -m 0755 $(@D)/fconfig $(TARGET_DIR)/sbin/fconfig
endef

define FCONFIG_UNINSTALL_TARGET_CMDS
	rm -f $(TARGET_DIR)/sbin/fconfig
endef

define FCONFIG_CLEAN_CMDS
	-$(MAKE) -C $(@D) clean
endef

$(eval $(generic-package))
OpenPOWER on IntegriCloud