Skip to content
  • Chad Versace's avatar
    android: Auto-detect android platform version at buildtime · 50667bb1
    Chad Versace authored
    
    
    Before this patch, by default Waffle built for JellyBean. If one wanted to
    build for IceCreamSandwich, then one needed to manually add
    -DBUILD_FOR_ICS to the CFLAGS environment variable.
    
    Now, Waffle automatically detects the Android platform's version via
    makefile magic and adds two macros to LOCAL_C_FLAGS:
        -DWAFFLE_ANDROID_MAJOR_VERSION=...
        -DWAFFLE_ANDROID_MINOR_VERSION=...
    
    Waffle uses these macros to determine which Android platform it is
    building against. The macro BUILD_FOR_ICS is no longer used.
    
    Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
    50667bb1