summaryrefslogtreecommitdiff
path: root/devel/ghidra/files/patch-GPL_GnuDisassembler_buildGdis.gradle
blob: 1e13dae68571f3e1785186e6576e7fecb753aa61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- GPL/GnuDisassembler/buildGdis.gradle.orig	2019-11-04 13:11:50 UTC
+++ GPL/GnuDisassembler/buildGdis.gradle
@@ -6,7 +6,7 @@
 
 defaultTasks 'assemble'
 
-ext.supportedPlatforms = ['osx64', 'linux64']
+ext.supportedPlatforms = ['osx64', 'linux64', 'freebsd64']
 
 ext.binutilsResource = new File("${binutilsLocation}/${binutils}.tar.bz2")
 
@@ -31,6 +31,10 @@ model {
 			architecture 'x86_64'
 			operatingSystem 'osx'
 		}
+		freebsd64 {
+			architecture 'x86_64'
+			operatingSystem 'freebsd'
+		}
 	}	
 	
 	components {
@@ -65,6 +69,9 @@ model {
 	}
 	tasks.compileGdisLinux64ExecutableGdisC {
 		dependsOn 'copyBinutilsArtifcats_linux64'
+	}
+	tasks.compileGdisFreeBSD64ExecutableGdisC {
+		dependsOn 'copyBinutilsArtifcats_freebsd64'
 	}
 	
 }