2 # Copyright (C) 2006-2008 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
14 PKG_SOURCE
:=udev-
$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=@KERNEL
/linux
/utils
/kernel
/hotplug
/
16 PKG_MD5SUM
:=320ccd2d0f4540d10e021bafa14f8985
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)/udev-
$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
22 define Package
/udevtrigger
26 TITLE
:=Small utility to request kernel devices events for coldplug
27 URL
:=http
://www.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/udev.html
28 MAINTAINER
:=Geoff Levand
<geoffrey.levand@am.sony.com
>
32 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
33 CROSS_COMPILE
="$(TARGET_CROSS)" \
35 DESTDIR
="$(PKG_INSTALL_DIR)" \
36 OPTFLAGS
="$(TARGET_CFLAGS)" \
40 define Package
/udevtrigger
/install
41 $(INSTALL_DIR
) $(1)/sbin
42 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/udevtrigger
$(1)/sbin
/
45 $(eval
$(call BuildPackage
,udevtrigger
))