1 # Main makefile for the packages
2 include $(TOPDIR
)/rules.mk
3 include $(TOPDIR
)/.config
4 include $(TOPDIR
)/.pkgdeps
6 COMPILE_PACKAGES
:=$(patsubst %,%-compile
,$(package-y
) $(package-m
))
7 INSTALL_PACKAGES
:=$(patsubst %,%-install,$(package-y
))
9 $(STAMP_DIR
) $(TARGET_DIR
):
12 %-prepare
: $(STAMP_DIR
) $(TARGET_DIR
)
13 $(MAKE
) -C
$(patsubst %-prepare
,%,$@
) prepare
15 %-compile
: $(STAMP_DIR
) $(TARGET_DIR
)
17 $(MAKE
) -C
$(patsubst %-compile
,%,$@
) compile
19 %-install: $(STAMP_DIR
) $(TARGET_DIR
)
21 $(MAKE
) -C
$(patsubst %-install,%,$@
) install
23 %-clean: $(STAMP_DIR
) $(TARGET_DIR
)
24 $(MAKE
) -C
$(patsubst %-clean,%,$@
) clean
27 $(TOPDIR
)/.pkgdeps
: $(TOPDIR
)/.pkginfo
28 @
$(TOPDIR
)/scripts
/gen_deps.pl
< $< > $@ ||
rm -f
$@
31 clean: $(patsubst %,%-clean,$(package-
) $(package-y
) $(package-m
))
32 compile
: $(COMPILE_PACKAGES
)
33 install: base-files-install
$(INSTALL_PACKAGES
)
This page took 0.046727 seconds and 5 git commands to generate.