2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
16 include $(INCLUDE_DIR
)/package.mk
21 TITLE
:=Raw memory i
/o utility
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
!
25 URL
:=http
://www.sleepie.demon.
co.uk
/linuxvme
/io.c
29 mkdir
-p
$(PKG_BUILD_DIR
)
30 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
34 $(TARGET_CC
) $(TARGET_CFLAGS
) -Os
$(PKG_BUILD_DIR
)/io.c
-o
$(PKG_BUILD_DIR
)/$(PKG_NAME
)
37 define Package
/io
/install
38 $(INSTALL_DIR
) $(1)/usr
/bin
39 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/io
$(1)/usr
/bin
/
42 $(eval
$(call BuildPackage
,io
))