Skip to content

#123 Add windres and ld for ARM (Raspberry Pi) #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
340 changes: 340 additions & 0 deletions bin/bin-linuxarmv6hf/COPYING

Large diffs are not rendered by default.

Binary file added bin/bin-linuxarmv6hf/ld
Binary file not shown.
Binary file added bin/bin-linuxarmv6hf/windres
Binary file not shown.
21 changes: 20 additions & 1 deletion build-private.xml
Original file line number Diff line number Diff line change
@@ -64,6 +64,18 @@
<chmod file="launch4j" perm="+x" />
</target>

<target name="binutils-linux-armv6hf">
<antcall target="clean-binutils" />
<copy todir="${bin}">
<fileset dir="${bin}/bin-linuxarmv6hf">
<include name="*" />
</fileset>
</copy>
<chmod file="${bin}/windres" perm="+x" />
<chmod file="${bin}/ld" perm="+x" />
<chmod file="launch4j" perm="+x" />
</target>

<target name="binutils-macosx-x86">
<antcall target="clean-binutils" />
<copy todir="${bin}">
@@ -126,6 +138,13 @@
</exec>
</target>

<target name="dist.linux-armv6hf" depends="remove-sign4j, jar, webdocs" description="generate the Linux armv6hf distribution">
<antcall target="binutils-linux-armv6hf" />
<exec executable="tar" failonerror="true">
<arg line="-czC .. --exclude build --exclude bin/bin* --exclude CVS --exclude .cvsignore --exclude *.bat --exclude *.exe --exclude launch4j/l4j --exclude build-private.xml --owner=0 --group=0 -f ${dist}/${ant.project.name}-${version}-linux-armv6hf.tgz ./launch4j" />
</exec>
</target>

<target name="dist.macosx-x86" depends="remove-sign4j, jar, webdocs" description="generate the x86 Mac OS X distribution">
<antcall target="binutils-macosx-x86" />
<exec executable="tar" failonerror="true">
@@ -170,7 +189,7 @@
</copy>
</target>

<target name="dist" depends="demo, webdocs, dist.win32, dist.macosx-x86, dist.linux, dist.linux-x64, clean"
<target name="dist" depends="demo, webdocs, dist.win32, dist.macosx-x86, dist.linux, dist.linux-x64, dist.linux-armv6hf, clean"
description="generate all distributions" />

<target name="clean-binutils">
53 changes: 53 additions & 0 deletions maven/assembly/assemble-linuxarmv6hf.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Maven Launch4j Plugin
Copyright (c) 2006 Paul Jungwirth
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<assembly>
<id>workdir-linuxarmv6hf</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>bin/bin-linuxarmv6hf</directory>
<outputDirectory>${finalName}-workdir-linuxarmv6hf/bin</outputDirectory>
</fileSet>
<fileSet>
<outputDirectory>${finalName}-workdir-linuxarmv6hf</outputDirectory>
<includes>
<include>w32api/**/*</include>
<include>w32api_jni/**/*</include>
<include>head/**/*</include>
<include>head_jni_BETA/**/*</include>
</includes>
</fileSet>
</fileSets>
</assembly>
1 change: 1 addition & 0 deletions maven/pom.xml
Original file line number Diff line number Diff line change
@@ -237,6 +237,7 @@
<descriptors>
<descriptor>assembly/assemble-linux.xml</descriptor>
<descriptor>assembly/assemble-linux64.xml</descriptor>
<descriptor>assembly/assemble-linuxarmv6hf.xml</descriptor>
<descriptor>assembly/assemble-win32.xml</descriptor>
<descriptor>assembly/assemble-mac.xml</descriptor>
</descriptors>
2 changes: 1 addition & 1 deletion src/launch4j.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
versionNumber=3.12.0.0
version=3.12
version=3.13-SNAPSHOT