CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
imx-lib: improved compilation against kernel headers
[ports/efikamx-arm.git] / imx-lib / Pkgfile
index 1da6dbe5664a9923e9a551e45b53c6ce19a868ea..0d48a0450c1151f582b35c7003bce5127e0c4e5d 100644 (file)
@@ -7,11 +7,17 @@
 
 name=imx-lib
 version=20130214
-release=1
+release=2
 source=(http://crux-arm.nu/files/distfiles/efikamx/$name-$version.tar.xz)
 
 build() {
   cd $name
-  make -j1 PLATFORM=IMX51 INCLUDE="-I/usr/src/linux-`uname -r`/include"
+
+  make -j1 \
+    PLATFORM=IMX51 \
+    INCLUDE="-I/usr/src/linux/include -I/usr/src/linux-`uname -r`/include" \
+    LIB_VERSION_MAJOR="2" \
+    LIB_VERSION_MINOR="0"
+
   make DESTDIR=$PKG PLATFORM=IMX51 install
 }