diff options
| author | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-21 10:18:14 -0400 |
|---|---|---|
| committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-09-21 10:18:14 -0400 |
| commit | 91fa47964165a42401fbc1f41caa63ab78564305 (patch) | |
| tree | 8f4ffdcbdedd845563630c3bcacd9407c75ccb52 /scripts/Makefile.headersinst | |
| parent | 56965536b8056f57830219efbba4b85218d96d6c (diff) | |
| parent | e478bec0ba0a83a48a0f6982934b6de079e7e6b3 (diff) | |
Merge branch 'master' into gfs2
Diffstat (limited to 'scripts/Makefile.headersinst')
| -rw-r--r-- | scripts/Makefile.headersinst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index aa9990a3ccd6..12e1daf875c8 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst | |||
| @@ -93,14 +93,14 @@ STUBDEF=__ASM_STUB_`echo $@ | tr a-z. A-Z_`; \ | |||
| 93 | echo "\#ifndef $$STUBDEF" ; \ | 93 | echo "\#ifndef $$STUBDEF" ; \ |
| 94 | echo "\#define $$STUBDEF" ; \ | 94 | echo "\#define $$STUBDEF" ; \ |
| 95 | echo "\# if $(ARCHDEF)" ; \ | 95 | echo "\# if $(ARCHDEF)" ; \ |
| 96 | if [ -r $(srctree)/include/$(archasm)/$@ ]; then \ | 96 | if [ -r $(INSTALL_HDR_PATH)/include/$(archasm)/$@ ]; then \ |
| 97 | echo "\# include <$(archasm)/$@>" ; \ | 97 | echo "\# include <$(archasm)/$@>" ; \ |
| 98 | else \ | 98 | else \ |
| 99 | echo "\# error $(archasm)/$@ does not exist in" \ | 99 | echo "\# error $(archasm)/$@ does not exist in" \ |
| 100 | "the $(ARCH) architecture" ; \ | 100 | "the $(ARCH) architecture" ; \ |
| 101 | fi ; \ | 101 | fi ; \ |
| 102 | echo "\# elif $(ALTARCHDEF)" ; \ | 102 | echo "\# elif $(ALTARCHDEF)" ; \ |
| 103 | if [ -r $(srctree)/include/$(altarchasm)/$@ ]; then \ | 103 | if [ -r $(INSTALL_HDR_PATH)/include/$(altarchasm)/$@ ]; then \ |
| 104 | echo "\# include <$(altarchasm)/$@>" ; \ | 104 | echo "\# include <$(altarchasm)/$@>" ; \ |
| 105 | else \ | 105 | else \ |
| 106 | echo "\# error $(altarchasm)/$@ does not exist in" \ | 106 | echo "\# error $(altarchasm)/$@ does not exist in" \ |
| @@ -149,7 +149,9 @@ endif | |||
| 149 | hdrinst := -rR -f $(srctree)/scripts/Makefile.headersinst obj | 149 | hdrinst := -rR -f $(srctree)/scripts/Makefile.headersinst obj |
| 150 | 150 | ||
| 151 | .PHONY: altarch-dir | 151 | .PHONY: altarch-dir |
| 152 | altarch-dir: | 152 | # All the files in the normal arch dir must be created first, since we test |
| 153 | # for their existence. | ||
| 154 | altarch-dir: $(subdir-y) $(header-y) $(unifdef-y) $(objhdr-y) | ||
| 153 | $(Q)$(MAKE) $(hdrinst)=include/asm-$(ALTARCH) dst=include/asm-$(ALTARCH) | 155 | $(Q)$(MAKE) $(hdrinst)=include/asm-$(ALTARCH) dst=include/asm-$(ALTARCH) |
| 154 | $(Q)$(MAKE) $(hdrinst)=include/asm dst=include/asm | 156 | $(Q)$(MAKE) $(hdrinst)=include/asm dst=include/asm |
| 155 | 157 | ||
