From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phelip Etienne Date: Mon, 27 Mar 2017 12:47:30 -0400 Subject: [Buildroot] [PATCH 2/2] board/raspberrypi: use generic genimage script In-Reply-To: <20170327164730.16271-1-etienne.phelip@savoirfairelinux.com> References: <20170327164730.16271-1-etienne.phelip@savoirfairelinux.com> Message-ID: <20170327164730.16271-3-etienne.phelip@savoirfairelinux.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net This use the generic genimage wrapper for the raspberrypi instead of calling genimage ourselves. Signed-off-by: Phelip Etienne --- board/raspberrypi/post-image.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/board/raspberrypi/post-image.sh b/board/raspberrypi/post-image.sh index b2bb070..a58fa11 100755 --- a/board/raspberrypi/post-image.sh +++ b/board/raspberrypi/post-image.sh @@ -3,7 +3,6 @@ BOARD_DIR="$(dirname $0)" BOARD_NAME="$(basename ${BOARD_DIR})" GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" case "${2}" in --add-pi3-miniuart-bt-overlay) @@ -18,13 +17,6 @@ __EOF__ ;; esac -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" +sh ./support/scripts/genimage.sh ${GENIMAGE_CFG} exit $? -- 2.9.3