add lm sensor and clean up dependency, fixes #3821
[openwrt.git] / include / package-bin.mk
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 ifeq ($(DUMP),)
9 define BuildTarget/bin
10 ifdef Package/$(1)/install
11 ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
12 compile: install-bin-$(1)
13 else
14 compile: $(1)-disabled
15 $(1)-disabled:
16 @echo "WARNING: skipping $(1) -- package not selected"
17 endif
18 endif
19
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))
24
25 clean-$(1):
26 rm -rf $(BIN_DIR)/$(1)
27
28 clean: clean-$(1)
29 .PHONY: install-bin-$(1)
30 endef
31 endif
This page took 0.052598 seconds and 5 git commands to generate.