Revisió 79a54fd5
Afegit per Pau Escrich fa més de 14 anys
| Makefile | ||
|---|---|---|
|
endef
|
||
|
|
||
|
define copy_config
|
||
|
cp -f $(CONFIG_DIR)/$(TARGET)/config $(CONFIG)
|
||
|
cd $(BUILD_DIR)/$(TARGET) && ./scripts/diffconfig.sh > .config.tmp
|
||
|
cp -f $(CONFIG_DIR)/$(TARGET)/config $(CONFIG) || echo "WARNING: Config file not found!"
|
||
|
cd $(BUILD_DIR)/$(TARGET) && ./scripts/diffconfig.sh > .config.tmp
|
||
|
cp -f $(BUILD_DIR)/$(TARGET)/.config.tmp $(BUILD_DIR)/$(TARGET)/.config
|
||
|
cd $(BUILD_DIR)/$(TARGET) && make defconfig
|
||
|
[ -f $(CONFIG_DIR)/$(TARGET)/kernel_config ] && cat $(CONFIG_DIR)/$(TARGET)/kernel_config >> $(CONFIG) || true
|
||
També disponible a: Unified diff
If no target config file available, compilation does not crashes and it uses the default options