Merge pull request #192 from nomuna/master

Configuration TODOs in Makefile
pull/195/head
Hamish Coleman 3 years ago committed by GitHub
commit c63e9ecb09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -154,19 +154,18 @@ PATCHES-$(CONFIG_BATTERY) += \
# #
# These enable and disable targets change which patches are configured to be # These enable and disable targets change which patches are configured to be
# applied. # applied.
# TODO - actually edit the .config, dont just keep appending new stuff to it
patch_enable_battery: patch_enable_battery:
echo "CONFIG_BATTERY = y" >>.config sed -E 's/CONFIG_BATTERY.+/CONFIG_BATTERY = y/' --in-place .config
patch_disable_battery: patch_disable_battery:
echo "CONFIG_BATTERY = n" >>.config sed -E 's/CONFIG_BATTERY.+/CONFIG_BATTERY = n/' --in-place .config
patch_enable_keyboard: patch_enable_keyboard:
echo "CONFIG_KEYBOARD = y" >>.config sed -E 's/CONFIG_KEYBOARD.+/CONFIG_KEYBOARD = y/' --in-place .config
patch_disable_keyboard: patch_disable_keyboard:
echo "CONFIG_KEYBOARD = n" >>.config sed -E 's/CONFIG_KEYBOARD.+/CONFIG_KEYBOARD = n/' --in-place .config
# TODO - the scripts/describe output depends on Descriptions.txt - # TODO - the scripts/describe output depends on Descriptions.txt -

Loading…
Cancel
Save