Skip to content
Browse files

Add recursive makefiles to build the application in debug mode for ARM

  • Loading branch information...
1 parent d225b80 commit f47391e6e9ad7be8b11bf4a06250c44fa11a9e39 @hungc hungc committed Sep 28, 2012
Showing with 45 additions and 0 deletions.
  1. +8 −0 Makefile
  2. +8 −0 arm/Makefile
  3. +1 −0 arm/o-le-v7-g/Makefile
  4. +28 −0 common.mk
  5. 0 json_parser.use
View
8 Makefile
@@ -0,0 +1,8 @@
+LIST=CPU
+ifndef QRECURSE
+QRECURSE=recurse.mk
+ifdef QCONFIG
+QRDIR=$(dir $(QCONFIG))
+endif
+endif
+include $(QRDIR)$(QRECURSE)
View
8 arm/Makefile
@@ -0,0 +1,8 @@
+LIST=VARIANT
+ifndef QRECURSE
+QRECURSE=recurse.mk
+ifdef QCONFIG
+QRDIR=$(dir $(QCONFIG))
+endif
+endif
+include $(QRDIR)$(QRECURSE)
View
1 arm/o-le-v7-g/Makefile
@@ -0,0 +1 @@
+include ../../common.mk
View
28 common.mk
@@ -0,0 +1,28 @@
+ifndef QCONFIG
+QCONFIG=qconfig.mk
+endif
+include $(QCONFIG)
+
+#####################################
+# Preset make macros go here
+#####################################
+
+EXTRA_SRCVPATH+=$(PROJECT_ROOT)/
+
+EXTRA_INCVPATH+=$(PRODUCT_ROOT)/
+
+# Use same flags from Jamfile to make a shared library
+CCFLAGS +=
+
+define PINFO
+PINFO DESCRIPTION=JSON_Parser
+endef
+INSTALLDIR=usr/bin
+
+NAME=json_parser
+
+include $(MKFILES_ROOT)/qtargets.mk
+
+#####################################
+# Post-set make macros go here
+#####################################
View
0 json_parser.use
No changes.

0 comments on commit f47391e

Please sign in to comment.
Something went wrong with that request. Please try again.