kernel: update to kernel 2.6.34.1
[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 ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT))
11 ifdef Package/$(1)/install
12 ifneq ($(CONFIG_PACKAGE_$(1))$(SDK)$(DEVELOPER),)
13 compile: install-bin-$(1)
14 else
15 compile: $(1)-disabled
16 $(1)-disabled:
17 @echo "WARNING: skipping $(1) -- package not selected"
18 endif
19 endif
20 endif
21
22 install-bin-$(1): $(STAMP_BUILT)
23 rm -rf $(BIN_DIR)/$(1)
24 $(INSTALL_DIR) $(BIN_DIR)/$(1)
25 $(call Package/$(1)/install,$(BIN_DIR)/$(1))
26
27 clean-$(1):
28 rm -rf $(BIN_DIR)/$(1)
29
30 clean: clean-$(1)
31 .PHONY: install-bin-$(1)
32 endef
33 endif
This page took 0.051406 seconds and 5 git commands to generate.