From a10d95e4916d69b3013143353d5f4aa44dec9748 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Sat, 11 Jul 2015 20:46:18 -0700 Subject: Add a Chisel patch that doesn't copy the headers The sane way to deal with Chisel headers is now to use "chisel-hdrtar", as opposed to the current Chisel system which copies headers from the build directory while running Scala. --- .../chisel/files/chisel-2.2.27-copy_to_target.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sci-electronics/chisel/files/chisel-2.2.27-copy_to_target.patch (limited to 'sci-electronics/chisel/files/chisel-2.2.27-copy_to_target.patch') diff --git a/sci-electronics/chisel/files/chisel-2.2.27-copy_to_target.patch b/sci-electronics/chisel/files/chisel-2.2.27-copy_to_target.patch new file mode 100644 index 0000000..557ae69 --- /dev/null +++ b/sci-electronics/chisel/files/chisel-2.2.27-copy_to_target.patch @@ -0,0 +1,17 @@ +diff --git a/src/main/scala/Cpp.scala b/src/main/scala/Cpp.scala +index 575b1d875eb8..27520c23491d 100644 +--- a/src/main/scala/Cpp.scala ++++ b/src/main/scala/Cpp.scala +@@ -1843,9 +1843,9 @@ class CppBackend extends Backend { + } + } + /* Copy the emulator headers into the targetDirectory. */ +- copyToTarget("emulator_mod.h") +- copyToTarget("emulator_api.h") +- copyToTarget("emulator.h") ++ //copyToTarget("emulator_mod.h") ++ //copyToTarget("emulator_api.h") ++ //copyToTarget("emulator.h") + } + + // Return true if we want this node to be included in the main object. -- cgit v1.2.3