Skip to content

Commit

Permalink
scripts/diffconfig.sh: ensure config/conf is built
Browse files Browse the repository at this point in the history
diffconfig.sh runs ./scripts/config/conf, but it does not get built
with 'make {menu,x,n}config.  Call 'make ./scripts/config/conf' to
ensure it's been built before running it, aborting in case of failure.

Signed-off-by: Eneas U de Queiroz <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]>[removed Fixes: due revert]
  • Loading branch information
cotequeiroz authored and ynezz committed Feb 26, 2022
1 parent fe1ecf1 commit 65c28d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/diffconfig.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
make ./scripts/config/conf >/dev/null || { make ./scripts/config/conf; exit 1; }
grep \^CONFIG_TARGET_ .config | head -n3 > tmp/.diffconfig.head
grep \^CONFIG_TARGET_DEVICE_ .config >> tmp/.diffconfig.head
grep '^CONFIG_ALL=y' .config >> tmp/.diffconfig.head
Expand Down

0 comments on commit 65c28d7

Please sign in to comment.