- Timestamp:
- Jun 30, 2006, 9:02:45 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- f724867
- Parents:
- 149ff92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
build.mk
r149ff92 r0ea1f3f 1 # Makefile for FreeWRT development environment 2 # 3 # Copyright (C) 2005 by Felix Fietkau <openwrt@nbd.name> 4 # Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org> 5 # 6 # This program is free software; you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation; either version 2 of the License, or 9 # (at your option) any later version. 10 # 11 # This program is distributed in the hope that it will be useful, 12 # but WITHOUT ANY WARRANTY; without even the implied warranty of 13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 # General Public License for more details. 15 # 16 # You should have received a copy of the GNU General Public License 17 # along with this program; if not, write to the Free Software 18 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 # 20 1 # $Id$ 21 2 #-------------------------------------------------------------- 22 3 # Just run 'make menuconfig', configure stuff, then run 'make'. … … 46 27 .PHONY: all world clean cleandir distclean image_clean target_clean source 47 28 48 #############################################################49 #50 # You should probably leave this stuff alone unless you know51 # what you are doing.52 #53 #############################################################54 55 29 # In this section, we need .config 56 30 include .config.cmd 57 31 58 world: $(DL_DIR) $(BUILD_DIR) 32 world: $(DL_DIR) $(BUILD_DIR) $(STAMP_DIR) 59 33 $(MAKE) -f build.mk toolchain/install target/compile package/compile root_clean package/install target/install package_index 60 34 @$(TRACE) Build complete. … … 68 42 $(BUILD_DIR): 69 43 @mkdir -p $(BUILD_DIR) 44 45 $(STAMP_DIR): 46 @mkdir -p $(STAMP_DIR) 70 47 71 48 source: toolchain/source package/source target/source … … 106 83 @$(MAKE) -C $(CONFIG) clean 107 84 rm -rf $(BUILD_DIR) $(BIN_DIR) 108 rm -rf $(STAMP_DIR) $(TOOL _BUILD_DIR) $(STAGING_DIR)85 rm -rf $(STAMP_DIR) $(TOOLCHAIN_BUILD_DIR) $(STAGING_DIR) 109 86 rm -f .tmpconfig.h 110 87 … … 113 90 @$(MAKE) -C $(CONFIG) clean 114 91 rm -rf $(BUILD_DIR) $(BIN_DIR) $(DL_DIR) 115 rm -rf $(STAMP_DIR) $(TOOL _BUILD_DIR) $(STAGING_DIR)92 rm -rf $(STAMP_DIR) $(TOOLCHAIN_BUILD_DIR) $(STAGING_DIR) 116 93 rm -f .config* .tmpconfig.h 117 94
Note:
See TracChangeset
for help on using the changeset viewer.
