mirror of
https://github.com/Tasssadar/libbootimg.git
synced 2025-11-04 05:45:46 +08:00
Create src and include folders, update README
This commit is contained in:
@@ -12,7 +12,7 @@ matrix:
|
||||
- compiler: i586-mingw32msvc-gcc
|
||||
|
||||
script:
|
||||
- make
|
||||
- cd src && make
|
||||
|
||||
# Only watch the master
|
||||
branches:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
LOCAL_PATH:= $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_SRC_FILES:= bbootimg.c libbootimg.c
|
||||
LOCAL_SRC_FILES:= src/bbootimg.c src/libbootimg.c
|
||||
LOCAL_MODULE:= bbootimg
|
||||
LOCAL_MODULE_TAGS := eng
|
||||
|
||||
@@ -16,7 +16,7 @@ include $(BUILD_EXECUTABLE)
|
||||
|
||||
# libbootimg
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_SRC_FILES := libbootimg.c
|
||||
LOCAL_SRC_FILES := src/libbootimg.c
|
||||
LOCAL_MODULE := libbootimg
|
||||
LOCAL_MODULE_TAGS := eng
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
# libbootimg
|
||||
[](https://travis-ci.org/Tasssadar/libbootimg)
|
||||
|
||||
libbootimg is small library which can create, extract or update Android boot images.
|
||||
libbootimg is small library which can create, extract or update Android boot images.
|
||||
|
||||
## bbootimg
|
||||
This is cli frontend for libbootimg, compatible with abootimg's arguments.
|
||||
**This library is required to build MultiROM and its modified TWRP. Clone it to
|
||||
`/system/extras/libbootimg` inside the Android source tree.**
|
||||
|
||||
### bbootimg
|
||||
`bbootimg` is a cli frontend for libbootimg, compatible with abootimg's arguments.
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "libbootimg.h"
|
||||
#include "../include/libbootimg.h"
|
||||
|
||||
#define ACT_HELP 0
|
||||
#define ACT_EXTRACT 1
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "libbootimg.h"
|
||||
#include "../include/libbootimg.h"
|
||||
#include "version.h"
|
||||
|
||||
#define DEFAULT_PAGE_SIZE 2048
|
||||
Reference in New Issue
Block a user