summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-02 06:54:05 (GMT)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-05-02 06:54:05 (GMT)
commitcde74d4ade7cb739a35a0cfc3e3e3465a9b14669 (patch)
tree1e1ecf472831191b110cbf8447643bf7bf11d89d /mk
parentea8f054f819ba3461bf2caeb0a840476ee021d6a (diff)
parent7fddef375385fb46a27507472a5f9ca8b1d66fab (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk6
-rw-r--r--mk/vars.mk2
2 files changed, 3 insertions, 5 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 992a967..8bec78b 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -561,13 +561,13 @@ buildall:
$(GMAKE) ADK_VERBOSE=1 all 2>&1 | tee firmware/buildall.log
$(ADK_TOPDIR)/adk/tools/pkgmaker: $(ADK_TOPDIR)/adk/tools/pkgmaker.c $(ADK_TOPDIR)/adk/tools/sortfile.c $(ADK_TOPDIR)/adk/tools/strmap.c
- @$(HOST_CC) -O0 -g0 -o $@ adk/tools/pkgmaker.c adk/tools/sortfile.c adk/tools/strmap.c
+ @$(HOST_CC) $(HOST_CFLAGS) -o $@ adk/tools/pkgmaker.c adk/tools/sortfile.c adk/tools/strmap.c
$(ADK_TOPDIR)/adk/tools/pkgrebuild: $(ADK_TOPDIR)/adk/tools/pkgrebuild.c $(ADK_TOPDIR)/adk/tools/strmap.c
- @$(HOST_CC) -O0 -g0 -o $@ adk/tools/pkgrebuild.c adk/tools/strmap.c
+ @$(HOST_CC) $(HOST_CFLAGS) -o $@ adk/tools/pkgrebuild.c adk/tools/strmap.c
$(ADK_TOPDIR)/adk/tools/depmaker: $(ADK_TOPDIR)/adk/tools/depmaker.c
- @$(HOST_CC) -O0 -g0 -o $@ $(ADK_TOPDIR)/adk/tools/depmaker.c
+ @$(HOST_CC) $(HOST_CFLAGS) -o $@ $(ADK_TOPDIR)/adk/tools/depmaker.c
menu .menu: $(wildcard package/*/Makefile) $(wildcard target/*/systems) $(wildcard target/*/systems/*) $(ADK_TOPDIR)/adk/tools/pkgmaker $(ADK_TOPDIR)/adk/tools/pkgrebuild $(wildcard target/appliances/*)
@echo "Generating menu structure ..."
diff --git a/mk/vars.mk b/mk/vars.mk
index e73cdc6..3dc5194 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -280,8 +280,6 @@ endif
# host compiler and linker flags
HOST_CPPFLAGS:= -I$(STAGING_HOST_DIR)/usr/include
-HOST_CFLAGS:= -O0 -g0
-HOST_CXXFLAGS:= -O0 -g0
HOST_LDFLAGS:= -L$(STAGING_HOST_DIR)/usr/lib -Wl,-rpath -Wl,${STAGING_HOST_DIR}/usr/lib
PATCH= PATH='${HOST_PATH}' ${BASH} $(SCRIPT_DIR)/patch.sh