-$(STAMP_DIR) $(TARGET_DIR):
- mkdir -p $@
-
-%-prereq: $(STAMP_DIR) $(TARGET_DIR)
- $(MAKE) -C $(patsubst %-prereq,%,$@) prereq
-
-$(eval $(call default_subtargets,$(TARGET_DIR)))
-
-ifeq ($(SDK),1)
-GENDEP_OPTS := -s
-endif
-
-$(TMP_DIR)/.pkgdeps: $(TMP_DIR)/.pkginfo
- @$(TOPDIR)/scripts/metadata.pl package_mk $(GENDEP_OPTS) < $< > $@ || rm -f $@
-
-preconfig:
-clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
-prereq: $(PREREQ_PACKAGES)
-download: $(DOWNLOAD_PACKAGES)
-compile: $(COMPILE_PACKAGES)
-
-install-targets: $(INSTALL_PACKAGES)
-install:
- rm -rf $(BUILD_DIR)/root
- $(MAKE) install-targets
- $(MAKE) preconfig