2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
10 ifdef Package/$(1)/install
11 ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
12 compile: install-bin-$(1)
14 compile: $(1)-disabled
16 @echo "WARNING: skipping $(1) -- package not selected"
20 install-bin-$(1): $(STAMP_BUILT)
21 rm -rf $(BIN_DIR)/$(1)
22 $(INSTALL_DIR) $(BIN_DIR)/$(1)
23 $(call Package/$(1)/install,$(BIN_DIR)/$(1))
26 rm -rf $(BIN_DIR)/$(1)
29 .PHONY: install-bin-$(1)