summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorFabio Porcedda <fabio.porcedda@gmail.com>2014-10-22 18:20:10 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-10-25 01:31:32 +0200
commit1586ce3a3d427419bb83e6065f3536bfc36cdb13 (patch)
treed3ad7bde9866d1971fdf62ce8d5691696bfd91e1 /package/gcc
parentbcb835b042d385bac801e00cff2f1dbacff93629 (diff)
downloadbuildroot-1586ce3a3d427419bb83e6065f3536bfc36cdb13.tar.gz
buildroot-1586ce3a3d427419bb83e6065f3536bfc36cdb13.zip
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 'package/gcc')
-rw-r--r--package/gcc/gcc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/gcc/gcc.mk b/package/gcc/gcc.mk
index 7bed159c04..1352bdf2f0 100644
--- a/package/gcc/gcc.mk
+++ b/package/gcc/gcc.mk
@@ -37,14 +37,14 @@ endef
ifeq ($(ARCH),powerpc)
ifneq ($(BR2_SOFT_FLOAT),)
define HOST_GCC_APPLY_POWERPC_PATCH
- support/scripts/apply-patches.sh $(@D) package/gcc/$(GCC_VERSION) powerpc-link-with-math-lib.patch.conditional
+ $(APPLY_PATCHES) $(@D) package/gcc/$(GCC_VERSION) powerpc-link-with-math-lib.patch.conditional
endef
endif
endif
define HOST_GCC_APPLY_PATCHES
if test -d package/gcc/$(GCC_VERSION); then \
- support/scripts/apply-patches.sh $(@D) package/gcc/$(GCC_VERSION) \*.patch ; \
+ $(APPLY_PATCHES) $(@D) package/gcc/$(GCC_VERSION) \*.patch ; \
fi;
$(HOST_GCC_APPLY_POWERPC_PATCH)
endef
OpenPOWER on IntegriCloud