jffs2: Do not use command line defines

Update #3375.
This commit is contained in:
Sebastian Huber
2018-03-27 13:01:56 +02:00
parent 3ef7e7440b
commit 6ac6a5c866
21 changed files with 40 additions and 2 deletions

View File

@@ -139,8 +139,6 @@ libjffs2_a_CFLAGS =
libjffs2_a_CFLAGS += -Wno-pointer-sign
libjffs2_a_CPPFLAGS =
libjffs2_a_CPPFLAGS += $(AM_CPPFLAGS) -I$(srcdir)/src/jffs2/include
libjffs2_a_CPPFLAGS += -D__ECOS
libjffs2_a_CPPFLAGS += '-DKBUILD_MODNAME="JFFS2"'
# ---
include $(top_srcdir)/automake/subdirs.am

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
//==========================================================================
//
// crc32.c

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -0,0 +1,2 @@
#define __ECOS 1
#define KBUILD_MODNAME "JFFS2"

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*

View File

@@ -1,3 +1,5 @@
#include "rtems-jffs2-config.h"
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*