Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2018-01-18 14:44:04 -0500
committerAlexander Kurtakov2018-01-26 09:19:08 -0500
commit65ca41b1f452e1f1e15f55c0bf09339f72e065eb (patch)
tree28c77d1bd705570692099e9a959db60b8f1eed0b /features/org.eclipse.equinox.executable.feature/library/gtk/README.md
parente55e66e8760fe7f79c6becf09ad7f4519e02d2e5 (diff)
downloadrt.equinox.framework-65ca41b1f452e1f1e15f55c0bf09339f72e065eb.tar.gz
rt.equinox.framework-65ca41b1f452e1f1e15f55c0bf09339f72e065eb.tar.xz
rt.equinox.framework-65ca41b1f452e1f1e15f55c0bf09339f72e065eb.zip
Details: - This makes make_linux.mak independent, i.e the following works: make -f make_linux.mak clean all It does so by assuming default values if they are not set by build.sh. However, build.sh still overrides values for backwards compatibility. I.e, I expect it will work fine with build servers. - I migrated some linux-specific logic from build.sh to make_linux.mak * JAVA_HOME detection that I added earlier, * linux specific x86/x86_64 flags - Added a new target: dev_build_install This can be invoked like: export DEV_ECLIPSE="your/eclipse" make -f make_linux.mak clean dev_build_install It builds the launcher/lib and then you can test the output in your dev eclipse. (see target for details.). Test strategy: I've done some very through testing, I'm pretty confident it shouldn't break anything. I've accounted for x86/x86_64 differences. I've added a print statement that prints info about variables: $(info Input info: ....) This line generates the same values for when you run build.sh as well as when make_linux is invoked directly. Produced eclipse and eclipse_xxxx.so work well. Tested on Fedora 27, Wayland, gtk3.22, x86_64. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=530012 Change-Id: I07ec8f453acd93d368e5e8f927fa65354da0f68b Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'features/org.eclipse.equinox.executable.feature/library/gtk/README.md')
-rw-r--r--features/org.eclipse.equinox.executable.feature/library/gtk/README.md16
1 files changed, 5 insertions, 11 deletions
diff --git a/features/org.eclipse.equinox.executable.feature/library/gtk/README.md b/features/org.eclipse.equinox.executable.feature/library/gtk/README.md
index 5f9906e35..adef8c56e 100644
--- a/features/org.eclipse.equinox.executable.feature/library/gtk/README.md
+++ b/features/org.eclipse.equinox.executable.feature/library/gtk/README.md
@@ -2,19 +2,13 @@
# Building
-To build:
-
- ./bulid.sh
-
-This will read the relevant make files.
-
-To clean:
-
+ ./bulid.sh
./build.sh clean
# Developer notes:
-To inject into a test eclipse instance for testing:
+See make_linux.mak for info on how to build/test. See dev_build_install target. Common use case:
- cp eclipse (eclipseDir)/eclipse
- cp eclipse_16xx.so (eclipseDir)/plugins/org.eclipse.equinox.launcher.<ws>.<os>.<arch>*/
+ export DEV_ECLIPSE="your/dev/eclipse"
+ make -f make_linux.mak clean dev_build_install
+

Back to the top