firmwarehotplug: Fix parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23496 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8528fa49a5
commit
ac0a96b6ff
@ -15,6 +15,9 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|||||||
PKG_SOURCE_URL:=@SF/linux-hotplug
|
PKG_SOURCE_URL:=@SF/linux-hotplug
|
||||||
PKG_MD5SUM:=e5cf352b172f498e27b160167b981f24
|
PKG_MD5SUM:=e5cf352b172f498e27b160167b981f24
|
||||||
|
|
||||||
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
# workaround for fedora sdcc naming changes
|
# workaround for fedora sdcc naming changes
|
||||||
@ -30,14 +33,10 @@ define Package/firmwarehotplug
|
|||||||
URL:=http://linux-hotplug.sourceforge.net/
|
URL:=http://linux-hotplug.sourceforge.net/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
MAKE_PATH:=ezusb/midi/original
|
||||||
$(call Build/Compile/Default, \
|
|
||||||
OPT="$(TARGET_CFLAGS)" \
|
MAKE_FLAGS+=\
|
||||||
-C $(PKG_BUILD_DIR)/ezusb/midi/original \
|
OPT="$(TARGET_CFLAGS)"
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
all install \
|
|
||||||
)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/firmwarehotplug/install
|
define Package/firmwarehotplug/install
|
||||||
$(INSTALL_DIR) $(1)/etc/hotplug.d/usb
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/usb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user