diff options
author | Matthias Badaire <mbadaire@mandriva.com> | 2001-05-30 14:31:23 +0000 |
---|---|---|
committer | Matthias Badaire <mbadaire@mandriva.com> | 2001-05-30 14:31:23 +0000 |
commit | 0879c2dadfe9f6998bdcddf837918ed8617d17b4 (patch) | |
tree | 29d89b91ab9935e390efcf1739a7867b8ea2d8c3 /mdk-stage1/insmod-modutils/obj | |
parent | d8b95b8592b512c3bc036cb2df9745e39104490d (diff) | |
download | drakx-backup-do-not-use-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar drakx-backup-do-not-use-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar.gz drakx-backup-do-not-use-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar.bz2 drakx-backup-do-not-use-0879c2dadfe9f6998bdcddf837918ed8617d17b4.tar.xz drakx-backup-do-not-use-0879c2dadfe9f6998bdcddf837918ed8617d17b4.zip |
- allow build on ia64
- have CFLAGS centralized in Makefile.common (should help ports such as alpha)
- better looking sub makefiles
Diffstat (limited to 'mdk-stage1/insmod-modutils/obj')
-rw-r--r-- | mdk-stage1/insmod-modutils/obj/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mdk-stage1/insmod-modutils/obj/Makefile b/mdk-stage1/insmod-modutils/obj/Makefile index 9bcf8bac8..34b5df2d9 100644 --- a/mdk-stage1/insmod-modutils/obj/Makefile +++ b/mdk-stage1/insmod-modutils/obj/Makefile @@ -19,7 +19,9 @@ clean: rm -f *.o *.a -FLAGS = -c -Wall -Os -fomit-frame-pointer -I./../include -D_GNU_SOURCE -DELF_MACHINE_H='"elf_$(ARCH).h"' -DARCH_$(ARCH) -DCONFIG_ROOT_CHECK_OFF=0 +INCS = -I./../include + +DEFS = -D_GNU_SOURCE -DELF_MACHINE_H='"elf_$(ARCH).h"' -DARCH_$(ARCH) -DCONFIG_ROOT_CHECK_OFF=0 OBJS = obj_kallsyms.o obj_common.o obj_load.o obj_reloc.o obj_$(ARCH).o @@ -28,4 +30,4 @@ libobj.a: $(OBJS) ranlib $@ .c.o: - gcc $(FLAGS) $(GLIBC_INCLUDES) -c $< + gcc $(CFLAGS) $(DEFS) $(INCS) $(GLIBC_INCLUDES) -c $< |