mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
A few cflags and comment fixups
This commit is contained in:
parent
54e098e40b
commit
075633e2ca
@ -17,7 +17,8 @@ $(GENEXT2_DIR): $(DL_DIR)/$(GENEXT2_SOURCE) $(GENEXT2_PATCH)
|
|||||||
cat $(GENEXT2_PATCH) | patch -p1 -d $(GENEXT2_DIR)
|
cat $(GENEXT2_PATCH) | patch -p1 -d $(GENEXT2_DIR)
|
||||||
|
|
||||||
$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)
|
$(GENEXT2_DIR)/genext2fs: $(GENEXT2_DIR)
|
||||||
$(MAKE) CFLAGS="-Wall -O2 -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64" -C $(GENEXT2_DIR);
|
$(MAKE) CFLAGS="Wall -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
|
||||||
|
-D_FILE_OFFSET_BITS=64" -C $(GENEXT2_DIR);
|
||||||
touch -c $(GENEXT2_DIR)/genext2fs
|
touch -c $(GENEXT2_DIR)/genext2fs
|
||||||
|
|
||||||
genext2fs: $(GENEXT2_DIR)/genext2fs
|
genext2fs: $(GENEXT2_DIR)/genext2fs
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Linux kernel targets
|
# Linux kernel targets
|
||||||
#
|
#
|
||||||
# Note: If you have any patched to apply, create the directory
|
# Note: If you have any patches to apply, create the directory
|
||||||
# sources/kernel-patches and put your patches in there and number
|
# sources/kernel-patches and put your patches in there and number
|
||||||
# them in the order you wish to apply them... i.e.
|
# them in the order you wish to apply them... i.e.
|
||||||
#
|
#
|
||||||
@ -12,6 +12,7 @@
|
|||||||
# sources/kernel-patches/030-lowlatency-mini.bz2
|
# sources/kernel-patches/030-lowlatency-mini.bz2
|
||||||
# sources/kernel-patches/031-lowlatency-fixes-5.bz2
|
# sources/kernel-patches/031-lowlatency-fixes-5.bz2
|
||||||
# sources/kernel-patches/099-shutup.bz2
|
# sources/kernel-patches/099-shutup.bz2
|
||||||
|
# etc...
|
||||||
#
|
#
|
||||||
# these patches will all be applied by the patch-kernel.sh
|
# these patches will all be applied by the patch-kernel.sh
|
||||||
# script (which will also abort the build if it finds rejects)
|
# script (which will also abort the build if it finds rejects)
|
||||||
|
@ -10,7 +10,7 @@ MKDOSFS_CAT:=zcat
|
|||||||
MKDOSFS_BINARY:=mkdosfs/mkdosfs
|
MKDOSFS_BINARY:=mkdosfs/mkdosfs
|
||||||
MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
|
MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
|
||||||
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
|
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
|
||||||
MKDOSFS_CFLAGS="-Os -g -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64"
|
MKDOSFS_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
else
|
else
|
||||||
MKDOSFS_CFLAGS="-Os -g"
|
MKDOSFS_CFLAGS="-Os -g"
|
||||||
endif
|
endif
|
||||||
|
@ -8,10 +8,11 @@ NEWT_SITE=http://ftp.debian.org/debian/pool/main/n/newt
|
|||||||
NEWT_DIR=$(BUILD_DIR)/newt-0.50.17
|
NEWT_DIR=$(BUILD_DIR)/newt-0.50.17
|
||||||
NEWT_PATCH=$(SOURCE_DIR)/newt.patch
|
NEWT_PATCH=$(SOURCE_DIR)/newt.patch
|
||||||
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
|
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
|
||||||
NEWT_CFLAGS="-Os -g -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64"
|
NEWT_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
else
|
else
|
||||||
NEWT_CFLAGS="-Os -g -fPIC"
|
NEWT_CFLAGS="-Os -g"
|
||||||
endif
|
endif
|
||||||
|
NEWT_CFLAGS+="-fPIC"
|
||||||
|
|
||||||
$(DL_DIR)/$(NEWT_SOURCE):
|
$(DL_DIR)/$(NEWT_SOURCE):
|
||||||
$(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)
|
$(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)
|
||||||
|
@ -7,10 +7,11 @@ ZLIB_SOURCE=zlib-1.1.4.tar.bz2
|
|||||||
ZLIB_SITE=http://telia.dl.sourceforge.net/sourceforge/libpng
|
ZLIB_SITE=http://telia.dl.sourceforge.net/sourceforge/libpng
|
||||||
ZLIB_DIR=$(BUILD_DIR)/zlib-1.1.4
|
ZLIB_DIR=$(BUILD_DIR)/zlib-1.1.4
|
||||||
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
|
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
|
||||||
ZLIB_CFLAGS="-Os -g -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64"
|
ZLIB_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
else
|
else
|
||||||
ZLIB_CFLAGS="-Os -g -fPIC"
|
ZLIB_CFLAGS="-Os -g"
|
||||||
endif
|
endif
|
||||||
|
ZLIB_CFLAGS+="-fPIC"
|
||||||
|
|
||||||
$(DL_DIR)/$(ZLIB_SOURCE):
|
$(DL_DIR)/$(ZLIB_SOURCE):
|
||||||
$(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE)
|
$(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user