| 15 |
_mconfig \ |
_mconfig \ |
| 16 |
tags |
tags |
| 17 |
|
|
| 18 |
MAKECLEAN_SYMBOLS= FWRT_IPV6 |
MAKECLEAN_SYMBOLS= FWRT_ISOMATH FWRT_UNICODE _ FWRT_IPV6 |
| 19 |
POSTCONFIG= @\ |
POSTCONFIG= @\ |
| 20 |
|
what=cleandir; \ |
| 21 |
for symbol in ${MAKECLEAN_SYMBOLS}; do \ |
for symbol in ${MAKECLEAN_SYMBOLS}; do \ |
| 22 |
|
if [[ $$symbol = _ ]]; then \ |
| 23 |
|
what=clean; \ |
| 24 |
|
continue; \ |
| 25 |
|
fi; \ |
| 26 |
newval=$$(grep -e "^$$symbol=" -e "^\# $$symbol " .config); \ |
newval=$$(grep -e "^$$symbol=" -e "^\# $$symbol " .config); \ |
| 27 |
oldval=$$(cat .cfg/"$$symbol" 2>&-); \ |
oldval=$$(cat .cfg/"$$symbol" 2>&-); \ |
| 28 |
[[ $$newval = $$oldval ]] && continue; \ |
[[ $$newval = $$oldval ]] && continue; \ |
| 29 |
echo >&2 "WARNING: Options have changed, run 'make" \ |
echo >&2 "WARNING: Options have changed, run 'make" \ |
| 30 |
"clean' first!"; \ |
"$$what' first!"; \ |
| 31 |
break; \ |
break; \ |
| 32 |
done |
done |
| 33 |
|
|
| 47 |
|
|
| 48 |
world: $(DISTDIR) $(BUILD_DIR) $(PACKAGE_DIR) ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG |
world: $(DISTDIR) $(BUILD_DIR) $(PACKAGE_DIR) ${TOPDIR}/.cfg/FWRT_HAVE_DOT_CONFIG |
| 49 |
BASH='${BASH}' ${MBSH} ${TOPDIR}/scripts/scan-pkgs.sh |
BASH='${BASH}' ${MBSH} ${TOPDIR}/scripts/scan-pkgs.sh |
|
ifeq ($(strip ${FWRT_TARGET_NOKERNEL}),y) |
|
| 50 |
ifeq ($(strip ${FWRT_PACKAGE_BASE_FILES}),m) |
ifeq ($(strip ${FWRT_PACKAGE_BASE_FILES}),m) |
| 51 |
$(MAKE) -f mk/build.mk tools/install toolchain/install package/compile package_index |
$(MAKE) -f mk/build.mk tools/install toolchain/install target/config-prepare target/compile package/compile package_index |
|
else |
|
|
$(MAKE) -f mk/build.mk tools/install toolchain/install package/compile package_index root_clean package/install |
|
|
endif |
|
|
else ifeq ($(strip ${FWRT_PACKAGE_BASE_FILES}),m) |
|
|
$(MAKE) -f mk/build.mk tools/install toolchain/install target/config-prepare target/compile package/compile |
|
|
@echo Running allmodconfig succeeded. |
|
| 52 |
else |
else |
| 53 |
$(MAKE) -f mk/build.mk tools/install toolchain/install target/config-prepare target/compile package/compile root_clean package/install target/install package_index |
$(MAKE) -f mk/build.mk tools/install toolchain/install target/config-prepare target/compile package/compile root_clean package/install target/install package_index |
| 54 |
endif |
endif |