diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-21 07:41:41 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-21 07:41:41 +0200 |
commit | 90f603e2be40d996c421ae8e95464e38911eabaf (patch) | |
tree | a3a8aa942a9acf078eed1333404de22aaa106219 /package/Makefile | |
parent | f9292cf478867567f80ad270d4351e9a48ef4d06 (diff) |
s/TOPDIR/ADK_TOPDIR/
to avoid namespace collisions in some packages, rename TOPDIR.
Sorry you need to make cleandir && make prereq && make
Diffstat (limited to 'package/Makefile')
-rw-r--r-- | package/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package/Makefile b/package/Makefile index c1c2cd241..5b7b471c0 100644 --- a/package/Makefile +++ b/package/Makefile @@ -3,7 +3,7 @@ # Main makefile for the packages -include $(TOPDIR)/rules.mk +include $(ADK_TOPDIR)/rules.mk ifeq (${ADK_TARGET_LIB_GLIBC},y) package-$(ADK_PACKAGE_GLIBC) += glibc @@ -23,7 +23,7 @@ endif package-$(ADK_PACKAGE_LIBPTHREAD) += libpthread -include $(TOPDIR)/package/Depends.mk +include $(ADK_TOPDIR)/package/Depends.mk COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y)) HOST_COMPILE_PACKAGES:=$(patsubst %,%-host-compile,$(hostpackage-y)) @@ -55,9 +55,9 @@ endif %-compile: $(START_TRACE) "package/$(patsubst %-compile,%,$@)-compile: " - @if test -f $(TOPDIR)/.rebuild.$(patsubst %-compile,%,$@); then \ + @if test -f $(ADK_TOPDIR)/.rebuild.$(patsubst %-compile,%,$@); then \ $(MAKE) -C $(patsubst %-compile,%,$@) clean ; \ - rm $(TOPDIR)/.rebuild.$(patsubst %-compile,%,$@) ; \ + rm $(ADK_TOPDIR)/.rebuild.$(patsubst %-compile,%,$@) ; \ fi $(MAKE) -C $(patsubst %-compile,%,$@) fake build-all-pkgs $(CMD_TRACE) " done" |