diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-02-12 14:54:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-02-12 14:54:43 +0100 |
commit | 106d51d48f63ac3ace2608d8361ecdf72afb0d86 (patch) | |
tree | a4fb76cfcdab1516f140b6677f3e95ee56ae8484 /mk | |
parent | 4f561a8bf05b10ce9ac7ae280d4b63850a419369 (diff) |
rebuild bootloader package on relevant config changes
Diffstat (limited to 'mk')
-rw-r--r-- | mk/build.mk | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/mk/build.mk b/mk/build.mk index 7c4eeda79..214c52e88 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -108,6 +108,12 @@ POSTCONFIG= -@\ rebuild=1;\ fi; \ done; \ + for i in ADK_KERNEL_BCM2708_DT ADK_KERNEL_BCM2709_DT ADK_TARGET_GPU_MEM ADK_KERNEL_SND_BCM2708;do \ + if [ "$$(grep ^$$i .config|md5sum)" != "$$(grep ^$$i .config.old|md5sum)" ];then \ + touch .rebuild.bcm2835-bootloader;\ + rebuild=1;\ + fi; \ + done; \ if [ "$$(grep ^ADK_RUNTIME_TIMEZONE .config|md5sum)" != "$$(grep ^ADK_RUNTIME_TIMEZONE .config.old|md5sum)" ];then \ touch .rebuild.musl .rebuild.uclibc .rebuild.uclibc-ng .rebuild.glibc;\ rebuild=1;\ @@ -116,10 +122,6 @@ POSTCONFIG= -@\ touch .rebuild.dropbear .rebuild.openssh;\ rebuild=1;\ fi; \ - if [ "$$(grep ^ADK_TARGET_GPU_MEM .config|md5sum)" != "$$(grep ^ADK_TARGET_GPU_MEM .config.old|md5sum)" ];then \ - touch .rebuild.bcm2835-bootloader;\ - rebuild=1;\ - fi; \ if [ "$$(grep ^ADK_KERNEL_VERSION .config|md5sum)" != "$$(grep ^ADK_KERNEL_VERSION .config.old|md5sum)" ];then \ cleandir=1;\ rebuild=1;\ |