Cross compilation patch for configure and Makefiles
Status: Beta
Brought to you by:
dskoll
This patch allows for easier cross-compilation of rp-l2tp.
It modifies configure.in and Makefile.in files.
A configure script generated by GNU autoconf 2.59 also
replaces the previous configure script (this is taking
the first part of the patch and can actually be
generated directly from the patched configure.in using
autoconf).
This patch applies to rp-l2tp-0.4
Here is a example on how to call the configure script
for cross-compilation (for a MIPS target)
./configure \
CC=$(XTOOLCHAIN_PATH)/mips-linux/bin/gcc \
AR=$(XTOOLCHAIN_PATH)/mips-linux/bin/ar \
RANLIB=$(XTOOLCHAIN_PATH)/mips-linux/bin/ranlib \
STRIP=$(XTOOLCHAIN_PATH)/mips-linux/bin/strip \
--host=mips \
--prefix=$(TARGET_ROOTFS_PATH)
New patch
Logged In: YES
user_id=1501209
New patch replaces previous one and fixes ifndef clauses in
Makefiles.
Also, output libraries (in /lib/l2tp/plugin/*.so) are
automatically stripped at build time.