mirror of
https://github.com/topjohnwu/ndk-box-kitchen.git
synced 2024-11-27 05:10:48 +00:00
Get version info from Makefile
This commit is contained in:
parent
c58dcf0d32
commit
15145084b9
@ -1,8 +1,3 @@
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
VERSION = 1
|
||||
PATCHLEVEL = 27
|
||||
SUBLEVEL = 2
|
||||
EXTRAVERSION = -topjohnwu
|
||||
BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
|
||||
|
||||
|
@ -171,7 +171,10 @@ if $GENERATE; then
|
||||
echo "LOCAL_SRC_FILES := \\" > Android_src.mk
|
||||
parse_kbuild | sort -u >> Android_src.mk
|
||||
|
||||
cp ../busybox.mk Android.mk 2>/dev/null
|
||||
# Build Android.mk
|
||||
echo 'LOCAL_PATH := $(call my-dir)' > Android.mk
|
||||
cat Makefile | head -n 3 >> Android.mk
|
||||
cat ../busybox.mk >> Android.mk
|
||||
|
||||
if $COMMIT; then
|
||||
git add -f include
|
||||
|
Loading…
Reference in New Issue
Block a user