anchor.diff: -FROM zubnix/jni-cross-compilers:linux-source
  +FROM zubzub/cross-compilers:linux-single-layer
   MAINTAINER Erik De Rijcke "derijcke.erik@gmail.com"
   
   ENV CROSS_TRIPLE arm-linux-gnueabihf
  
positive.code:     CC_FOR_BUILD="/usr/bin/gcc" \
      ACLOCAL="aclocal -I ${SYS_ROOT}/share/aclocal/" \
      #we only build the minimal required modules needed by the jdk
      ./build.sh --clone --modfile xorg-modules
  
  #build openjdk cross
  WORKDIR /usr/src/jdk
  
negative.code:                 --with-jvm-variants=zero \
                  --disable-debug-symbols \
                  --with-jvm-interpreter=cpp \
                  --prefix=${SYS_ROOT} \
                  --with-extra-ldflags="-L${SYS_ROOT}/lib/ -Wl,--rpath -Wl,${SYS_ROOT}/lib/"
  RUN make images CONF=linux-arm-normal-zero-release && \
      make install && \
      cd /usr/src && \
      rm -rf /usr/src/jdk
  
  