Skip to content

Commit

Permalink
change default target so that building a debian package works correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed Jan 25, 2014
1 parent 9e3c452 commit 04254fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -556,7 +556,7 @@ endif # $(dot-config)
# command line. # command line.
# This allow a user to issue only 'make' to build a kernel including modules # This allow a user to issue only 'make' to build a kernel including modules
# Defaults to vmlinux, but the arch makefile usually adds further targets # Defaults to vmlinux, but the arch makefile usually adds further targets
all: vmlinux all: uImage modules


ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += -Os KBUILD_CFLAGS += -Os
Expand Down
2 changes: 1 addition & 1 deletion scripts/package/Makefile
Expand Up @@ -96,7 +96,7 @@ quiet_cmd_builddeb = BUILDDEB
$(srctree)/scripts/package/builddeb $(srctree)/scripts/package/builddeb


deb-pkg: FORCE deb-pkg: FORCE
$(MAKE) uImage KBUILD_SRC= $(MAKE) KBUILD_SRC=
$(call cmd,builddeb) $(call cmd,builddeb)


clean-dirs += $(objtree)/debian/ clean-dirs += $(objtree)/debian/
Expand Down

0 comments on commit 04254fb

Please sign in to comment.