gperf: convert to newstyle autotools infrastructure

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Lionel Landwerlin 2009-11-15 11:12:54 +01:00 committed by Peter Korsgaard
parent 8b2bd9319e
commit 8fb159e140

View File

@ -9,12 +9,8 @@ GPERF_SITE = $(BR2_GNU_MIRROR)/gperf
GPERF_AUTORECONF = NO
GPERF_INSTALL_STAGING = NO
GPERF_INSTALL_TARGET = YES
GPERF_INSTALL_STAGING_OPT = DESTDIR=$(STAGING_DIR) install
# install-strip rule does not exist in gperf's makefiles
GPERF_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
$(eval $(call AUTOTARGETS,package,gperf))
$(GPERF_HOOK_POST_INSTALL): $(GPERF_TARGET_INSTALL_TARGET)
$(STRIPCMD) $(STRIP_STRIP_ALL) $(TARGET_DIR)/usr/bin/gperf
touch $@