5f244f80db
should fix broken_package reported by buildbots since Kernel 3.7 headers are located in UAPI directory Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/packages@39656 3c298f89-4303-0410-b956-a3cf2f4a3e73
43 lines
1022 B
Makefile
43 lines
1022 B
Makefile
#
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=fxload
|
|
PKG_VERSION:=2008_10_13
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@SF/linux-hotplug
|
|
PKG_MD5SUM:=4477a2457f064228bef4a93ba2f21692
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/fxload
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=@USB_SUPPORT +udev
|
|
TITLE:=Downloading firmware into EZ-USB microcontrollers
|
|
URL:=http://linux-hotplug.sourceforge.net/
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(call Build/Compile/Default, \
|
|
CFLAGS="$(TARGET_CFLAGS) -I$(LINUX_DIR)/$(LINUX_UAPI_DIR)include" \
|
|
)
|
|
endef
|
|
|
|
define Package/fxload/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin/
|
|
$(INSTALL_DIR) $(1)/usr/share/usb
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/a3load.hex $(1)/usr/share/usb/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,fxload))
|