mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 04:45:32 +02:00
dd2b3f1c12
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3755 3c298f89-4303-0410-b956-a3cf2f4a3e73
23 lines
636 B
Makefile
23 lines
636 B
Makefile
# Main makefile for the packages
|
|
include $(TOPDIR)/rules.mk
|
|
COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m))
|
|
INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y))
|
|
|
|
all: compile
|
|
clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
|
|
compile: $(COMPILE_PACKAGES)
|
|
install: base-files-install $(INSTALL_PACKAGES)
|
|
|
|
$(STAMP_DIR) $(TARGET_DIR):
|
|
mkdir -p $@
|
|
|
|
%-prepare: $(STAMP_DIR) $(TARGET_DIR)
|
|
$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
|
|
|
|
%-compile: $(STAMP_DIR) $(TARGET_DIR)
|
|
$(MAKE) -C $(patsubst %-compile,%,$@) compile
|
|
|
|
%-clean: $(STAMP_DIR) $(TARGET_DIR)
|
|
$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
|
|