2 # Copyright (C) 2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=xf86-video-glamo
12 PKG_REV
:=15954340b4b7aaf6ab850c149c2f75c1555d9360
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=git
://git.openmoko.org
/git
/xf86-video-glamo.git
18 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
19 PKG_SOURCE_VERSION
:=$(PKG_REV
)
21 PKG_BUILD_DIR
=$(BUILD_DIR
)/Xorg
/$(PKG_NAME
)-$(PKG_VERSION
)/
22 PKG_BUILD_DEPENDS
:=xproto fontsproto randrproto renderproto videoproto
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/xf86-video-glamo
28 TITLE
:=xf86-video-glamo
32 URL
:=http
://git.openmoko.org
/?p
=xf86-video-glamo.git
33 DEPENDS
:=@DISPLAY_SUPPORT @arm||armeb @TARGET_s3c24xx
+xserver-xorg
36 define Package
/xf86-video-glamo
/description
37 xorg video driver for the smedia glamo
3362 chip.
40 define Build
/Configure
41 (cd
$(PKG_BUILD_DIR
) && autoreconf
--force --install)
42 $(call Build
/Configure
/Default
, \
43 --disable-jbt6k74-set-state \
44 --enable-engine-ioctls \
48 define Package
/xf86-video-glamo
/install
49 $(INSTALL_DIR
) $(1)/usr
/lib
/xorg
/modules
/drivers
51 $(PKG_INSTALL_DIR
)/usr
/lib
/xorg
/modules
/drivers
/glamo_drv.so \
52 $(1)/usr
/lib
/xorg
/modules
/drivers
/
55 $(eval
$(call BuildPackage
,xf86-video-glamo
))