.PHONY: parse_kconfig
parse_kconfig:
- @if [ `$(MAKE) -C scripts/parse_kconfig/ -q; echo $$?` != "0" ]; then \
+ @if ! $(MAKE) -C scripts/parse_kconfig/ -q; then \
$(MAKE) -C scripts/parse_kconfig/; fi
.PHONY: write_config
write_config:
- @if [ `$(MAKE) -C scripts/write_config/ -q; echo $$?` != "0" ]; then \
+ @if ! $(MAKE) -C scripts/write_config/ -q; then \
$(MAKE) -C scripts/write_config/; fi
.PHONY:allconfig
allconfig:
- @if [ `$(MAKE) -C scripts/allconfig/ -q; echo $$?` != "0" ]; then \
+ @if ! $(MAKE) -C scripts/allconfig/ -q; then \
$(MAKE) -C scripts/allconfig/; fi
.PHONY: picosat
picosat:
@if [ ! -e scripts/picosat-959/makefile ]; then \
cd scripts/picosat-959 && ./configure; fi
- @if [ `$(MAKE) -C scripts/picosat-959 -q; echo $$?` != "0" ]; then \
+ @if ! $(MAKE) -C scripts/picosat-959 -q; then \
$(MAKE) -C scripts/picosat-959; fi
.PHONY: initram_cyclictest
initram_cyclictest:
- @if [ `$(MAKE) -C tests/cyclictest/root/ -q; echo $$?` != "0" ]; then \
+ @if ! $(MAKE) -C tests/cyclictest/root/ -q; then \
$(MAKE) -C scripts/cyclictest/root/; fi