summaryrefslogtreecommitdiff
path: root/altera-socfpga/patches/no-untar.diff
diff options
context:
space:
mode:
Diffstat (limited to 'altera-socfpga/patches/no-untar.diff')
-rw-r--r--altera-socfpga/patches/no-untar.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/altera-socfpga/patches/no-untar.diff b/altera-socfpga/patches/no-untar.diff
new file mode 100644
index 0000000..989741d
--- /dev/null
+++ b/altera-socfpga/patches/no-untar.diff
@@ -0,0 +1,34 @@
+diff --git a/hardware-handoff/spl_bsp/Makefile b/hardware-handoff/spl_bsp/Makefile
+index ec12f34..b741a77 100644
+--- a/hardware-handoff/spl_bsp/Makefile
++++ b/hardware-handoff/spl_bsp/Makefile
+@@ -72,11 +72,9 @@ define stamp
+ endef
+
+ define untar_recipe
+-$(UNTAR) $(if $1,$1,$(if $<,$<,$(error ERROR: no input provided to gnu make function untar_recipe)))
+ endef
+
+ # Stamps
+-UNTAR_SRC := $(STAMP_DIR)/.untar
+ CONFIG := $(STAMP_DIR)/.config
+ PATCH_APPLY := $(STAMP_DIR)/.patch
+
+@@ -211,7 +209,7 @@ tools: $(CONFIG)
+ .PHONY: src
+ src: $(UNTAR_SRC)
+
+-$(UNTAR_SRC): $(TGZ)
++$(UNTAR_SRC):
+ @$(RM) $(PRELOADER_SRC_DIR)
+ $(untar_recipe)
+ @$(CHMOD) -R 755 $(PRELOADER_SRC_DIR)
+@@ -237,7 +235,7 @@ $(UPDATE_GENERATED_SOURCE_FILES): $(PRELOADER_UPDATE_DIR)/%: generated/% $(UNTAR
+ .PHONY: config
+ config: $(CONFIG)
+
+-$(CONFIG): $(UPDATE_SRC) $(UNTAR_SRC) $(PATCH_APPLY)
++$(CONFIG): $(UPDATE_SRC)
+ $(MAKE) $(MAKE_ARGS) -C $(PRELOADER_SRC_DIR) $(SOCFPGA_BOARD_CONFIG)
+ $(stamp)
+