aa059a7d23b7f8f3d7d36aba9543b46c6d433cff
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
19 $(curdir
)/cleanup
: $(TMP_DIR
)/.build
22 $(curdir
)/rootfs-prepare
: $(TMP_DIR
)/.build
23 @
-$(MAKE
) package
/preconfig
24 @if
[ -d
$(TOPDIR
)/files
]; then \
25 $(CP
) $(TOPDIR
)/files
/.
$(TARGET_DIR
); \
27 @mkdir
-p
$(TARGET_DIR
)/etc
/rc.d
30 for script in .
/etc
/init.d
/*; do \
31 grep
'#!/bin/sh /etc/rc.common' $$script >/dev
/null || continue
; \
32 IPKG_INSTROOT
=$(TARGET_DIR
) $(which bash
) .
/etc
/rc.common
$$script enable
; \
35 @
-find
$(TARGET_DIR
) -name CVS |
$(XARGS
) rm -rf
36 @
-find
$(TARGET_DIR
) -name .svn |
$(XARGS
) rm -rf
37 @
-find
$(TARGET_DIR
) -name
'.#*' |
$(XARGS
) rm -f
39 $(curdir
)/index
: FORCE
40 @
(cd
$(PACKAGE_DIR
); $(SCRIPT_DIR
)/ipkg-make-index.sh .
> Packages
)
42 $(curdir
)/flags-install
:= -j1
44 $(eval
$(call stampfile
,$(curdir
),package
,prereq
,.config
))
45 $(eval
$(call stampfile
,$(curdir
),package
,cleanup
,$(TMP_DIR
)/.build
))
46 $(eval
$(call stampfile
,$(curdir
),package
,compile
,$(TMP_DIR
)/.build
))
47 $(eval
$(call stampfile
,$(curdir
),package
,install,$(TMP_DIR
)/.build
))
48 $(eval
$(call stampfile
,$(curdir
),package
,rootfs-prepare
,$(TMP_DIR
)/.build
))
50 $(eval
$(call subdir
,$(curdir
)))
This page took 0.034285 seconds and 3 git commands to generate.