anchor.diff:      rm -rf /usr/src/xorg
   
   #build openjdk cross
  -WORKDIR /usr/src/jdk
  -RUN chmod +x get_source.sh && \
  -    sync && \
  -    ./get_source.sh
   
   #BUG. BUILD_CC and BUILD_LD will resolve from the cross root path, thus building for the wrong arch.
   #Therefore we must set an absolute path.
  
positive.code: FROM zubzub/cross-compilers:linux-single-layer
  MAINTAINER Erik De Rijcke "derijcke.erik@gmail.com"
  
  ENV CROSS_TRIPLE arm-linux-gnueabihf
  
negative.code:                 --disable-debug-symbols \
                  --with-jvm-interpreter=cpp \
                  --prefix=${SYS_ROOT} \
                  --with-extra-ldflags="-L${SYS_ROOT}/lib/ -Wl,--rpath -Wl,${SYS_ROOT}/lib/" && \
      make images CONF=linux-arm-normal-zero-release && \
      make install && \
      cd /usr && \
      rm -rf /usr/src
  
  RUN apt-get remove -y mercurial unzip zip git curl ca-certificates && \
      apt-get clean && \
      apt-get autoclean && \
      apt-get autoremove -y
  