mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-24 07:06:42 +00:00
Merge branch 'patch-failure-pr' of https://github.com/osresearch/heads
This commit is contained in:
commit
6170b4cd06
12
Makefile
12
Makefile
@ -212,14 +212,16 @@ define define_module =
|
|||||||
git clone $($1_repo) "$(build)/$($1_base_dir)"
|
git clone $($1_repo) "$(build)/$($1_base_dir)"
|
||||||
if [ -r patches/$1.patch ]; then \
|
if [ -r patches/$1.patch ]; then \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
||||||
< patches/$1.patch; \
|
< patches/$1.patch \
|
||||||
|
|| exit 1 ; \
|
||||||
fi
|
fi
|
||||||
if [ -d patches/$1 ] && \
|
if [ -d patches/$1 ] && \
|
||||||
[ -r patches/$1 ] ; then \
|
[ -r patches/$1 ] ; then \
|
||||||
for patch in patches/$1/*.patch ; do \
|
for patch in patches/$1/*.patch ; do \
|
||||||
echo "Applying patch file : $$$$patch " ; \
|
echo "Applying patch file : $$$$patch " ; \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
||||||
< $$$$patch ; \
|
< $$$$patch \
|
||||||
|
|| exit 1 ; \
|
||||||
done ; \
|
done ; \
|
||||||
fi
|
fi
|
||||||
@touch "$$@"
|
@touch "$$@"
|
||||||
@ -243,14 +245,16 @@ define define_module =
|
|||||||
tar -xf "$(packages)/$($1_tar)" -C "$(build)"
|
tar -xf "$(packages)/$($1_tar)" -C "$(build)"
|
||||||
if [ -r patches/$1-$($1_version).patch ]; then \
|
if [ -r patches/$1-$($1_version).patch ]; then \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
||||||
< patches/$1-$($1_version).patch; \
|
< patches/$1-$($1_version).patch \
|
||||||
|
|| exit 1 ; \
|
||||||
fi
|
fi
|
||||||
if [ -d patches/$1-$($1_version) ] && \
|
if [ -d patches/$1-$($1_version) ] && \
|
||||||
[ -r patches/$1-$($1_version) ] ; then \
|
[ -r patches/$1-$($1_version) ] ; then \
|
||||||
for patch in patches/$1-$($1_version)/*.patch ; do \
|
for patch in patches/$1-$($1_version)/*.patch ; do \
|
||||||
echo "Applying patch file : $$$$patch " ; \
|
echo "Applying patch file : $$$$patch " ; \
|
||||||
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
( cd $(build)/$($1_base_dir) ; patch -p1 ) \
|
||||||
< $$$$patch ; \
|
< $$$$patch \
|
||||||
|
|| exit 1 ; \
|
||||||
done ; \
|
done ; \
|
||||||
fi
|
fi
|
||||||
@touch "$$@"
|
@touch "$$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user