diff options
Diffstat (limited to 'scripts/package')
-rw-r--r-- | scripts/package/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/package/Makefile b/scripts/package/Makefile index c201ef001f09..d3038b7643ae 100644 --- a/scripts/package/Makefile +++ b/scripts/package/Makefile | |||
@@ -32,7 +32,7 @@ MKSPEC := $(srctree)/scripts/package/mkspec | |||
32 | PREV := set -e; cd ..; | 32 | PREV := set -e; cd ..; |
33 | 33 | ||
34 | # rpm-pkg | 34 | # rpm-pkg |
35 | .PHONY: rpm-pkg rpm | 35 | PHONY += rpm-pkg rpm |
36 | 36 | ||
37 | $(objtree)/kernel.spec: $(MKSPEC) $(srctree)/Makefile | 37 | $(objtree)/kernel.spec: $(MKSPEC) $(srctree)/Makefile |
38 | $(CONFIG_SHELL) $(MKSPEC) > $@ | 38 | $(CONFIG_SHELL) $(MKSPEC) > $@ |
@@ -54,10 +54,10 @@ rpm-pkg rpm: $(objtree)/kernel.spec | |||
54 | clean-files := $(objtree)/kernel.spec | 54 | clean-files := $(objtree)/kernel.spec |
55 | 55 | ||
56 | # binrpm-pkg | 56 | # binrpm-pkg |
57 | .PHONY: binrpm-pkg | 57 | PHONY += binrpm-pkg |
58 | $(objtree)/binkernel.spec: $(MKSPEC) $(srctree)/Makefile | 58 | $(objtree)/binkernel.spec: $(MKSPEC) $(srctree)/Makefile |
59 | $(CONFIG_SHELL) $(MKSPEC) prebuilt > $@ | 59 | $(CONFIG_SHELL) $(MKSPEC) prebuilt > $@ |
60 | 60 | ||
61 | binrpm-pkg: $(objtree)/binkernel.spec | 61 | binrpm-pkg: $(objtree)/binkernel.spec |
62 | $(MAKE) KBUILD_SRC= | 62 | $(MAKE) KBUILD_SRC= |
63 | set -e; \ | 63 | set -e; \ |
@@ -72,7 +72,7 @@ clean-files += $(objtree)/binkernel.spec | |||
72 | # Deb target | 72 | # Deb target |
73 | # --------------------------------------------------------------------------- | 73 | # --------------------------------------------------------------------------- |
74 | # | 74 | # |
75 | .PHONY: deb-pkg | 75 | PHONY += deb-pkg |
76 | deb-pkg: | 76 | deb-pkg: |
77 | $(MAKE) KBUILD_SRC= | 77 | $(MAKE) KBUILD_SRC= |
78 | $(CONFIG_SHELL) $(srctree)/scripts/package/builddeb | 78 | $(CONFIG_SHELL) $(srctree)/scripts/package/builddeb |
@@ -82,7 +82,7 @@ clean-dirs += $(objtree)/debian/ | |||
82 | 82 | ||
83 | # tarball targets | 83 | # tarball targets |
84 | # --------------------------------------------------------------------------- | 84 | # --------------------------------------------------------------------------- |
85 | .PHONY: tar%pkg | 85 | PHONY += tar%pkg |
86 | tar%pkg: | 86 | tar%pkg: |
87 | $(MAKE) KBUILD_SRC= | 87 | $(MAKE) KBUILD_SRC= |
88 | $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@ | 88 | $(CONFIG_SHELL) $(srctree)/scripts/package/buildtar $@ |