2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
11 include $(INCLUDE_DIR
)/package.mk
13 PKG_MAINTAINER
:=Hauke Mehrtens
<hauke@hauke-m.de
>
18 TITLE
:=Raw memory i
/o utility
19 URL
:=http
://www.sleepie.demon.
co.uk
/linuxvme
/io.c
22 define Package
/io
/description
23 This tool can be used to access physical memory addresses from userspace.
24 It can be useful to access hardware for which no device driver exists
!
28 $(TARGET_CC
) $(TARGET_CFLAGS
) -Wall
$(PKG_BUILD_DIR
)/io.c
-o
$(PKG_BUILD_DIR
)/$(PKG_NAME
)
31 define Package
/io
/install
32 $(INSTALL_DIR
) $(1)/usr
/bin
33 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/io
$(1)/usr
/bin
/
36 $(eval
$(call BuildPackage
,io
))