mirror of
https://github.com/troglobit/finit.git
synced 2026-11-29 21:08:21 +00:00
1 parent
2e7952645a
commit
a52c932085
1 file changed
+5
-4
@@ -19,13 +19,10 @@ BINS = finit finit-mod finit-mdv
|
|||||||
# Add -DDEBUG to build with debug messages, also drops to terminal after X
|
# Add -DDEBUG to build with debug messages, also drops to terminal after X
|
||||||
#CFLAGS += -DDEBUG
|
#CFLAGS += -DDEBUG
|
||||||
|
|
||||||
# Parameters added by Metalshark
|
|
||||||
|
|
||||||
# Use -march=pentium-m to build for Eeepc
|
# Use -march=pentium-m to build for Eeepc
|
||||||
CFLAGS += -march=pentium-m
|
CFLAGS += -march=pentium-m
|
||||||
|
|
||||||
# Omit the first /sbin/hwclock if CONFIG_RTC_HCTOSYS is enabled in the kernel
|
# Omit the first /sbin/hwclock if CONFIG_RTC_HCTOSYS is enabled in the kernel
|
||||||
|
|
||||||
#CFLAGS += -DNO_HCTOSYS
|
#CFLAGS += -DNO_HCTOSYS
|
||||||
|
|
||||||
# Append –directisa to /sbin/hwclock lines if the user has disabled
|
# Append –directisa to /sbin/hwclock lines if the user has disabled
|
||||||
@@ -36,11 +33,14 @@ CFLAGS += -march=pentium-m
|
|||||||
# Use built-in run-parts instead of /bin/run-parts
|
# Use built-in run-parts instead of /bin/run-parts
|
||||||
CFLAGS += -DBUILTIN_RUNPARTS
|
CFLAGS += -DBUILTIN_RUNPARTS
|
||||||
|
|
||||||
|
#### End of configurable parameters
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ifneq ($(USER), "user")
|
ifneq ($(USER), "user")
|
||||||
CFLAGS += -DDEFUSER=\"$(USER)\"
|
CFLAGS += -DDEFUSER=\"$(USER)\"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -c $(CFLAGS) -o $*.o $<
|
$(CC) -c $(CFLAGS) -o $*.o $<
|
||||||
|
|
||||||
@@ -77,3 +77,4 @@ dist:
|
|||||||
tar cf - $(PKG) | gzip -c > $(PKG).tar.gz
|
tar cf - $(PKG) | gzip -c > $(PKG).tar.gz
|
||||||
rm -Rf $(PKG)
|
rm -Rf $(PKG)
|
||||||
ls -l $(PKG).tar.gz
|
ls -l $(PKG).tar.gz
|
||||||
|
|
||||||
Reference in new issue
Block a user