mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-24 21:44:29 +00:00
Stopped makefile from crashing when patch is already applied.
This commit is contained in:
parent
1de7cc7347
commit
52d3d8a9f4
@ -70,7 +70,7 @@ $(WALLYBOARD): $(BUILDROOT)
|
|||||||
$(BUILDROOT)/package/fpga-axi-sdc: $(BUILDROOT) $(PATCHFILE) $(BRPACKAGES)/fpga-axi-sdc
|
$(BUILDROOT)/package/fpga-axi-sdc: $(BUILDROOT) $(PATCHFILE) $(BRPACKAGES)/fpga-axi-sdc
|
||||||
cp -r $(BRPACKAGES)/fpga-axi-sdc $(BUILDROOT)/package
|
cp -r $(BRPACKAGES)/fpga-axi-sdc $(BUILDROOT)/package
|
||||||
sed -i 's|FPGA_AXI_SDC_SITE =|FPGA_AXI_SDC_SITE = $(PACKAGE_SOURCE)|1' $(BUILDROOT)/package/fpga-axi-sdc/fpga-axi-sdc.mk
|
sed -i 's|FPGA_AXI_SDC_SITE =|FPGA_AXI_SDC_SITE = $(PACKAGE_SOURCE)|1' $(BUILDROOT)/package/fpga-axi-sdc/fpga-axi-sdc.mk
|
||||||
cd $(BUILDROOT); git apply $(PATCHFILE)
|
cd $(BUILDROOT); if git apply --check $(PATCHFILE) > /dev/null ; then git apply $(PATCHFILE); fi
|
||||||
|
|
||||||
$(PATCHFILE):
|
$(PATCHFILE):
|
||||||
cd $(BUILDROOT); git apply $(PATCHFILE)
|
cd $(BUILDROOT); git apply $(PATCHFILE)
|
||||||
|
Loading…
Reference in New Issue
Block a user