[DEV] change the compilation Basic flag in the basic makefile
This commit is contained in:
parent
e88bfb0f0b
commit
0ba1c33525
14
Makefile
14
Makefile
@ -1,8 +1,16 @@
|
||||
#############################################################################"
|
||||
# main makefile for a basic application
|
||||
# this is minimal application main makefile
|
||||
#############################################################################"
|
||||
|
||||
# Add package needed
|
||||
#need to define the project name in hard to prevent some error in the config system :
|
||||
CONFIG___EWOL_APPL_NAME__="edn"
|
||||
|
||||
# Add package needed :
|
||||
# current user packages
|
||||
USER_PACKAGES =$(shell pwd)/Sources/
|
||||
# Add ewol packages :
|
||||
# Add ewol packages
|
||||
USER_PACKAGES+=$(shell realpath $(shell pwd)/../ewol/Sources/)
|
||||
|
||||
# include basic makefile for EWOL
|
||||
# include basic makefile for ewol generic toolchain
|
||||
include $(shell pwd)/../ewol/Build/Makefile.mk
|
||||
|
@ -37,21 +37,13 @@ LOCAL_CFLAGS := -DMODE_RELEASE \
|
||||
-DAPPL_VERSION_TAG_NAME="\"$(LOCAL_VERSION_TAG_SHORT)-$(BUILD_DIRECTORY_MODE)\""
|
||||
endif
|
||||
|
||||
LOCAL_COPY_FILES := ../share/color_white.xml:usr/share/$(LOCAL_MODULE)/color_white.xml \
|
||||
../share/color_black.xml:usr/share/$(LOCAL_MODULE)/color_black.xml \
|
||||
../share/lang_asm.xml:usr/share/$(LOCAL_MODULE)/lang_asm.xml \
|
||||
../share/lang_bash.xml:usr/share/$(LOCAL_MODULE)/lang_bash.xml \
|
||||
../share/lang_boo.xml:usr/share/$(LOCAL_MODULE)/lang_boo.xml \
|
||||
../share/lang_c.xml:usr/share/$(LOCAL_MODULE)/lang_c.xml \
|
||||
../share/lang_glsl.xml:usr/share/$(LOCAL_MODULE)/lang_glsl.xml \
|
||||
../share/lang_in.xml:usr/share/$(LOCAL_MODULE)/lang_in.xml \
|
||||
../share/lang_java.xml:usr/share/$(LOCAL_MODULE)/lang_java.xml \
|
||||
../share/lang_lua.xml:usr/share/$(LOCAL_MODULE)/lang_lua.xml \
|
||||
../share/lang_Makefile.xml:usr/share/$(LOCAL_MODULE)/lang_Makefile.xml \
|
||||
../share/lang_matlab.xml:usr/share/$(LOCAL_MODULE)/lang_matlab.xml \
|
||||
../share/lang_php.xml:usr/share/$(LOCAL_MODULE)/lang_php.xml \
|
||||
../share/lang_xml.xml:usr/share/$(LOCAL_MODULE)/lang_xml.xml
|
||||
LOCAL_COPY_FILES := \
|
||||
../share/Font/freefont/FreeSerif.ttf:usr/share/$(LOCAL_MODULE)/Font/freefont/FreeSerif.ttf
|
||||
|
||||
LOCAL_COPY_FOLDERS := \
|
||||
../share/*.xml:usr/share/$(LOCAL_MODULE) \
|
||||
../share/icon/*.svg:usr/share/$(LOCAL_MODULE)/icon \
|
||||
../share/Font/freefont/FreeMon*.ttf:usr/share/$(LOCAL_MODULE)/Font/freefont
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
|
@ -28,7 +28,6 @@ CONFIG_BUILD_LIBZIP=y
|
||||
#
|
||||
# CONFIG___VIDEO__OPENGL_ES_1 is not set
|
||||
CONFIG___VIDEO__OPENGL_ES_2=y
|
||||
CONFIG___EWOL_APPL_NAME__="edn"
|
||||
CONFIG___EWOL_APPL_BASIC_TITLE__="Edn : Sources Editor"
|
||||
CONFIG___EWOL_APPL_ORGANISATION_TYPE__="org"
|
||||
CONFIG___EWOL_APPL_COMPAGNY__="Edouard DUPIN"
|
||||
|
@ -39,7 +39,6 @@ CONFIG_APPL_BUFFER_FONT_NORMAL=y
|
||||
#
|
||||
# CONFIG___VIDEO__OPENGL_ES_1 is not set
|
||||
CONFIG___VIDEO__OPENGL_ES_2=y
|
||||
CONFIG___EWOL_APPL_NAME__="edn"
|
||||
CONFIG___EWOL_APPL_BASIC_TITLE__="Edn : Sources Code Editor"
|
||||
CONFIG___EWOL_APPL_ORGANISATION_TYPE__="org"
|
||||
CONFIG___EWOL_APPL_COMPAGNY__="Unknow"
|
||||
|
@ -2,9 +2,8 @@
|
||||
|
||||
#really simple to install
|
||||
echo "- copy binary /usr/bin/edn"
|
||||
sudo cp -vf out/Linux/release/obj/edn/edn /usr/bin/edn
|
||||
sudo chmod 777 /usr/bin/edn
|
||||
sudo cp -vf out/Linux/release/staging/usr/bin/edn /usr/bin/edn
|
||||
sudo mkdir -p /usr/share/edn
|
||||
echo "- Remove the folder /usr/share/edn/*"
|
||||
sudo rm -rf /usr/share/edn/*
|
||||
sudo cp -rfv share/* /usr/share/edn/
|
||||
sudo cp -rfv out/Linux/release/staging/usr/share/* /usr/share/
|
||||
|
Loading…
x
Reference in New Issue
Block a user