projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: get rid of host.mk
[openwrt/staging/yousong.git]
/
target
/
sdk
/
files
/
Makefile
diff --git
a/target/sdk/files/Makefile
b/target/sdk/files/Makefile
index 0c27f1a47308bc5d41d37560bc23e7833810bcb5..8df1904cb02b9e0a0d3a6c0fdaa9f7e688673fbf 100644
(file)
--- a/
target/sdk/files/Makefile
+++ b/
target/sdk/files/Makefile
@@
-1,6
+1,6
@@
# Makefile for OpenWrt
#
# Makefile for OpenWrt
#
-# Copyright (C) 2007 OpenWrt.org
+# Copyright (C) 2007
-2015
OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@
-14,7
+14,7
@@
export TOPDIR LC_ALL LANG SDK
world:
world:
-include $(TOPDIR)/include/host.mk
+export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
ifneq ($(OPENWRT_BUILD),1)
override OPENWRT_BUILD=1
ifneq ($(OPENWRT_BUILD),1)
override OPENWRT_BUILD=1
@@
-36,14
+36,17
@@
else
$(package/stamp-compile): $(BUILD_DIR)/.prepared
$(BUILD_DIR)/.prepared: Makefile
@mkdir -p $$(dirname $@)
$(package/stamp-compile): $(BUILD_DIR)/.prepared
$(BUILD_DIR)/.prepared: Makefile
@mkdir -p $$(dirname $@)
- @mkdir -p bin/packages
@touch $@
clean: FORCE
@touch $@
clean: FORCE
- rm -rf $(BUILD_DIR) $(BIN_DIR)
+ git clean -f -d $(STAGING_DIR); true
+ git clean -f -d $(BUILD_DIR); true
+ git clean -f -d $(BIN_DIR); true
dirclean: clean
dirclean: clean
- rm -rf $(TMP_DIR)
+ git reset --hard HEAD
+ git clean -f -d
+ rm -rf feeds/
# check prerequisites before starting to build
prereq: $(package/stamp-prereq) ;
# check prerequisites before starting to build
prereq: $(package/stamp-prereq) ;