2 # Copyright (C) 2006-2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 -include $(TMP_DIR
)/.packagedeps
12 $(curdir
)/builddirs
:=$(sort $(package-
) $(package-y
) $(package-m
))
13 $(curdir
)/builddirs-default
:=.
$(sort $(package-y
) $(package-m
))
14 $(curdir
)/builddirs-prereq
:=.
$(sort $(prereq-y
) $(prereq-m
))
15 $(curdir
)/builddirs-install
:=.
$(sort $(package-y
))
17 $(curdir
)/install:=$(curdir
)/install-cleanup
18 $(curdir
)/install-cleanup
:
19 rm -rf
$(BUILD_DIR
)/root
20 $(MAKE
) install-targets
22 @if
[ -d
$(TOPDIR
)/files
]; then \
23 $(CP
) $(TOPDIR
)/files
/.
$(BUILD_DIR
)/root
; \
25 @mkdir
-p
$(BUILD_DIR
)/root
/etc
/rc.d
27 cd
$(BUILD_DIR
)/root
; \
28 for script in .
/etc
/init.d
/*; do \
29 grep
'#!/bin/sh /etc/rc.common' $$script >/dev
/null || continue
; \
30 IPKG_INSTROOT
=$(BUILD_DIR
)/root
$(which bash
) .
/etc
/rc.common
$$script enable
; \
33 @
-find
$(BUILD_DIR
)/root
-name CVS |
$(XARGS
) rm -rf
34 @
-find
$(BUILD_DIR
)/root
-name .svn |
$(XARGS
) rm -rf
35 @
-find
$(BUILD_DIR
)/root
-name
'.#*' |
$(XARGS
) rm -f
37 $(curdir
)/index
: FORCE
38 (cd
$(PACKAGE_DIR
); $(SCRIPT_DIR
)/ipkg-make-index.sh .
> Packages
)
40 $(curdir
)/flags-install
:= -j1
42 $(eval
$(call stampfile
,$(curdir
),package
,prereq
))
43 $(eval
$(call stampfile
,$(curdir
),package
,compile
))
44 $(eval
$(call stampfile
,$(curdir
),package
,install))
46 $($(curdir
)/stamp-install
): $($(curdir
)/stamp-compile
)
48 $(eval
$(call subdir
,$(curdir
)))
This page took 0.046864 seconds and 5 git commands to generate.