Commit | Line | Data |
---|---|---|
cc331b29 | 1 | # Description: platform specific unit tests for mxc platform |
e4b3bc2b | 2 | # URL: https://github.com/genesi/imx-userspace |
0731845a | 3 | # Packager: CRUX-ARM System Team, devel at crux-arm dot nu |
ac67af96 | 4 | # Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
cc331b29 VM |
5 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
6 | # Depends on: | |
7 | ||
8 | name=imx-lib | |
1c32740f | 9 | version=20111109 |
e4b3bc2b | 10 | release=1 |
1c32740f VM |
11 | source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.bz2 |
12 | $name-flags.patch) | |
cc331b29 VM |
13 | |
14 | build() { | |
e4b3bc2b | 15 | cd $name |
1c32740f VM |
16 | patch -p1 -i $SRC/$name-flags.patch |
17 | make -j1 PLATFORM=IMX51 INCLUDE="-I/usr/src/linux-`uname -r`/include" LIB_VERSION_MAJOR="2" LIB_VERSION_MINOR="0" | |
e4b3bc2b | 18 | make DESTDIR=$PKG PLATFORM=IMX51 install |
cc331b29 | 19 | } |