aboutsummaryrefslogtreecommitdiff
path: root/linux/linux-ext-rtai.mk
diff options
context:
space:
mode:
authorGravatar Fabio Porcedda <fabio.porcedda@gmail.com>2014-10-22 18:20:10 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-10-25 01:31:32 +0200
commit1586ce3a3d427419bb83e6065f3536bfc36cdb13 (patch)
treed3ad7bde9866d1971fdf62ce8d5691696bfd91e1 /linux/linux-ext-rtai.mk
parentbcb835b042d385bac801e00cff2f1dbacff93629 (diff)
downloadbuildroot-1586ce3a3d427419bb83e6065f3536bfc36cdb13.tar.gz
buildroot-1586ce3a3d427419bb83e6065f3536bfc36cdb13.tar.bz2
apply-patches.sh: Use the "APPLY_PATCHES" variable to call the script
To easy up adding optional parameters when calling the "apply-patches.sh" add and use the "APPLY_PATCHES" variable to execute the script. Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux/linux-ext-rtai.mk')
-rw-r--r--linux/linux-ext-rtai.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/linux-ext-rtai.mk b/linux/linux-ext-rtai.mk
index dcfab49831..bf998d5fdd 100644
--- a/linux/linux-ext-rtai.mk
+++ b/linux/linux-ext-rtai.mk
@@ -25,7 +25,7 @@ ifeq ($(RTAI_PATCH),)
define RTAI_PREPARE_KERNEL
kver=`$(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelversion` ; \
if test -f $(RTAI_DIR)/base/arch/$(RTAI_ARCH)/patches/hal-linux-$${kver}-*patch ; then \
- support/scripts/apply-patches.sh $(LINUX_DIR) \
+ $(APPLY_PATCHES) $(LINUX_DIR) \
$(RTAI_DIR)/base/arch/$(RTAI_ARCH)/patches/ \
hal-linux-$${kver}-*patch ; \
else \
@@ -35,7 +35,7 @@ define RTAI_PREPARE_KERNEL
endef
else
define RTAI_PREPARE_KERNEL
- support/scripts/apply-patches.sh \
+ $(APPLY_PATCHES) \
$(LINUX_DIR) \
$(dir $(RTAI_PATCH)) \
$(notdir $(RTAI_PATCH))