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-geode
14 PKG_SOURCE_URL
:=http
://xorg.freedesktop.org
/releases
/individual
/driver
/
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Xorg
/$(PKG_NAME
)-$(PKG_VERSION
)/
20 PKG_BUILD_DEPENDS
:=randrproto renderproto videoproto xextproto xf86dgaproto \
25 include $(INCLUDE_DIR
)/package.mk
26 -include $(if
$(DUMP
),,$(STAGING_DIR
)/mk
/xorg-driver.mk
)
28 define Package
/xf86-video-geode
32 DEPENDS
:=+xserver-xorg
+libpciaccess @TARGET_x86
33 TITLE
:=xf86-video-geode
34 URL
:=http
://xorg.freedesktop.org
/
37 define Package
/xf86-video-geode
/install
38 $(INSTALL_DIR
) $(1)/usr
/lib
/xorg
/modules
/drivers
40 $(PKG_INSTALL_DIR
)/usr
/lib
/xorg
/modules
/drivers
/*.so \
41 $(1)/usr
/lib
/xorg
/modules
/drivers
/
44 $(eval
$(call BuildPackage
,xf86-video-geode
))