fix prereqs

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4203 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2006-07-22 11:43:48 +00:00
parent 2a5cd294b0
commit 9cb9793667
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ define Require
prereq-$(1): $(TMP_DIR) FORCE prereq-$(1): $(TMP_DIR) FORCE
echo -n "Checking '$(1)'... " echo -n "Checking '$(1)'... "
if $(NO_TRACE_MAKE) -f $(INCLUDE_DIR)/prereq.mk check-$(1) >/dev/null 2>/dev/null; then \ if $(MAKE) -f $(INCLUDE_DIR)/prereq.mk check-$(1) >/dev/null 2>/dev/null; then \
echo 'ok.'; \ echo 'ok.'; \
else \ else \
echo 'failed.'; \ echo 'failed.'; \
@ -59,7 +59,7 @@ define Require/working-make
echo 'e0 = $$$$(foreach s,foobar,$$$$(eval $$$$s:))' >> $(TMP_DIR)/check.mk echo 'e0 = $$$$(foreach s,foobar,$$$$(eval $$$$s:))' >> $(TMP_DIR)/check.mk
echo 'e1 = $$$$(foreach s,foobar, $$$$(eval $$$$s:))' >> $(TMP_DIR)/check.mk echo 'e1 = $$$$(foreach s,foobar, $$$$(eval $$$$s:))' >> $(TMP_DIR)/check.mk
echo 'test: $$$$(strip $$$$(e0)) $$$$(strip $$$$(e1))' >> $(TMP_DIR)/check.mk echo 'test: $$$$(strip $$$$(e0)) $$$$(strip $$$$(e1))' >> $(TMP_DIR)/check.mk
$(NO_TRACE_MAKE) -f $(TMP_DIR)/check.mk $(MAKE) -f $(TMP_DIR)/check.mk
endef endef
$(eval $(call Require,working-make, \ $(eval $(call Require,working-make, \