Skip to content

Commit

Permalink
Add generated files for ndk-build
Browse files Browse the repository at this point in the history
Auto generated by ndk-box-kitchen
  • Loading branch information
topjohnwu committed May 8, 2021
1 parent 1213ac5 commit 84ce191
Show file tree
Hide file tree
Showing 12 changed files with 25,458 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
LOCAL_PATH := $(call my-dir)
VERSION = 1
PATCHLEVEL = 33
SUBLEVEL = 1
EXTRAVERSION = -Magisk
BB_VER = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)

include $(CLEAR_VARS)
LOCAL_MODULE := busybox
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_STATIC_LIBRARIES := libselinux

include $(LOCAL_PATH)/Android_src.mk

LOCAL_DISABLE_FORMAT_STRING_CHECKS := true
LOCAL_LDFLAGS := -static
LOCAL_CFLAGS := \
-w -include include/autoconf.h -D__USE_BSD \
-DBB_VER=\"$(BB_VER)\" -DBB_BT=AUTOCONF_TIMESTAMP

ifeq ($(OS),Windows_NT)
LOCAL_SHORT_COMMANDS := true
endif

include $(BUILD_EXECUTABLE)

0 comments on commit 84ce191

Please sign in to comment.