aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibexec/build-makedeps23
1 files changed, 11 insertions, 12 deletions
diff --git a/libexec/build-makedeps b/libexec/build-makedeps
index 64c5ec7..102e173 100755
--- a/libexec/build-makedeps
+++ b/libexec/build-makedeps
@@ -5,8 +5,7 @@ build_makedeps_name() { echo "${1}"|tr '/-' '__'; }
cat >"${BUILDER_MAKEFILE}" <<EOF
##
# Some generic catchall rules
-all: all_all
-all_all: all_all_package
+all: all_package
all_all_clean: exports_clean
all_all_distclean: sysroot_clean artifacts_clean tmpdir_clean exports_clean
@@ -61,14 +60,14 @@ for package; do
cat<<-END_OF_RULES
##
# ${CATEGORY}/${NAME} - ${DESCRIPTION}
- all_all ${makedep_category}_all ${makedep_target}: ${makedep_package}
- all_all_source ${makedep_category}_all_source ${makedep_target}_source: ${makedep_source}
- all_all_prep ${makedep_category}_all_prep ${makedep_target}_prep: ${makedep_prep}
- all_all_compile ${makedep_category}_all_compile ${makedep_target}_compile: ${makedep_compile}
- all_all_packge ${makedep_category}_all_package ${makedep_target}_package: ${makedep_package}
- all_all_install ${makedep_category}_all_install ${makedep_target}_install: ${makedep_install}
- all_all_test ${makedep_category}_all_test ${makedep_target}_test: ${makedep_test}
- all_all_export ${makedep_category}_all_export ${makedep_target}_export: ${makedep_export}
+ all all_all ${makedep_category}_all ${makedep_target}: ${makedep_package}
+ all_source all_all_source ${makedep_category}_all_source ${makedep_target}_source: ${makedep_source}
+ all_prep all_all_prep ${makedep_category}_all_prep ${makedep_target}_prep: ${makedep_prep}
+ all_compile all_all_compile ${makedep_category}_all_compile ${makedep_target}_compile: ${makedep_compile}
+ all_package all_all_packge ${makedep_category}_all_package ${makedep_target}_package: ${makedep_package}
+ all_install all_all_install ${makedep_category}_all_install ${makedep_target}_install: ${makedep_install}
+ all_test all_all_test ${makedep_category}_all_test ${makedep_target}_test: ${makedep_test}
+ all_export all_all_export ${makedep_category}_all_export ${makedep_target}_export: ${makedep_export}
END_OF_RULES
# Add Forward and Reverse depends
@@ -165,12 +164,12 @@ for package; do
if test -e "${makedep_source}"; then
cat<<-EOF
- ${makedep_target}_fetch: ${BUILDER_PKGDIR}/${package}/source
+ all_fetch all_all_fetch ${makedep_target}_fetch: ${BUILDER_PKGDIR}/${package}/source
EOF
else
cat<<-EOF
${makedep_prep}: ${PACKAGE_SOURCES}
- ${makedep_target}_fetch: ${PACKAGE_SOURCES}
+ all_fetch all_all_fetch ${makedep_target}_fetch: ${PACKAGE_SOURCES}
EOF
fi