Create src and include folders, update README

This commit is contained in:
Vojtech Bocek
2013-09-24 16:49:45 +02:00
parent b6eac61996
commit e361f1f5b3
9 changed files with 11 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ matrix:
- compiler: i586-mingw32msvc-gcc
script:
- make
- cd src && make
# Only watch the master
branches:

View File

@@ -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)

View File

@@ -1,7 +1,10 @@
# libbootimg
[![Build Status](https://travis-ci.org/Tasssadar/libbootimg.png?branch=master)](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.

View File

@@ -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

View File

@@ -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