kumquat-buildroot/package/setserial/setserial.mk

22 lines
716 B
Makefile
Raw Normal View History

2007-02-06 10:04:44 +01:00
#############################################################
#
# Setserial
#
#############################################################
SETSERIAL_VERSION:=2.17
2008-12-21 16:34:38 +01:00
SETSERIAL_PATCH_VERSION:=.orig
SETSERIAL_PATCH_FILE:=setserial_2.17-45.diff.gz
2007-04-17 19:02:15 +02:00
SETSERIAL_SOURCE:=setserial_$(SETSERIAL_VERSION)$(SETSERIAL_PATCH_VERSION).tar.gz
2007-12-27 13:00:12 +01:00
SETSERIAL_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/s/setserial/
SETSERIAL_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install
2007-02-06 10:04:44 +01:00
define SETSERIAL_APPLY_DEBIAN_PATCHES
if [ -d $(@D)/debian/patches ]; then \
toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches \*.patch; \
2007-02-06 10:04:44 +01:00
fi
endef
2007-02-06 10:04:44 +01:00
SETSERIAL_POST_PATCH_HOOKS += SETSERIAL_APPLY_DEBIAN_PATCHES
2008-12-21 16:34:38 +01:00
$(eval $(call AUTOTARGETS,package,setserial))