aboutsummaryrefslogtreecommitdiffstats
path: root/target/sdk/files/include/prepare.mk
blob: 76bad05a0227517e516ed3fbb9e2edce316e1f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

prepare: .git/config

.git/config:
	@( \
		printf "Initializing SDK ... "; \
		git init -q .; \
		find . -mindepth 1 -maxdepth 1 -not -name feeds | xargs git add; \
		git commit -q -m "Initial state"; \
		echo "ok."; \
	)