Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0112612e authored by Koushik Dutta's avatar Koushik Dutta
Browse files

mkvendor.sh: fixes for Android 4.2.

Change-Id: Id7ff9ef03700d595734811ccf868371ffb024384
parent b56918ad
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/__MANUFACTURER__/__DEVICE__/BoardConfigVendor.mk

TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := unknown
TARGET_CPU_ABI := armeabi
@@ -21,6 +22,4 @@ BOARD_FLASH_BLOCK_SIZE := 131072

TARGET_PREBUILT_KERNEL := device/__MANUFACTURER__/__DEVICE__/kernel

#BOARD_HAS_NO_SELECT_BUTTON := true
# Use this flag if the board has a ext4 partition larger than 2gb
#BOARD_HAS_LARGE_FILESYSTEM := true
 No newline at end of file
BOARD_HAS_NO_SELECT_BUTTON := true
+7 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ then
    echo Output will be in $DEVICE_DIR
    mkdir -p $DEVICE_DIR

    TMPDIR=/tmp/bootimg
    TMPDIR=/tmp/$(whoami)/bootimg
    rm -rf $TMPDIR
    mkdir -p $TMPDIR
    cp $BOOTIMAGE $TMPDIR
@@ -114,6 +114,12 @@ fi

mv $DEVICE_DIR/device.mk $DEVICE_DIR/device_$DEVICE.mk

echo Creating initial git repository.
pushd $DEVICE_DIR
git init
git add .
git commit -a -m "mkvendor.sh: Initial commit of $DEVICE"
popd

echo Done!
echo Use the following command to set up your build environment: