Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autotools kx #27

Closed
wants to merge 12 commits into from
Closed

Conversation

kosteltsev
Copy link
Contributor

Reorganize according to reorganize branch. Switched to autotools with proper cross compilation for build machine and arm CPU.

Short build instruction:

$ tar xzvf sunxi-tools-1.3.tar.gz
$ mkdir build
$ cd ./build

configure with cross:
CC="/bin/arm-a1x-linux-gnueabihf-gcc --sysroot="
OBJCOPY=/bin/arm-a1x-linux-gnueabihf-objcopy
NM=/bin/arm-a1x-linux-gnueabihf-nm
CFLAGS=-I/usr/include
LDFLAGS="-L/lib -L/usr/lib"
../sunxi-tools-1.3/configure
--prefix=/usr
--build=x86_64-slackware-linux
--host=arm-a1x-linux-gnueabihf
--target=arm-a1x-linux-gnueabihf
--prefix=/usr --mandir=/usr/share/man
--program-prefix=

configure on and for developers machine:
../sunxi-tools-1.3/configure --prefix=/usr

$ make
$ make install DESTDIR=

Create source distribution:
$ make dist

Enjoy.

@kosteltsev
Copy link
Contributor Author

Wrong request please see the #28

@kosteltsev kosteltsev closed this Jul 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants