dynamic: all

clean:
	rm -f hotplug


all:
	cp hotplug_$(PROFILE)_save hotplug
	install -m 755 hotplug $(INSTALL_DIR)/bin
	mkdir -p $(INSTALL_DIR)/sbin
	ln -sf ../bin/hotplug $(INSTALL_DIR)/sbin/hotplug

CURR_DIR := $(shell pwd)
BUILD_DIR := $(subst /userspace, /userspace,$(CURR_DIR))
BUILD_DIR := $(word 1, $(BUILD_DIR))
include $(BUILD_DIR)/make.common
EXE = hotplug
