Add PLATFORM_* define to config.h to allow supporting non Linux platforms.
This commit is contained in:
parent
a2ccbb2de6
commit
06824215e4
1 changed files with 5 additions and 0 deletions
|
@ -486,6 +486,11 @@ EOF
|
|||
CONFIG_H="${BUILDDIR}/config.h"
|
||||
cat > "${CONFIG_H}" <<EOF
|
||||
// Automatically generated by configure - DO NOT EDIT!
|
||||
EOF
|
||||
|
||||
# Create Platform defines
|
||||
cat > ${CONFIG_H} <<EOF
|
||||
#define PLATFORM_$(toupper ${PLATFORM}) 1
|
||||
EOF
|
||||
|
||||
# Add package config
|
||||
|
|
Loading…
Add table
Reference in a new issue