From 82b8eaa89fb90a796552b1c54aa48bccad5adb30 Mon Sep 17 00:00:00 2001
From: Mathias Kresin <dev@kresin.me>
Date: Wed, 5 Oct 2016 16:36:28 +0200
Subject: [PATCH] scripts/diffconfig.sh: fix output if TARGET_PER_DEVICE_ROOTFS
 is set

diffconfig show packages selected as dependencies of
TARGET_PER_DEVICE_ROOTFS as individual selected.

Signed-off-by: Mathias Kresin <dev@kresin.me>
---
 scripts/diffconfig.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/diffconfig.sh b/scripts/diffconfig.sh
index bdaf1a1cda..5f9fec5600 100755
--- a/scripts/diffconfig.sh
+++ b/scripts/diffconfig.sh
@@ -7,6 +7,7 @@ grep '^CONFIG_ALL_NONSHARED=y' .config >> tmp/.diffconfig.head
 grep '^CONFIG_DEVEL=y' .config >> tmp/.diffconfig.head
 grep '^CONFIG_TOOLCHAINOPTS=y' .config >> tmp/.diffconfig.head
 grep '^CONFIG_BUSYBOX_CUSTOM=y' .config >> tmp/.diffconfig.head
+grep '^CONFIG_TARGET_PER_DEVICE_ROOTFS=y' .config >> tmp/.diffconfig.head
 ./scripts/config/conf --defconfig=tmp/.diffconfig.head -w tmp/.diffconfig.stage1 Config.in >/dev/null
 ./scripts/kconfig.pl '>+' tmp/.diffconfig.stage1 .config >> tmp/.diffconfig.head
 ./scripts/config/conf --defconfig=tmp/.diffconfig.head -w tmp/.diffconfig.stage2 Config.in >/dev/null
-- 
GitLab