Browse files

Define the default target before reading .repo/Makefile.extra

I need to add extra options and rules in my Makefile, but I want the
default make target to stay the same (so that I don't have to edit my
file if we change the content of the default target).

Change-Id: I258fc1be6dfb7ed4b3d0a954af2211fe1adedde8
Tested-by: Aliaksey Kandratsenka <>
Reviewed-by: Aliaksey Kandratsenka <>
  • Loading branch information...
1 parent 4025b3c commit 9ad61b092e22d16b52d66173d187a541b1532558 @trondn trondn committed with alk Mar 11, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
4 Makefile
@@ -31,13 +31,13 @@ else
LIBRARY_OPTIONS := --disable-static --enable-shared
+all: do-install-all dev-symlink build-ns_server
# this thing can override settings and add components
ifneq "$(realpath .repo/Makefile.extra)" ""
include .repo/Makefile.extra
-all: do-install-all dev-symlink build-ns_server
do-install-all: $(MAKE_INSTALL_TARGETS)

0 comments on commit 9ad61b0

Please sign in to comment.