diff options
Diffstat (limited to 'package/hotplug/hotplug.mk')
-rw-r--r-- | package/hotplug/hotplug.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package/hotplug/hotplug.mk b/package/hotplug/hotplug.mk index e13a6025d..ef38deec3 100644 --- a/package/hotplug/hotplug.mk +++ b/package/hotplug/hotplug.mk @@ -6,14 +6,13 @@ HOTPLUG_SOURCE=diethotplug-0.4.tar.gz HOTPLUG_SITE=http://aleron.dl.sourceforge.net/sourceforge/linux-hotplug HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.4 -HOTPLUG_PATCH=$(SOURCE_DIR)/hotplug.patch $(DL_DIR)/$(HOTPLUG_SOURCE): $(WGET) -P $(DL_DIR) $(HOTPLUG_SITE)/$(HOTPLUG_SOURCE) -$(HOTPLUG_DIR): $(DL_DIR)/$(HOTPLUG_SOURCE) $(HOTPLUG_PATCH) +$(HOTPLUG_DIR): $(DL_DIR)/$(HOTPLUG_SOURCE) zcat $(DL_DIR)/$(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) -xvf - - cat $(HOTPLUG_PATCH) | patch -p1 -d $(HOTPLUG_DIR) + toolchain/patch-kernel.sh $(HOTPLUG_DIR) package/hotplug/ hotplug\*.patch $(HOTPLUG_DIR)/hotplug: $(HOTPLUG_DIR) $(MAKE) CROSS=$(TARGET_CROSS) DEBUG=false KLIBC=false \ |