#!/bin/sh

./configure --host=arm-linux --prefix=/usr

## include/netlink-local.h
## add #ifndef offsetof ... #endif around line
## #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
## this prevents lots of compiler warnings during build.


cat >ECO_INSTALL <<EOF
#!/bin/sh

export DESTDIR=\$(pwd)/../../rootfs
EOF
chmod 755 ECO_INSTALL

