From f19dbb0c990ae7840d0b6e03e97eb920d0df2208 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 5 Aug 2014 15:58:05 +0200 Subject: [PATCH] scripts/image: remove 'mach_kernel' support Signed-off-by: Stephan Raue --- scripts/image | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/scripts/image b/scripts/image index 9bd65b7a8b..997287c9e0 100755 --- a/scripts/image +++ b/scripts/image @@ -185,7 +185,6 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION" # make target dir mkdir -p $TARGET_IMG rm -rf $TARGET_IMG/$IMAGE_NAME.kernel - rm -rf $TARGET_IMG/$IMAGE_NAME.mach_kernel # copy kernel to target dir if [ "$BOOTLOADER" = "u-boot" ]; then @@ -258,21 +257,12 @@ IMAGE_NAME="$DISTRONAME-$TARGET_VERSION" mkdir -p $RELEASE_DIR/target cp $TARGET_IMG/$IMAGE_NAME.system $RELEASE_DIR/target/SYSTEM - - if [ -f $TARGET_IMG/$IMAGE_NAME.mach_kernel ]; then - cp $TARGET_IMG/$IMAGE_NAME.mach_kernel $RELEASE_DIR/target/MACH_KERNEL - else - cp $TARGET_IMG/$IMAGE_NAME.kernel $RELEASE_DIR/target/KERNEL - fi + cp $TARGET_IMG/$IMAGE_NAME.kernel $RELEASE_DIR/target/KERNEL # create md5sum's ( cd $RELEASE_DIR; md5sum -t target/SYSTEM > target/SYSTEM.md5; - if [ -f target/MACH_KERNEL ]; then - md5sum -t target/MACH_KERNEL > target/MACH_KERNEL.md5; - else - md5sum -t target/KERNEL > target/KERNEL.md5; - fi + md5sum -t target/KERNEL > target/KERNEL.md5; ) # create target directory