diff options
Diffstat (limited to 'package/setserial/setserial.mk')
-rw-r--r-- | package/setserial/setserial.mk | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/package/setserial/setserial.mk b/package/setserial/setserial.mk index 1c222a209..0b673469c 100644 --- a/package/setserial/setserial.mk +++ b/package/setserial/setserial.mk @@ -3,16 +3,18 @@ # Setserial # ############################################################# -SETSERIAL_VERSION:=2.17 -SETSERIAL_PATCH_VERSION:=.orig -SETSERIAL_PATCH_FILE:=setserial_2.17-45.diff.gz -SETSERIAL_SOURCE:=setserial_$(SETSERIAL_VERSION)$(SETSERIAL_PATCH_VERSION).tar.gz -SETSERIAL_SITE:=$(BR2_DEBIAN_MIRROR)/debian/pool/main/s/setserial/ -SETSERIAL_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) install +SETSERIAL_VERSION = 2.17 +SETSERIAL_PATCH = setserial_2.17-45.2.diff.gz +SETSERIAL_SOURCE = setserial_$(SETSERIAL_VERSION).orig.tar.gz +SETSERIAL_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/setserial/ +SETSERIAL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install define SETSERIAL_APPLY_DEBIAN_PATCHES + # Touching gorhack.h is needed for the Debian patch 18 to work if [ -d $(@D)/debian/patches ]; then \ - toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches \*.patch; \ + touch $(@D)/gorhack.h; \ + rm $(@D)/debian/patches/01_makefile.dpatch; \ + toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches *.dpatch; \ fi endef |