Merged in jjlange/nuttx/makefile_updates (pull request #1028)

Makefile updates

* Save CONFIG_ARCH_BOARD_CUSTOM when running 'make savedefconfig'

* Only use PCLKSEL0 for ADC on LPC176x family.

* Made grep search expression more specific.

* Added missing '=' to second grep

* Revert "Only use PCLKSEL0 for ADC on LPC176x family."

    This reverts commit 835b5e9d6fcbea02cb0203c063b0e121fa57ba9e.

* Revert "Added missing '=' to second grep"

    This reverts commit 38b51f0c6d9612de755c102a53846ca7488cdf14.

* Added a missing '=' in the second grep statement

* When linking $(ARCH_SRC)/drivers, print what is actually happening

* Save CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH when running "make savedefconfig"

* Revert changes to lines 607-608 related to CONFIG_ARCH_BOARD_CUSTOM

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
jjlange 2019-09-05 00:48:51 +00:00 committed by Gregory Nutt
parent 925d16b7b8
commit 8883623d07

View File

@ -364,7 +364,7 @@ endif
# Link the boards/<arch>/<chip>/drivers dir to drivers/platform
$(ARCH_SRC)/drivers: .config
@echo "LN: $(ARCH_SRC)/drivers to $(BOARD_DIR)/drivers/platform"
@echo "LN: $(TOPDIR)/drivers/platform to $(BOARD_DIR)/drivers"
$(Q) $(DIRLINK) $(BOARD_DIR)/drivers $(TOPDIR)/drivers/platform
# Link arch/<arch-name>/include/<chip-name> to arch/<arch-name>/include/chip