equal
deleted
inserted
replaced
55 |
55 |
56 PATCHES = $(shell find $(PATCH_DIR) $(PARFAIT_PATCH_DIR) -type f \ |
56 PATCHES = $(shell find $(PATCH_DIR) $(PARFAIT_PATCH_DIR) -type f \ |
57 -name '$(PATCH_PATTERN)' 2>/dev/null | \ |
57 -name '$(PATCH_PATTERN)' 2>/dev/null | \ |
58 LC_COLLATE=C sort) |
58 LC_COLLATE=C sort) |
59 |
59 |
60 PCH_SUFFIXES = $(patsubst .patch_%,%, $(filter-out .patch,$(suffix $(PATCHES)))) |
60 # Patches for different source tarballs have _X filename extensions to |
|
61 # match the _X extensions to the COMPONENT_* make variables. Find these |
|
62 # extensions, using $(sort) to uniq them to prevent multiple rules from |
|
63 # getting generated. |
|
64 PCH_SUFFIXES = $(sort $(patsubst .patch_%,%, $(filter-out .patch,$(suffix $(PATCHES))))) |
61 |
65 |
62 define patch-rule |
66 define patch-rule |
63 |
67 |
64 ifeq ($(1),_0) |
68 ifeq ($(1),_0) |
65 PATCH_PATTERN$(1) ?= %.patch |
69 PATCH_PATTERN$(1) ?= %.patch |