e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
785 B
Makefile
23 lines
785 B
Makefile
#############################################################
|
|
#
|
|
# Setserial
|
|
#
|
|
#############################################################
|
|
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/
|
|
|
|
define SETSERIAL_APPLY_DEBIAN_PATCHES
|
|
# Touching gorhack.h is needed for the Debian patch 18 to work
|
|
if [ -d $(@D)/debian/patches ]; then \
|
|
touch $(@D)/gorhack.h; \
|
|
rm $(@D)/debian/patches/01_makefile.dpatch; \
|
|
support/scripts/apply-patches.sh $(@D) $(@D)/debian/patches *.dpatch; \
|
|
fi
|
|
endef
|
|
|
|
SETSERIAL_POST_PATCH_HOOKS += SETSERIAL_APPLY_DEBIAN_PATCHES
|
|
|
|
$(eval $(autotools-package))
|