summaryrefslogtreecommitdiffstats
path: root/build
blob: 2f1de6089bb2945e614113e69cfd073d796a9b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

plat = $${OPK_SOURCE\#config-}
config_pkg = config-$${pkg}-$(plat)
platconf_dir = $(config_pkg).data/usr/share/platconf/$(plat)/$${pkg}_$${ver}

nop:
	@:

build:
	@:

install: build
	set -e; \
	for pkg in src/*; do \
		pkg="$${pkg#src/}"; \
		for ver in "src/$${pkg}/"*; do \
			ver="$${ver#src/$${pkg}/}"; \
			mkdir -p "$(platconf_dir)"; \
			cp -p "src/$${pkg}/$${ver}/"* "$(platconf_dir)"; \
		done; \
	done