blob: 9c001e947b4d9b76c4b783c718586d09c9b1abf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# -*-makefile-*-
#
# Copyright (C) 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
# (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_BASE_PKGS) += base-pkgs
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
$(STATEDIR)/base-pkgs.install:
@$(call targetinfo)
@echo -e \
"copying 'root', 'root-debug' from\n" \
"'$(PTXDIST_BASE_PLATFORMDIR)'\n"
@tar -c --exclude="./dev/*" \
-C "$(PTXDIST_BASE_PLATFORMDIR)/root" . | \
tar -x -C "$(ROOTDIR)" && \
check_pipe_status
@tar -c -C "$(PTXDIST_BASE_PLATFORMDIR)/root-debug" . | \
tar -x --exclude="./dev/*" \
-C "$(ROOTDIR_DEBUG)" && \
check_pipe_status
@$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/base-pkgs.targetinstall:
@$(call targetinfo)
@$(call touch)
# vim: syntax=make
|