summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/insmod-busybox/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-12-07 23:15:22 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-12-07 23:15:22 +0000
commit71d6a65fa155d25fc325d6a9b83a746f5845922e (patch)
tree6cd57695ffaf8cefa1d4bacfea4bb4510db2195c /mdk-stage1/insmod-busybox/Makefile
parent79ccb1852b0424d003cfbf6d3985aebf6b831cb1 (diff)
downloaddrakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar.gz
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar.bz2
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.tar.xz
drakx-backup-do-not-use-71d6a65fa155d25fc325d6a9b83a746f5845922e.zip
add insmod from busybox (i386 only)
Diffstat (limited to 'mdk-stage1/insmod-busybox/Makefile')
-rw-r--r--mdk-stage1/insmod-busybox/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/mdk-stage1/insmod-busybox/Makefile b/mdk-stage1/insmod-busybox/Makefile
new file mode 100644
index 000000000..6ced68861
--- /dev/null
+++ b/mdk-stage1/insmod-busybox/Makefile
@@ -0,0 +1,37 @@
+ #******************************************************************************
+ #
+ # insmod from busybox (i386 only)
+ #
+ # $Id$
+ #
+ # Copyright (C) 1999,2000 by Lineo, inc.
+ #
+ #*****************************************************************************
+
+
+all: insmod libinsmod.a
+
+clean:
+ rm -f *.o insmod
+
+FLAGS = -c -Wall -Os -fomit-frame-pointer -D_GNU_SOURCE -DBB_VER='"0.47"' -DBB_BT='"2000.12.06-14:02+0000"'
+
+insmod: insmod-frontend.o insmod.o utility-standalone.o
+ gcc -o $@ $^
+
+libinsmod.a: insmod.o utility.o
+ ar cru $@ $^
+ ranlib $@
+
+insmod-frontend.o: insmod-frontend.c busybox.h
+ gcc $(FLAGS) insmod-frontend.c
+
+utility.o: utility.c busybox.h
+ gcc $(FLAGS) utility.c
+
+utility-standalone.o: utility.c busybox.h
+ gcc $(FLAGS) -o $@ -D_STANDALONE_ utility.c
+
+insmod.o: insmod.c busybox.h
+ gcc $(FLAGS) insmod.c
+